
On 2006-09-25 23:46:30 +0200, Andreas Hanke wrote:
there are many "I can't rebuild foobar.src.rpm on my system because of missing BuildRequires" bug reports caused by the fact that there is a set of packages which are always implied to be present for rpm builds. (Just today a new one, #207941).
These are not real bugs, but caused by the fact that users don't know which packages they need for rpm builds. There used to be a list of default packages in /etc/y2pmbuild/dists, but y2pmsh has been dropped from Factory and this config file is no longer provided.
As a replacement for the "defaultpackages" line in the dropped y2pmbuild config file, I'm proposing a new pattern, "Minimum RPM build environment". Specifications of this pattern:
- Includes all packages that you are implying as present without "BuildRequires:" line in your internal build system;
- All packages are pulled in via "Requires" (no soft dependencies) in order to make sure that the pattern is completely installed.
This might help users rebuilding source packages without reports about missing "BuildRequires:" lines in the spec files that are not actually missing.
Thoughts?
1. this is not fully correct. build (you can find it in build.rpm) has the same information. [1] 2. the idea of the pattern sounds good anyway. 3. rpmbuild should be deprecated anyway. if you want to "replicate" an rpm as close as possible use "build". darix [1] latest version at: http://software.opensuse.org/download/openSUSE:/Tools/ -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org