Re: rpmmacros and srpms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



pardon if this is naive, but could the rpm macro file be added in the src dir, listed as a src, then 'directly' included?

I have not tested this, it is just a thought.

On Tue, 5 Apr 2005, Wichmann, Mats D wrote:


One of the irritants in building cross-platform pkgs is that sometimes variants in rpm defaults (across distros) breaks stuff at build time. This kind of thing comes up on this list now and then... unpackaged_files_terminate_build, whether or not to compress manpages, etc.

Fairly easily smoothed out with a local rpmmacros
file, I can do a cvs export of my code, type
make, and get something functionally equivalent
whether I used RH, SuSE, Mandrake, or something
else as the build machine.

Except... the srpm that resulted from turning
that crank doesn't have that macro information
embedded in it, and if someone now tries to
rebuild from the srpm, the same problem is
reintroduced that I thought was just fixed.

Is there an answer for this?  The things noted
don't seem to be able to go into the specfile,
that's why they ended up in rpmmacros in the
first palce.


_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list


-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Partner & Sr. Manager #1 2739 Saint Paul Street - - +1 (410) 808-6646 (c) Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited.


_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux