]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
debian: make e2fsprogs-l10n be arch:all
authorTheodore Ts'o <tytso@mit.edu>
Mon, 4 Sep 2017 02:40:23 +0000 (22:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 4 Sep 2017 04:12:51 +0000 (00:12 -0400)
Addresses-Debian-Bug: 873813

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debian/control.in
debian/rules

index 0581fa192559daccd6bd280356648bc11c34b879..a8ba5f52c3a2161d12af0f9eac4e82eb132176bc 100644 (file)
@@ -38,7 +38,7 @@ Package: e2fsprogs-l10n
 Priority: extra
 Depends: e2fsprogs (= ${binary:Version}), ${misc:Depends}
 Replaces: e2fsprogs (<< 1.43.5-1)
-Architecture: any
+Architecture: all
 Description: ext2/ext3/ext4 file system utilities - translations
  The ext2, ext3 and ext4 file systems are successors of the original ext
  ("extended") file system. They are the main file system types used for
index d4ce5e5efa3ebcbfb98e52562ad113543bbd7276..a2eac6d6ee3b36edc5567dca04733d2cd47b2390 100755 (executable)
@@ -364,10 +364,22 @@ install-udeb: build
                ln -sf mke2fs mkfs.ext2 ; ln -sf mke2fs mkfs.ext3 ; \
                ln -sf mke2fs mkfs.ext4)
 
-binary-indep: 
-  # no arch-independant debs.
-
-binary-arch: DH_OPTIONS= -a
+binary-indep: install
+       dh_testdir
+       dh_testroot
+       dh_lintian -i
+       dh_installchangelogs -i
+       dh_fixperms -i
+       dh_compress -i
+       dh_installdeb -i
+       dh_gencontrol -i
+       dh_md5sums -i
+       dh_builddeb -i
+
+# binary-arch builds a superset of binary-indep.  This is because
+# building e2fsprogs-l10n.deb unnecessarily takes less time than
+# running the install recipe twice.  At some point when we rototill
+# the rules file we can clean this up in a better way.
 binary-arch: install $(INSTALL_UDEB)
        dh_testdir
        dh_testroot
@@ -470,7 +482,9 @@ endif
        dh_md5sums
        dh_builddeb
 
-binary: binary-indep binary-arch
+# binary-arch builds a superset of binary-indep.  See the comment
+# before the binary-arch rule for more details.
+binary: binary-arch
 
 .PHONY: binary binary-arch binary-indep clean checkroot mrproper \
        debug_flags debian-files