rpms/pygpgme/devel pygpgme.spec,1.18,1.19
Miloslav Trmac
mitr at fedoraproject.org
Thu Mar 4 18:55:05 UTC 2010
Author: mitr
Update of /cvs/pkgs/rpms/pygpgme/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22207
Modified Files:
pygpgme.spec
Log Message:
* Thu Mar 4 2010 Miloslav Trmač <mitr at redhat.com> - 0.1-19.20090824bzr68
- Filter out bogus Provides: _gpgme.so
- Drop no longer required references to BuildRoot:
- s/%%define/%%global/g
Index: pygpgme.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pygpgme/devel/pygpgme.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- pygpgme.spec 3 Feb 2010 18:01:56 -0000 1.18
+++ pygpgme.spec 4 Mar 2010 18:55:05 -0000 1.19
@@ -1,8 +1,8 @@
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: pygpgme
Version: 0.1
-Release: 18.20090824bzr68%{?dist}
+Release: 19.20090824bzr68%{?dist}
Summary: Python module for working with OpenPGP messages
Group: Development/Languages
@@ -24,10 +24,12 @@ Source0: pygpgme-0.1.tar.gz
# Patch to make generating a tarball (sdist) work. Applied prior to creating
# the Source0.
Source1: pygpgme-examples.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel
BuildRequires: gpgme-devel
+%filter_provides_in %{python_sitearch}/gpgme/_gpgme.so
+%filter_setup
+
%description
PyGPGME is a Python module that lets you sign, verify, encrypt and decrypt
files using the OpenPGP format. It is built on top of GNU Privacy Guard and
@@ -41,7 +43,6 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setu
%install
-rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
chmod 0755 $RPM_BUILD_ROOT%{python_sitearch}/gpgme/_gpgme.so
# No need to ship the tests
@@ -67,6 +68,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Mar 4 2010 Miloslav Trmač <mitr at redhat.com> - 0.1-19.20090824bzr68
+- Filter out bogus Provides: _gpgme.so
+- Drop no longer required references to BuildRoot:
+- s/%%define/%%global/g
+
* Wed Feb 3 2010 Miloslav Trmač <mitr at redhat.com> - 0.1-18.20090824bzr68
- Classify pygpgme-examples.patch as Source, not a Patch, to silence rpmlint
More information about the scm-commits
mailing list