SPECS: python-PyPAM.spec - up to 0.5.0 - pythonize %build and %install - %f...
duddits
duddits at pld-linux.org
Sun Mar 15 16:09:01 CET 2009
Author: duddits Date: Sun Mar 15 15:09:01 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 0.5.0
- pythonize %build and %install
- %files
---- Files affected:
SPECS:
python-PyPAM.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: SPECS/python-PyPAM.spec
diff -u SPECS/python-PyPAM.spec:1.9 SPECS/python-PyPAM.spec:1.10
--- SPECS/python-PyPAM.spec:1.9 Fri Oct 3 19:58:39 2008
+++ SPECS/python-PyPAM.spec Sun Mar 15 16:08:55 2009
@@ -5,12 +5,12 @@
Summary: PAM bindings for Python
Summary(pl.UTF-8): Wiązania pythona do obsługi PAM
Name: python-%{module}
-Version: 0.4.2
-Release: 3
+Version: 0.5.0
+Release: 1
License: LGPL
Group: Development/Languages/Python
Source0: http://www.pangalactic.org/PyPAM/%{module}-%{version}.tar.gz
-# Source0-md5: 7e8c283cbd6e85e0bbff8e265a3db9e5
+# Source0-md5: f1e7c2c56421dda28a75ace59a3c8871
URL: http://www.pangalactic.org/PyPAM/
BuildRequires: pam-devel
BuildRequires: python-devel >= 1:2.3
@@ -29,23 +29,24 @@
sed -i -e 's#python1.5/Python.h#python%{py_ver}/Python.h#g' PAMmodule.c
%build
-%configure2_13
-%{__make}
+export CFLAGS="%{rpmcflags}"
+%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
- pyexecdir=%{py_sitedir} \
- DESTDIR=$RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README
+%doc ChangeLog NEWS README
%attr(755,root,root) %{py_sitedir}/PAMmodule.so
+%{py_sitedir}/PyPAM-%{version}-*.egg-info
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -53,6 +54,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2009/03/15 15:08:55 duddits
+- up to 0.5.0
+- pythonize %build and %install
+- %files
+
Revision 1.9 2008/10/03 17:58:39 arekm
- release 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-PyPAM.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list