[Fontconfig] fontconfig.spec fixes

Enrique Perez-Terron enrio at online.no
Thu Mar 18 05:35:15 EST 2004


Hello, 

I just tried to create an rpm from fontconfig-2.2.2.tar.gz,
but I had to make two changes to fontconfig.spec.in.

The error messages were

RPM build errors:
    File listed twice: /usr/include/fontconfig
    Installed (but unpackaged) file(s) found:
   /usr/share/man/man1/fc-cache.1.gz
   /usr/share/man/man1/fc-list.1.gz

The changelog included in this fontconfig.spec.in states that man1/* was
removed. I cannot see why. fc-cache/fc-cache.sgml has not been removed
from the cvs, and man1/fc-cache.1.gz is installed by make install, so
I reintroduced man1/* in the main cvs file list. 

--- fontconfig-2004-03-17/fontconfig.spec.in    2003-03-08
02:03:32.000000000 +0100
+++ fontconfig/fontconfig.spec.in       2004-03-17 18:20:16.000000000
+0100
@@ -77,13 +77,14 @@
 %config %{_sysconfdir}/fonts/local.conf
 %{_bindir}/fc-*
 %{_libdir}/libfontconfig*.so.*
+%{_mandir}/man1/*
 %{_mandir}/man5/*
  
 %files devel
 %defattr(-, root, root)
 %doc doc/fontconfig-devel.txt doc/fontconfig-devel/*
 %dir %{_includedir}/fontconfig
-%{_includedir}/fontconfig
+%{_includedir}/fontconfig/*
 %{_libdir}/*.a
 %{_libdir}/*.la
 %{_libdir}/libfontconfig.so
@@ -91,6 +92,10 @@
 %{_mandir}/man3/*
  
 %changelog
+* Wed Mar 17 2004 Enrique Perez-Terron <enrio at online.no>
+- Added man1/* to main file list
+- Added missing '/*' after includedir/fontconfig.
+
 * Fri Mar  7 2003 Mike A. Harris <mharris at redhat.com> 2.1.92-1
 - Removed man1/* and added man5/* to main package and man3/* to devel
package
 - Added missing defattr(-, root, root) to main package


Regards, Enrique





More information about the Fontconfig mailing list