redhat package version 2 now
[yaz-moved-to-github.git] / yaz.spec.in
index 88c1dac..ce50f85 100644 (file)
@@ -2,7 +2,7 @@ Summary: Z39.50 Programs
 Name: yaz
 Version: @VERSION@
 Release: 2
-Requires: libxml2 openssl libyaz = %{version}
+Requires: libxml2 openssl readline libyaz = %{version}
 Copyright: YAZ License
 Group: Other
 Vendor: Index Data ApS <info@indexdata.dk>
@@ -19,7 +19,7 @@ for the ANSI/NISO Z39.50 protocol for Information Retrieval.
 %package -n lib%{name}
 Summary: Z39.50 Library
 Group: Libraries
-Requires: libxml2 openssl readline
+Requires: libxml2 openssl
 
 %description -n lib%{name}
 YAZ is a library for the ANSI/NISO Z39.50 protocol for Information
@@ -63,8 +63,6 @@ rm -fr ${RPM_BUILD_ROOT}
 
 %files -n lib%{name}
 /usr/lib/*.so.*
-/usr/share/yaz/z39.50
-/usr/share/yaz/ill
 /usr/share/man/man7/yaz.*
 
 %files -n lib%{name}-devel
@@ -75,5 +73,7 @@ rm -fr ${RPM_BUILD_ROOT}
 /usr/lib/*.a
 /usr/lib/*.la
 /usr/share/aclocal/yaz.m4
-/usr/share/man/man1/yaz-config.*
+/usr/share/man/man8/yaz-config.*
 /usr/share/doc/yaz
+/usr/share/yaz/z39.50
+/usr/share/yaz/ill