move python files to libdir

This commit is contained in:
Tomas Mraz 2014-02-05 16:34:12 +01:00
parent ec8362e10e
commit cb1f0ab799

View File

@ -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@redhat.com> - 2.9.1-2
- move python files to libdir
* Mon Dec 9 2013 Tomáš Mráz <tmraz@redhat.com> - 2.9.1-1
- new upstream release