rpms/pygpgme/devel pygpgme.spec,1.9,1.10 sources,1.2,1.3
Toshio くらとみ
toshio at fedoraproject.org
Thu Jan 22 18:45:40 UTC 2009
- Previous message (by thread): rpms/yaboot/devel yaboot-relocatable-kernel.patch, NONE, 1.1 yaboot.spec, 1.56, 1.57
- Next message (by thread): rpms/scala/devel .cvsignore, 1.5, 1.6 scala-buildfile.patch, 1.2, 1.3 scala.spec, 1.5, 1.6 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: toshio
Update of /cvs/pkgs/rpms/pygpgme/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5488
Modified Files:
pygpgme.spec sources
Log Message:
* Wed Jan 21 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 0.1-10.20090121bzr54
- Update to upstream snapshot.
Index: pygpgme.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pygpgme/devel/pygpgme.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- pygpgme.spec 29 Nov 2008 04:43:11 -0000 1.9
+++ pygpgme.spec 22 Jan 2009 18:45:10 -0000 1.10
@@ -2,14 +2,29 @@
Name: pygpgme
Version: 0.1
-Release: 9%{?dist}
+Release: 10.20090121bzr54%{?dist}
Summary: Python module for working with OpenPGP messages
Group: Development/Languages
License: LGPLv2+
URL: http://cheeseshop.python.org/pypi/pygpgme/0.1
-Source0: http://cheeseshop.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
+# pygpgme is being developed for Ubuntu and built for Ubuntu out of
+# launchpad's source control. So we need to create snapshots.
+# At this time, updated packages from launchpad have fixed tests and support
+# for generating keys
+#
+# Steps to create snapshot:
+# bzr branch lp:pygpgme -r54
+# cd pygpgme
+# patch -p0 < ../pygpgme-examples.patch
+# python setup.py sdist
+# tarball is in dist/pygpgme-0.1.tar.gz
+Source0: pygpgme-0.1.tar.gz
+#Source0: http://cheeseshop.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
Patch0: pygpgme-0.1-py23.patch
+# Patch to make generating a tarball (sdist) work. Applied prior to creating
+# the Source0.
+Patch100: pygpgme-examples.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel
BuildRequires: gpgme-devel
@@ -31,21 +46,34 @@
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $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
-rm -rf $RPM_BUILD_ROOT%{python_sitearch}/gpgme/tests/
-
%clean
rm -rf $RPM_BUILD_ROOT
+### Can't enable the tests because they depend on importing a private key.
+# gpg2 on which our gpgme library depends does not import private keys so this
+# won't work. The issue in the real world is not so big as we don't
+# manipulate private keys outside of a keyring that often.
+#%check
+# Use the installed gpgme because it has the built compiled module
+#mv gpgme gpgme.bak
+#ln -s $RPM_BUILD_ROOT%{python_sitearch}/gpgme .
+#python test_all.py
%files
%defattr(-,root,root,-)
%doc README PKG-INFO
%{python_sitearch}/*
+# No need to ship the tests
+%exclude %{python_sitearch}/gpgme/tests/
+
%changelog
+* Wed Jan 21 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 0.1-10.20090121bzr54
+- Update to upstream snapshot.
+
* Fri Nov 28 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 0.1-9
- Rebuild for Python 2.6
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pygpgme/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 16 Oct 2006 18:30:02 -0000 1.2
+++ sources 22 Jan 2009 18:45:10 -0000 1.3
@@ -1 +1 @@
-0878d866b6ee8a98a9003a81934ecee3 pygpgme-0.1.tar.gz
+8e5abdf0ec34c48ad6f9a42697704917 pygpgme-0.1.tar.gz
- Previous message (by thread): rpms/yaboot/devel yaboot-relocatable-kernel.patch, NONE, 1.1 yaboot.spec, 1.56, 1.57
- Next message (by thread): rpms/scala/devel .cvsignore, 1.5, 1.6 scala-buildfile.patch, 1.2, 1.3 scala.spec, 1.5, 1.6 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list