SPECS: python-pygpgme.spec - BR: gpgme-devel, py 2.4 compatible
glen
glen at pld-linux.org
Sat Apr 26 00:41:48 CEST 2008
Author: glen Date: Fri Apr 25 22:41:48 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- BR: gpgme-devel, py 2.4 compatible
---- Files affected:
SPECS:
python-pygpgme.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/python-pygpgme.spec
diff -u SPECS/python-pygpgme.spec:1.1 SPECS/python-pygpgme.spec:1.2
--- SPECS/python-pygpgme.spec:1.1 Tue Feb 12 13:05:48 2008
+++ SPECS/python-pygpgme.spec Sat Apr 26 00:41:43 2008
@@ -8,7 +8,8 @@
Source0: http://pypi.python.org/packages/source/p/pygpgme/pygpgme-%{version}.tar.gz
# Source0-md5: 0878d866b6ee8a98a9003a81934ecee3
URL: https://launchpad.net/products/pygpgme
-BuildRequires: python-devel >= 1:2.5.0
+BuildRequires: python-devel >= 1:2.4
+BuildRequires: gpgme-devel
%pyrequires_eq python-modules
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,12 +25,11 @@
%install
rm -rf $RPM_BUILD_ROOT
-
python setup.py install \
--optimize=2 \
--root=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" | xargs rm
+%py_postclean
rm -rf $RPM_BUILD_ROOT%{py_sitedir}/gpgme/tests
%clean
@@ -37,10 +37,12 @@
%files
%defattr(644,root,root,755)
-%{py_sitedir}/pygpgme-%{version}-py*.egg-info
%dir %{py_sitedir}/gpgme
%attr(755,root,root) %{py_sitedir}/gpgme/_gpgme.so
%{py_sitedir}/gpgme/*.py[co]
+%if "%{py_ver}" > "2.4"
+%{py_sitedir}/pygpgme-%{version}-py*.egg-info
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -48,6 +50,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2008-04-25 22:41:43 glen
+- BR: gpgme-devel, py 2.4 compatible
+
Revision 1.1 2008-02-12 12:05:48 patrys
- initial release
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-pygpgme.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list