diff libpst.spec.in @ 179:83cb32e41f80

remove fully versioned -libs dependency from main package
author Carl Byington <carl@five-ten-sg.com>
date Thu, 09 Apr 2009 09:01:15 -0700
parents ac6e22c8a9cf
children 265c7a65b75b
line wrap: on
line diff
--- a/libpst.spec.in	Wed Apr 08 15:31:51 2009 -0700
+++ b/libpst.spec.in	Thu Apr 09 09:01:15 2009 -0700
@@ -8,7 +8,6 @@
 BuildRoot:          %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 URL:                http://www.five-ten-sg.com/%{name}/
 Requires:           ImageMagick
-Requires:           %{name}-libs = %{version}-%{release}
 BuildRequires:      ImageMagick freetype-devel gd-devel libjpeg-devel zlib-devel
 
 %description
@@ -34,7 +33,7 @@
 Requires:           %{name}-libs = %{version}-%{release}
 
 %description devel
-libpst-devel contains the library links and header fles you'll
+libpst-devel contains the library links and header files you'll
 need to develop applications using the libpst shared library.
 You do not need to install it if you just want to use the libpst
 utilities.
@@ -72,22 +71,26 @@
 %{_bindir}/*
 %{_mandir}/man1/*
 %{_mandir}/man5/*
-%docdir %{_datadir}/doc/%{name}-%{version}
-%{_datadir}/doc/%{name}-%{version}
+%{_datadir}/doc/%{name}-%{version}/
 
 
 %files libs
+%defattr(-,root,root,-)
 %{_libdir}/libpst.so.*
 
 
 %files devel
+%defattr(-,root,root,-)
 %{_libdir}/libpst.so
-%dir %{_includedir}/%{name}-@LIBPST_SO_MAJOR@
-%{_includedir}/%{name}-@LIBPST_SO_MAJOR@/*
+%{_includedir}/%{name}-@LIBPST_SO_MAJOR@/
 %{_libdir}/pkgconfig/libpst.pc
 
 
 %changelog
+* Thu Apr 09 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.36-1
+- remove fully versioned -libs dependency from main package.
+- other spec file cleanup
+
 * Wed Apr 08 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.35-1
 - properly add trailing mime boundary in all modes.
 - build separate libpst, libpst-libs, libpst-devel rpms.