[yaz/f22] Cleanup libyaz-devel requires, openssl no longer needed Use %license macro to handle license texts

Christopher Meng cicku at fedoraproject.org
Thu Feb 26 07:50:49 UTC 2015


commit 7b05047b66b2ec9154cf2e1cb122e3609f71d05c
Author: Christopher Meng <i at cicku.me>
Date:   Thu Feb 26 15:49:30 2015 +0800

    Cleanup libyaz-devel requires, openssl no longer needed
    Use %license macro to handle license texts

 yaz.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/yaz.spec b/yaz.spec
index b9a8bd4..3c3d92f 100644
--- a/yaz.spec
+++ b/yaz.spec
@@ -46,7 +46,7 @@ Summary:        Development files for %{name}
 Requires:       lib%{name}%{?_isa} = %{version}-%{release}
 Requires:       libmemcached-devel%{?_isa}
 Requires:       libxml2-devel%{?_isa}
-Requires:       openssl-devel%{?_isa}
+Requires:       gnutls-devel%{?_isa}
 Requires:       readline-devel%{?_isa}
 
 %description -n lib%{name}-devel
@@ -59,7 +59,7 @@ BuildArch:      noarch
 Requires:       %{name} = %{version}-%{release}
 
 %description    doc
-Online documentation for the %{name}, a Z39.50 protocol
+This package contains documentation for %{name}, a Z39.50 protocol
 server and client.
 
 %prep
@@ -100,7 +100,8 @@ make check
 %postun -n lib%{name} -p /sbin/ldconfig
 
 %files
-%doc LICENSE NEWS README
+%doc NEWS README
+%license LICENSE
 %{_bindir}/yaz-client
 %{_bindir}/yaz-ztest
 %{_bindir}/yaz-marcdump
@@ -132,7 +133,7 @@ make check
 %{_libdir}/pkgconfig/*
 %{_libdir}/*.so
 %{_includedir}/%{name}/
-%{_datadir}/yaz
+%{_datadir}/yaz/
 %{_datadir}/aclocal/*
 %{_mandir}/man1/yaz-asncomp.*
 %{_mandir}/man1/yaz-config.*


More information about the scm-commits mailing list