rpms/gnupg2/devel .cvsignore, 1.26, 1.27 gnupg2.spec, 1.83, 1.84 sources, 1.28, 1.29

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Wed Mar 26 17:16:09 UTC 2008


Author: rdieter

Update of /cvs/pkgs/rpms/gnupg2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23040

Modified Files:
	.cvsignore gnupg2.spec sources 
Log Message:
* Wed Mar 26 2008 Rex Dieter <rdieter at fedoraproject.org> 2.0.9-1
- gnupg2-2.0.9
- drop Provides: openpgp
- versioned Provides: gpg
- own /etc/gnupg



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gnupg2/devel/.cvsignore,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- .cvsignore	20 Dec 2007 16:07:56 -0000	1.26
+++ .cvsignore	26 Mar 2008 17:15:26 -0000	1.27
@@ -1,3 +1,2 @@
-clog
-gnupg-2.0.8.tar.bz2
-gnupg-2.0.8.tar.bz2.sig
+gnupg-2.0.9.tar.bz2
+gnupg-2.0.9.tar.bz2.sig


Index: gnupg2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnupg2/devel/gnupg2.spec,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- gnupg2.spec	1 Mar 2008 03:06:01 -0000	1.83
+++ gnupg2.spec	26 Mar 2008 17:15:26 -0000	1.84
@@ -1,8 +1,8 @@
 
 Summary: Utility for secure communication and data storage
 Name:    gnupg2
-Version: 2.0.8
-Release: 3%{?dist}
+Version: 2.0.9
+Release: 1%{?dist}
 
 License: GPLv3+
 Group:   Applications/System
@@ -28,6 +28,8 @@
 BuildRequires: openldap-devel
 %if 0%{?fedora} > 3 || 0%{?rhel} > 4
 BuildRequires: pcsc-lite-libs
+%else
+%define pcsclib libpcsclite.so.0
 %endif
 BuildRequires: pth-devel
 BuildRequires: readline-devel ncurses-devel
@@ -38,11 +40,8 @@
 Requires(hint): dirmngr
 Requires(hint): pinentry
 
-# ancient, deprecated
-#Obsoletes: newpg < 0.9.5
-
-Provides: gpg
-Provides: openpgp
+# pgp-tools, perl-GnuPG-Interface requires 'gpg' (not sure why) -- Rex
+Provides: gpg = %{version}-%{release}
 
 %description
 GnuPG is GNU's tool for secure communication and data storage.  It can
@@ -74,10 +73,8 @@
 # pcsc-lite library major: 0 in 1.2.0, 1 in 1.2.9+ (dlopen()'d in pcsc-wrapper)
 # Note: this is just the name of the default shared lib to load in scdaemon,
 # it can use other implementations too (including non-pcsc ones).
-%if 0%{?fedora} > 3 || 0%{?rhel} > 4
+%if "%{?pcsclib}" == "%{nil}"
 %global pcsclib %(basename $(ls -1 %{_libdir}/libpcsclite.so.? 2>/dev/null ) 2>/dev/null )
-%else
-%define pcsclib libpcsclite.so.0
 %endif
 
 sed -i -e 's/"libpcsclite\.so"/"%{pcsclib}"/' scd/{scdaemon,pcsc-wrapper}.c
@@ -97,18 +94,25 @@
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=%{buildroot} \
+  INSTALL="install -p"
 
 %find_lang %{name}
 
-# file conflicts with gnupg-1.x 
-rm -f $RPM_BUILD_ROOT%{_bindir}/{gpgsplit,gpg-zip} 
-rm -f $RPM_BUILD_ROOT%{_datadir}/gnupg/{FAQ,faq.html}
+# gpgconf.conf
+mkdir -p %{buildroot}%{_sysconfdir}/gnupg
+touch %{buildroot}%{_sysconfdir}/gnupg/gpgconf.conf
+
+## Unpackaged files
+# file conflicts with gnupg-1.x
+# shouldn't gnupg2 be providing these now (maybe only f9+)? -- Rex
+rm -f %{buildroot}%{_bindir}/{gpgsplit,gpg-zip} 
+rm -f %{buildroot}%{_datadir}/gnupg/{FAQ,faq.html}
 
-# Unpackaged files
-rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+# info dir
+rm -f %{buildroot}%{_infodir}/dir
 
 
 %check
@@ -130,6 +134,8 @@
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
+%dir %{_sysconfdir}/gnupg
+%ghost %config(noreplace) %{_sysconfdir}/gnupg/gpgconf.conf
 #docs say to install suid root, but we won't, for now.
 #attr(4755,root,root) %{_bindir}/gpg2
 %{_bindir}/gpg2
@@ -148,15 +154,21 @@
 %{_sbindir}/*
 %{_datadir}/gnupg/
 %{_libexecdir}/*
-%{_infodir}/*
+%{_infodir}/*.info*
 %{_mandir}/man?/*
 
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 
 %changelog
+* Wed Mar 26 2008 Rex Dieter <rdieter at fedoraproject.org> 2.0.9-1
+- gnupg2-2.0.9
+- drop Provides: openpgp
+- versioned Provides: gpg
+- own /etc/gnupg
+
 * Fri Feb 08 2008 Rex Dieter <rdieter at fedoraproject.org> 2.0.8-3 
 - respin (gcc43)
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gnupg2/devel/sources,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- sources	20 Dec 2007 16:07:56 -0000	1.28
+++ sources	26 Mar 2008 17:15:26 -0000	1.29
@@ -1,2 +1,2 @@
-fc4377ca67e1bf687eeaf22e79c0b9d1  gnupg-2.0.8.tar.bz2
-5f4fefbca2568910e3628b4d8ea3d485  gnupg-2.0.8.tar.bz2.sig
+b41f3f6716a74c46a609a71853e85c7b  gnupg-2.0.9.tar.bz2
+29a90f2bdd27d79b7e9a0885f119832a  gnupg-2.0.9.tar.bz2.sig




More information about the fedora-extras-commits mailing list