[Bug 615405] New: Support %include
http://bugzilla.novell.com/show_bug.cgi?id=615405 http://bugzilla.novell.com/show_bug.cgi?id=615405#c0 Summary: Support %include Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pzb@novell.com QAContact: adrian@novell.com CC: mls@novell.com, mvyskocil@novell.com Found By: --- Blocker: --- RPM includes a nifty (and poorly documented) feature that allows including external files in specfiles. %include foo.txt will cause the contents of foo.txt to be inserted into the specfile at this point. It has the unfortunate property of using the current working directory as the default search location, so most likely one will actually use %include %{_sourcedir}/foo.txt to tell RPM to look whereever it just unpacked the sources. It also has the problem that it does not consider files used in %include to be sources nor specs, so they are not included in src.rpm unless explicitly listed as a source. It would probably be good for build to enforce this by checking the sources list and ensuring the included file is listed. If it is not, build could either error or modify the spec to add it as a source. The later would require finding a source ID that was not used. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=615405
http://bugzilla.novell.com/show_bug.cgi?id=615405#c
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=615405
https://bugzilla.novell.com/show_bug.cgi?id=615405#c1
Marcin Dulak
https://bugzilla.novell.com/show_bug.cgi?id=615405
https://bugzilla.novell.com/show_bug.cgi?id=615405#c2
--- Comment #2 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=615405
https://bugzilla.novell.com/show_bug.cgi?id=615405#c3
--- Comment #3 from Marcin Dulak
participants (1)
-
bugzilla_noreply@novell.com