[packages/devscripts] - rel 4; fix python3 paths

arekm arekm at pld-linux.org
Thu Dec 29 12:43:39 CET 2016


commit a2e2d5c716542e050df3548370dd0a441090299b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Dec 29 12:43:24 2016 +0100

    - rel 4; fix python3 paths

 devscripts.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/devscripts.spec b/devscripts.spec
index d0ad38f..81e6ac3 100644
--- a/devscripts.spec
+++ b/devscripts.spec
@@ -5,7 +5,7 @@
 Summary:	Scripts for Debian Package maintainers
 Name:		devscripts
 Version:	2.15.7
-Release:	3
+Release:	4
 License:	GPL v2+
 Group:		Development
 Source0:	http://ftp.debian.org/debian/pool/main/d/devscripts/%{name}_%{version}.tar.xz
@@ -70,6 +70,9 @@ bash-specific contructs.
 %{__sed} -i -e 's/libwww-perl/perl-libwww/g' scripts/*.pl
 %{__sed} -i -e 's/libdigest-md5-perl/perl-Digest-MD5/g' scripts/*.pl
 
+# python paths
+%{__sed} -i -e 's#setup.py install #setup.py install --prefix=%{_prefix} --install-purelib=%{py3_sitescriptdir} --install-platlib=%{py3_sitedir} #g' scripts/Makefile
+
 %build
 # LIBDIR determines where libvfork gets installed, see scripts/Makefile for LIBDIR
 %{__make} \
@@ -79,6 +82,9 @@ bash-specific contructs.
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_bindir}
+
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
 	LIBDIR=%{_libdir}/%{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/devscripts.git/commitdiff/a2e2d5c716542e050df3548370dd0a441090299b



More information about the pld-cvs-commit mailing list