%define _unpackaged_files_terminate_build 1
with
%define _unpackaged_files_terminate_build 0
Someone has to fix the spec on day. I've tried to change it but the path of creating the filelist is somehow obfuscated into the "make install-perms" process after the build is done and I gave up.
Bill Williamson wrote:
System:
-fedora core 1
-currently running .42.2
-trying to upgrade to .45.4
Steps:
-download tgz file
-rpmbuild -ta courier-0.45.4.tar.bz2
-build progresses fine, packaging step bails (see below)
contents of ~/.rpmmacros:
---------------
%_topdir /home/batkiwi/rpm
%_without_fax true
%_without_pgsql true
%_without_ldap true
---------------
Error:
---------------
RPM build errors:
Installed (but unpackaged) file(s) found:
/etc/openldap/schema/courier.schema
/usr/lib/courier/share/courierwebadmin/admin-15ldap.html
/usr/lib/courier/share/courierwebadmin/admin-15ldap.pl
/usr/lib/courier/share/courierwebadmin/admin-15ldapa.html
/usr/lib/courier/share/courierwebadmin/admin-15ldapa.pl
/usr/lib/courier/share/courierwebadmin/admin-15pgsql.html
/usr/lib/courier/share/courierwebadmin/admin-15pgsql.pl
/usr/lib/courier/share/courierwebadmin/admin-34fax.html
/usr/lib/courier/share/courierwebadmin/admin-34fax.pl
/usr/lib/courier/share/courierwebadmin/admin-35fax.html
/usr/lib/courier/share/courierwebadmin/admin-35fax.pl
/usr/lib/courier/share/faxmail/application-pdf.filter
/usr/lib/courier/share/faxmail/application-postscript.filter
/usr/lib/courier/share/faxmail/coverpage
/usr/lib/courier/share/faxmail/image-gif.filter
/usr/lib/courier/share/faxmail/image-jpeg.filter
/usr/lib/courier/share/faxmail/image-png.filter
/usr/lib/courier/share/faxmail/init
/usr/lib/courier/share/faxmail/new_fax
/usr/lib/courier/share/faxmail/text-plain.filter
/usr/share/man/man8/courierldapaliasd.8.gz
---------------
The spec file builds fine without those components, but the files are still copied to the staging directory, so it can't be built successfully.
Obviously whatever in the rpm copies those files over needs to not do it, but I'm not good enough with RPM to do it. The spec uses so many macros searching for these strings is almost futile :)
Anyone have any suggestions/modified spec files/etc?
Thanks!
--Bill
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
--
www.astral.ro
Mircea Damian | |
Manager Infrastructura Metropolitana - Internet & Data | |
Astral Telecom | |
Mihai Bravu 223 | |
Sector 3, cod 030301 | |
Tel: | 021 326 5003 |
Fax: | 021 326 6196 |
GSM: | 0745 128 110 |
<<inline: logo2.gif>>