+# TODO
+# - bash-completions subpackage
%include /usr/lib/rpm/macros.perl
Summary: Scripts for Debian Package maintainers
Name: devscripts
-Version: 2.14.5
-Release: 2
+Version: 2.15.1
+Release: 1
License: GPL v2+
Group: Development
Source0: http://ftp.debian.org/debian/pool/main/d/devscripts/%{name}_%{version}.tar.xz
-# Source0-md5: 5271ab6e12349865dd7ab686f1010808
-# Fixes path to xsl-stylesheet manpages docbook.xsl
+# Source0-md5: 7c46c0f19205d2022184972ce6390a15
Patch0: %{name}_docbook.patch
-# Removes the debian-only --install-layout python-setuptools option
Patch1: %{name}_install-layout.patch
-# Install some additional man pages
Patch2: %{name}_install-man.patch
-URL: http://packages.debian.org/unstable/admin/devscripts
+URL: https://packages.debian.org/unstable/admin/devscripts
BuildRequires: docbook-style-xsl
BuildRequires: dpkg
BuildRequires: libxslt
%install
rm -rf $RPM_BUILD_ROOT
-%make_install \
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
LIBDIR=%{_libdir}/%{name}
# Install docs through %doc
+# Fixes path to xsl-stylesheet manpages docbook.xsl
diff -rupN devscripts-2.13.3/po4a/Makefile devscripts-2.13.3-new/po4a/Makefile
--- devscripts-2.13.3/po4a/Makefile 2013-08-16 02:01:22.000000000 +0200
+++ devscripts-2.13.3-new/po4a/Makefile 2013-09-19 18:03:22.092429895 +0200
+# Removes the debian-only --install-layout python-setuptools option
diff -rupN devscripts-2.13.3/scripts/Makefile devscripts-2.13.3-new/scripts/Makefile
--- devscripts-2.13.3/scripts/Makefile 2013-08-16 02:01:22.000000000 +0200
+++ devscripts-2.13.3-new/scripts/Makefile 2013-09-19 18:05:52.040168029 +0200
+# Install some additional man pages
diff -rupN devscripts-2.13.4/scripts/Makefile devscripts-2.13.4-new/scripts/Makefile
--- devscripts-2.13.4/scripts/Makefile 2013-09-20 00:55:41.000000000 +0200
+++ devscripts-2.13.4-new/scripts/Makefile 2013-10-17 17:21:02.612017885 +0200