[dh-make] dh-make: update to latest upstream for Debian/wheezy

Oron Peled oron at fedoraproject.org
Thu May 23 06:32:02 UTC 2013


commit 9b8de07501827e917699a04d4f3643f4b2bf2d50
Author: Oron Peled <oron at actcom.co.il>
Date:   Thu May 23 09:27:49 2013 +0300

    dh-make: update to latest upstream for Debian/wheezy
    
    * Fix bug #716298
    * Also:
      - Update for 'dpkg >= 1.16.x' (Requires: dpkg-dev)
      - Don't install the whole ./debian/ directory as doc, only README.Debian
      - Fix permissions of all 'rules*' templates

 .gitignore   |    1 +
 dh-make.spec |   31 ++++++++++++++++---------------
 sources      |    2 +-
 3 files changed, 18 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7b46805..464970d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /dh-make_0.55.tar.gz
+/dh-make_0.61.tar.gz
diff --git a/dh-make.spec b/dh-make.spec
index 28e8da5..e65e7fe 100644
--- a/dh-make.spec
+++ b/dh-make.spec
@@ -1,8 +1,8 @@
 Name:           dh-make
 # Squeeze
-Version:       0.55
+Version:        0.61
 
-Release:        6%{?dist}
+Release:        1%{?dist}
 Summary:        Tool that converts source archives into Debian package source
 
 Group:          Development/Tools
@@ -12,9 +12,8 @@ Source0:        http://ftp.de.debian.org/debian/pool/main/d/%{name}/%{name}_%{ve
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildArch:      noarch
 
-#BuildRequires:
-#Requires:       debhelper
-Requires:       dpkg-devel
+Requires:       debhelper
+Requires:       dpkg-dev
 Requires:       %{_bindir}/make
 
 %description
@@ -23,7 +22,7 @@ package and convert it into a format that will allow you to build
 Debian packages.
 
 %prep
-%setup -q
+%setup -q -n %{name}
 
 %build
 
@@ -34,14 +33,10 @@ mkdir -p %{buildroot}/%{_bindir} %{buildroot}/%{_datadir}/debhelper/dh_make/
 install -m 755 dh_make %{buildroot}/%{_bindir}
 cp -a lib/* %{buildroot}/%{_datadir}/debhelper/dh_make/
 
-# One template rules file is missing exec permission
-# Should report a (minor) bug to upstream
-chmod a+x %{buildroot}/%{_datadir}/debhelper/dh_make/debiann/rules
-
-# Remove zero-length file
-rm -rf debian/examples
-# Remove spurious exec permissions (this goes to doc)
-chmod a-x debian/rules
+# Fix permissions of rules files
+find %{buildroot}/%{_datadir}/debhelper/dh_make \
+	-type f -name 'rules*' \
+	-exec chmod 755 '{}' ';'
 
 for file in postinst.ex postrm.ex emacsen-remove.ex prerm.ex \
             preinst.ex emacsen-install.ex; do
@@ -56,13 +51,19 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc debian/*
+%doc debian/README.Debian
 %{_bindir}/dh_make
 %{_mandir}/man1/*.1*
 %dir %{_datadir}/debhelper
 %{_datadir}/debhelper/dh_make
 
 %changelog
+* Thu May 23 2013 Oron Peled <oron at actcom.co.il> - 0.61-1
+- Upstream bumped to latest Debian/wheezy version
+- Update for 'dpkg >= 1.16.x' (Requires: dpkg-dev)
+- Don't install the whole ./debian/ directory as doc, only README.Debian
+- Fix permissions of all 'rules*' templates
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.55-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 8b2bba3..854f438 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-49fff405ef819c5a4fab37ade8a20b15  dh-make_0.55.tar.gz
+405aa44ae1422e7440ffc43c1646aece  dh-make_0.61.tar.gz


More information about the scm-commits mailing list