c9d79d6f16
This will allow to relax rpm-build-* dependencies, hopefully without adding new essential dependencies to rpm (note that rpm already depends on sh and coreutils; now this also includes grep, and possibly should include sed, awk, and gzip). Consider mono-mcs package, which is mono C# compiler. Recently I added dependency on rpm-build-mono to this package, to enable automatic support for mono dependencies whenever mono compiler is used. Now the problem is that rpm-build-mono depends on rpm-build (via /usr/lib/rpm/functions), and rpm-build in turn requires a lot of packages, e.g. gcc and autotools, for the purpose of populating base build environment. To put it another way, the problem is that it is impossible to install mono compiler (with automatic support for mono dependencies) without also installing gcc and stuff, which is roughly 100M of unrelated packages. This seems like a minor problem to me, since every "devel" package (including compilers) can conventionally require base build environment. However, Alexander Bokovoy argues that school kids desperately need mono-mcs compiler on their desktops without gcc and another stuff from the base build environment! The upshot is that possibly we want to relax rpm-build-* dependencies, so that those "support for dependencies" packages do not require full-fledged rpm-build. The easiest way to accomplish this is to move /usr/lib/rpm/functions from rpm-build to rpm package. I also choose to move /usr/lib/rpm/find-package as well, along with making /usr/lib/rpm/.provides.sh, so that rpm-build-* packages depend on something like /usr/lib/rpm(Fatal), not just rpm. |
||
---|---|---|
.. | ||
.cvsignore | ||
.provides.sh | ||
brp-adjust_libraries.in | ||
brp-alt.in | ||
brp-bytecompile_python.in | ||
brp-cleanup.in | ||
brp-compress.in | ||
brp-fix-perms.in | ||
brp-fixup.in | ||
brp-strip.in | ||
brp-verify_elf.in | ||
check-files.in | ||
compress_files.in | ||
convertrpmrc.sh | ||
cpanflute | ||
cpanflute2 | ||
cross-build | ||
delayed_rebuilddb | ||
files.req.files.in | ||
files.req.in | ||
files.req.list | ||
find-lang.in | ||
find-package.in | ||
find-prov.pl | ||
find-provides.perl | ||
find-req.pl | ||
find-requires.perl | ||
fixup-binconfig.in | ||
fixup-libraries | ||
fixup-libtool.in | ||
fixup-pkgconfig.in | ||
functions | ||
get_magic.pl | ||
getpo.sh | ||
http.req | ||
javadeps.c | ||
ldd.in | ||
lib.prov.files | ||
lib.prov.in | ||
lib.req.files | ||
lib.req.in | ||
magic.prov | ||
magic.req | ||
Makefile.am | ||
pam.prov.files | ||
pam.prov.in | ||
pam.req.files | ||
pam.req.in | ||
perl.prov | ||
perl.req | ||
pkgconfig.req.files | ||
pkgconfig.req.in | ||
pkgconfiglib.req.in | ||
rpm2cpio.sh | ||
rpm.daily | ||
rpm.log | ||
rpm.xinetd | ||
rpmdiff | ||
rpmdiff.cgi | ||
shebang.req.files | ||
shebang.req.in | ||
shell.prov.files | ||
shell.prov.in | ||
shell.req.files | ||
shell.req.in | ||
shlib.req.awk | ||
Specfile.pm | ||
sql.prov | ||
sql.req | ||
static.req.files | ||
static.req.in | ||
strip_files.in | ||
symlinks.req.files | ||
symlinks.req.in | ||
tcl.req | ||
trpm | ||
u_pkg.sh | ||
verify-elf.in | ||
vpkg-provides2.sh | ||
vpkg-provides.sh |