Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot build rpm from specfile #3544

Closed
michaelrsweet opened this issue Apr 6, 2010 · 2 comments
Closed

cannot build rpm from specfile #3544

michaelrsweet opened this issue Apr 6, 2010 · 2 comments
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.4-current
CUPS.org User: nassarmu

If i attempt to build the rpm using rpmbuild as follows:
rpmbuild -ta cups-1.4.3-source.tar.bz2 --without php

the build process fails with the following errors:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/cups-root
error: Installed (but unpackaged) file(s) found:
/usr/share/doc/cups/id/index.html
/usr/share/doc/cups/it/index.html

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

If i build it with the following command:
rpmbuild -ta cups-1.4.3-source.tar.bz2 --without php --without dbus

an additional unpackaged file appears:
error: Installed (but unpackaged) file(s) found:
/etc/dbus-1/system.d/cups.conf
/usr/share/doc/cups/id/index.html
/usr/share/doc/cups/it/index.html

RPM build errors:
Installed (but unpackaged) file(s) found:
/etc/dbus-1/system.d/cups.conf
/usr/share/doc/cups/id/index.html
/usr/share/doc/cups/it/index.html

attached is a spec file to fix the former issue.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in Subversion repository.

@michaelrsweet
Copy link
Collaborator Author

"str3544.patch":

Index: packaging/cups.spec.in

--- packaging/cups.spec.in (revision 9092)
+++ packaging/cups.spec.in (working copy)
@@ -5,7 +5,7 @@

Original version by Jason McMullan jmcc@ontv.com.

-# Copyright 2007-2009 by Apple Inc.
+# Copyright 2007-2010 by Apple Inc.

Copyright 1999-2007 by Easy Software Products, all rights reserved.

These coded instructions, statements, and computer programs are the

@@ -39,7 +39,7 @@
Epoch: 1
License: GPL
Group: System Environment/Daemons
-Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.gz
+Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.gz
Url: http://www.cups.org
Packager: Anonymous anonymous@foo.com
Vendor: Apple Inc.
@@ -240,6 +240,10 @@
/usr/share/doc/cups/es/*
%dir /usr/share/doc/cups/eu
/usr/share/doc/cups/eu/*
+%dir /usr/share/doc/cups/id
+/usr/share/doc/cups/id/*
+%dir /usr/share/doc/cups/it
+/usr/share/doc/cups/it/*
%dir /usr/share/doc/cups/ja
/usr/share/doc/cups/ja/*
%dir /usr/share/doc/cups/pl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant