mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-10 01:46:15 +00:00
Add epoch to gudev packages when building on Ubuntu
Ubuntu packaged the standalone gudev before it got merged into udev.
This commit is contained in:
parent
4f13c3718f
commit
f73debca49
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -7,6 +7,8 @@ systemd (218-1) UNRELEASED; urgency=medium
|
||||
* Configure with --enable-split-usr.
|
||||
* Merge some permanent Ubuntu changes, using dpkg-vendor:
|
||||
- Don't symlink udev doc directories.
|
||||
- Add epoch to gudev packages; Ubuntu packaged the standalone gudev before
|
||||
it got merged into udev.
|
||||
|
||||
-- Martin Pitt <mpitt@debian.org> Fri, 12 Dec 2014 20:32:32 +0200
|
||||
|
||||
|
||||
8
debian/rules
vendored
8
debian/rules
vendored
@ -4,6 +4,7 @@
|
||||
#export DEB_BUILD_OPTIONS="nostrip"
|
||||
|
||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
||||
VERSION = $(shell dpkg-parsechangelog | sed -n -e '/^Version:/s/.*: //p')
|
||||
|
||||
ifneq (,$(findstring stage1,$(DEB_BUILD_PROFILES)))
|
||||
BOOTSTRAP_DH_FLAGS := -Ngir1.2-gudev-1.0 -Nlibgudev-1.0-0 -Nlibgudev-1.0-dev
|
||||
@ -297,3 +298,10 @@ ifeq (,$(findstring stage1,$(DEB_BUILD_PROFILES)))
|
||||
else
|
||||
dh $@ --with autoreconf,python3 $(BOOTSTRAP_DH_FLAGS)
|
||||
endif
|
||||
|
||||
override_dh_gencontrol:
|
||||
# Ubuntu has an epoch on gudev
|
||||
if dpkg-vendor --is ubuntu; then \
|
||||
dh_gencontrol -plibgudev-1.0-0 -plibgudev-1.0-dev -pgir1.2-gudev-1.0 -- "-v1:$(VERSION)"; \
|
||||
fi
|
||||
dh_gencontrol --remaining-packages
|
||||
|
||||
Loading…
Reference in New Issue
Block a user