mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
Deb.pm: Use dh sequencer in rules file; bump debhelper requirement to 10+
This commit is contained in:
@@ -459,7 +459,7 @@ sub prep {
|
|||||||
|
|
||||||
# Use debhelper v7
|
# Use debhelper v7
|
||||||
open (OUT, ">$dir/debian/compat") || die "$dir/debian/compat: $!";
|
open (OUT, ">$dir/debian/compat") || die "$dir/debian/compat: $!";
|
||||||
print OUT "7\n";
|
print OUT "10\n";
|
||||||
close OUT;
|
close OUT;
|
||||||
|
|
||||||
# A minimal rules file.
|
# A minimal rules file.
|
||||||
@@ -471,48 +471,35 @@ sub prep {
|
|||||||
|
|
||||||
PACKAGE=\$(shell dh_listpackages)
|
PACKAGE=\$(shell dh_listpackages)
|
||||||
|
|
||||||
build:
|
%:
|
||||||
dh_testdir
|
dh $@
|
||||||
|
|
||||||
clean:
|
override_dh_clean:
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
dh_clean -d
|
dh_clean -d
|
||||||
|
|
||||||
binary-indep: build
|
override_dh_auto_configure:
|
||||||
|
|
||||||
binary-arch: build
|
override_dh_auto_build:
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
dh_prep
|
|
||||||
dh_installdirs
|
|
||||||
|
|
||||||
dh_installdocs
|
override_dh_auto_install:
|
||||||
dh_installchangelogs
|
# Copy the packages's files.
|
||||||
|
|
||||||
# Copy the packages's files.
|
|
||||||
find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \\
|
find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \\
|
||||||
xargs -0 -r -i cp -a {} debian/\$(PACKAGE)
|
xargs -0 -r -i cp -a {} debian/\$(PACKAGE)
|
||||||
|
|
||||||
#
|
#
|
||||||
# If you need to move files around in debian/\$(PACKAGE) or do some
|
# If you need to move files around in debian/\$(PACKAGE) or do some
|
||||||
# binary patching, do it here
|
# binary patching, do it here
|
||||||
#
|
#
|
||||||
|
|
||||||
|
override_dh_strip:
|
||||||
# This has been known to break on some wacky binaries.
|
# This has been known to break on some wacky binaries.
|
||||||
# dh_strip
|
# dh_strip
|
||||||
dh_compress
|
|
||||||
$fixpermscomment dh_fixperms
|
override_dh_fixperms:
|
||||||
dh_makeshlibs
|
$fixpermscomment dh_fixperms
|
||||||
dh_installdeb
|
|
||||||
-dh_shlibdeps
|
override_dh_shlibdeps:
|
||||||
dh_gencontrol
|
-dh_shlibdeps
|
||||||
dh_md5sums
|
|
||||||
dh_builddeb
|
|
||||||
|
|
||||||
binary: binary-indep binary-arch
|
|
||||||
.PHONY: build clean binary-indep binary-arch binary
|
|
||||||
EOF
|
EOF
|
||||||
close OUT;
|
close OUT;
|
||||||
$this->do("chmod", 755, "$dir/debian/rules");
|
$this->do("chmod", 755, "$dir/debian/rules");
|
||||||
|
|||||||
2
debian/control
vendored
2
debian/control
vendored
@@ -10,7 +10,7 @@ Homepage: http://kitenet.net/~joey/code/alien/
|
|||||||
|
|
||||||
Package: alien
|
Package: alien
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: debhelper (>= 7), ${misc:Depends}, ${perl:Depends}, rpm (>= 2.4.4-2), dpkg-dev, make, cpio, rpm2cpio
|
Depends: debhelper (>= 10), ${misc:Depends}, ${perl:Depends}, rpm (>= 2.4.4-2), dpkg-dev, make, cpio, rpm2cpio
|
||||||
Suggests: patch, bzip2, lintian, lzma
|
Suggests: patch, bzip2, lintian, lzma
|
||||||
Description: convert and install rpm and other packages
|
Description: convert and install rpm and other packages
|
||||||
Alien allows you to convert LSB, Red Hat, Stampede and Slackware Packages
|
Alien allows you to convert LSB, Red Hat, Stampede and Slackware Packages
|
||||||
|
|||||||
Reference in New Issue
Block a user