[cracklib] move python files to libdir

Tomáš Mráz tmraz at fedoraproject.org
Wed Feb 5 15:33:43 UTC 2014


commit cb1f0ab7997c77a281e0bdc815f23a63591a48b1
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Wed Feb 5 16:34:12 2014 +0100

    move python files to libdir

 cracklib.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/cracklib.spec b/cracklib.spec
index 8cfb716..f01c0f2 100644
--- a/cracklib.spec
+++ b/cracklib.spec
@@ -5,7 +5,7 @@
 Summary: A password-checking library
 Name: cracklib
 Version: 2.9.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: System Environment/Libraries
 Source0: http://prdownloads.sourceforge.net/cracklib/cracklib-%{version}.tar.gz
 
@@ -152,7 +152,7 @@ make
 %install
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -c -p" -C python
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -c -p" 'pythondir=${pyexecdir}' -C python
 ./util/cracklib-format cracklib-dicts/* | \
 ./util/cracklib-packer $RPM_BUILD_ROOT/%{dictpath}
 ./util/cracklib-format $RPM_BUILD_ROOT/%{dictdir}/cracklib-small | \
@@ -254,9 +254,12 @@ EOF
 %files python
 %defattr(-,root,root)
 %{_libdir}/python*/site-packages/_cracklib*.so
-%{_libdir}/../lib/python*/site-packages/*.py*
+%{_libdir}/python*/site-packages/*.py*
 
 %changelog
+* Wed Feb  5 2014 Tomáš Mráz <tmraz at redhat.com> - 2.9.1-2
+- move python files to libdir
+
 * Mon Dec  9 2013 Tomáš Mráz <tmraz at redhat.com> - 2.9.1-1
 - new upstream release
 


More information about the scm-commits mailing list