rpms/gnutls/devel gnutls.spec,1.25,1.26
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Apr 10 16:14:50 UTC 2007
Author: tmraz
Update of /cvs/dist/rpms/gnutls/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv11891
Modified Files:
gnutls.spec
Log Message:
* Tue Apr 10 2007 Tomas Mraz <tmraz at redhat.com> 1.4.5-2
- properly require install-info (patch by Ville Skyttä)
- standard buildroot and use dist tag
- add COPYING and README to doc
Index: gnutls.spec
===================================================================
RCS file: /cvs/dist/rpms/gnutls/devel/gnutls.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- gnutls.spec 7 Feb 2007 18:56:37 -0000 1.25
+++ gnutls.spec 10 Apr 2007 16:14:48 -0000 1.26
@@ -1,7 +1,7 @@
-Summary: A TLS protocol implementation.
+Summary: A TLS protocol implementation
Name: gnutls
Version: 1.4.5
-Release: 1
+Release: 2%{?dist}
License: LGPL
Group: System Environment/Libraries
BuildRequires: libgcrypt-devel >= 1.2.2, gettext
@@ -16,19 +16,21 @@
Source1: libgnutls-config
Patch0: gnutls-1.4.0-nosrp.patch
Patch1: gnutls-1.4.1-enable-psk.patch
-BuildRoot: %{_tmppath}/%{name}-root
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: libgcrypt >= 1.2.2
%package devel
-Summary: Development files for the %{name} package.
+Summary: Development files for the %{name} package
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: libgcrypt-devel
Requires: zlib-devel
Requires: pkgconfig
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
%package utils
-Summary: Command line tools for TLS protocol.
+Summary: Command line tools for TLS protocol
Group: Applications/System
Requires: %{name} = %{version}-%{release}
@@ -89,20 +91,21 @@
%post devel
if [ -f %{_infodir}/gnutls.info.gz ]; then
- /sbin/install-info %{_infodir}/gnutls.info.gz %{_infodir}/dir
+ /sbin/install-info %{_infodir}/gnutls.info.gz %{_infodir}/dir || :
fi
%preun devel
if [ $1 = 0 -a -f %{_infodir}/gnutls.info.gz ]; then
- /sbin/install-info --delete %{_infodir}/gnutls.info.gz %{_infodir}/dir
+ /sbin/install-info --delete %{_infodir}/gnutls.info.gz %{_infodir}/dir || :
fi
%files -f %{name}.lang
-%defattr(-,root,root)
+%defattr(-,root,root,-)
%{_libdir}/*.so.*
+%doc COPYING COPYING.LIB README AUTHORS
%files devel
-%defattr(-,root,root)
+%defattr(-,root,root,-)
%{_bindir}/libgnutls*-config
%{_includedir}/*
%{_libdir}/*.a
@@ -113,13 +116,18 @@
%{_infodir}/gnutls*
%files utils
-%defattr(-,root,root)
+%defattr(-,root,root,-)
%{_bindir}/certtool
%{_bindir}/psktool
%{_bindir}/gnutls*
%{_mandir}/man1/*
%changelog
+* Tue Apr 10 2007 Tomas Mraz <tmraz at redhat.com> 1.4.5-2
+- properly require install-info (patch by Ville Skyttä)
+- standard buildroot and use dist tag
+- add COPYING and README to doc
+
* Wed Feb 7 2007 Tomas Mraz <tmraz at redhat.com> 1.4.5-1
- new upstream version
- drop libtermcap-devel from buildrequires
More information about the fedora-cvs-commits
mailing list