[Fontconfig] fontconfig.spec fixes

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


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:

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
@@ -77,13 +77,14 @@
 %config %{_sysconfdir}/fonts/local.conf
 %files devel
 %defattr(-, root, root)
 %doc doc/fontconfig-devel.txt doc/fontconfig-devel/*
 %dir %{_includedir}/fontconfig
@@ -91,6 +92,10 @@
+* 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
 - Added missing defattr(-, root, root) to main package

Regards, Enrique

More information about the Fontconfig mailing list