[LOW] STR #4037: building rpm from cups-1.5.2-source.tar.bz2 fails due to spec file now including some files

Jason Aladellocchio <[email protected]>
Newsgroups gmane.comp.printing.cups.bugs
Message-ID <[email protected]>
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

trying to build an rpm on scientific linux 6.1 

> rpmbuild -ta cups-1.5.2-source.tar.bz2

goes fine until you get at the end;

----
error: Installed (but unpackaged) file(s) found:
   /usr/share/doc/cups/fr/index.html
   /usr/share/doc/cups/hu/index.html


RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/share/doc/cups/fr/index.html
   /usr/share/doc/cups/hu/index.html
----

the attached patch.diff proposes the lines to add to
cups-1.5.2/packaging/cups.spec to make the rpmbuild complete successfully.

Link: http://www.cups.org/str.php?L4037
Version: 1.5.2

_______________________________________________
cups-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/cups-bugs
patch.diff (text/plain, 422 B)
--- /tmp/cups.spec	2012-03-07 17:57:15.000000000 +1300
+++ cups-1.5.2/packaging/cups.spec	2012-03-07 17:58:17.222073000 +1300
@@ -243,6 +243,10 @@
 /usr/share/doc/cups/es/*
 %dir /usr/share/doc/cups/eu
 /usr/share/doc/cups/eu/*
+%dir /usr/share/doc/cups/fr
+/usr/share/doc/cups/fr/*
+%dir /usr/share/doc/cups/hu
+/usr/share/doc/cups/hu/*
 %dir /usr/share/doc/cups/id
 /usr/share/doc/cups/id/*
 %dir /usr/share/doc/cups/it
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.