rpms/git-core/devel .cvsignore, 1.10, 1.11 git-core.spec, 1.9, 1.10 sources, 1.10, 1.11
Warren Togami
wtogami at redhat.com
Tue Nov 1 18:26:24 UTC 2005
- Previous message (by thread): rpms/git-core/devel .cvsignore, 1.10, 1.11 git-core.spec, 1.9, 1.10 sources, 1.10, 1.11
- Next message (by thread): rpms/git-core/devel .cvsignore, 1.10, 1.11 git-core.spec, 1.9, 1.10 sources, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Chris Wright wrote:
> * Ralf Corsepius (rc040203 at freenet.de) wrote:
>
>>Here, the "BR: libz >= 1.2" is a "necessary condition" (in the
>>mathematical sense) to force users (or the buildsystem) to use a
>>sufficient zlib. Whether or not the sources support "graceful degrating"
>>to other internal underneath, isn't of any importance.
>
>
> Problem is BR zlib >= 1.2 is completely irrelevant when installing a
> package, simply because implicit dependency on libz.so.1 is inaccurate.
Exactly.
>
> Since this shouldn't be an issue for FC/FE users, I can just drop that
> bit from upstream. It's there only because somebody hit it, complained,
> and sent a patch.
>
I use the following in gaim for a similar purpose. It is rather ugly
but works.
# Require Binary Compatible glib
# returns bogus value if glib2-devel is not installed in order for
parsing to succeed
# bogus value wont make it into a real package
%define glib_ver %([ -a %{_libdir}/pkgconfig/glib-2.0.pc ] && pkg-config
--modversion glib-2.0 | cut -d. -f 1,2 || echo -n "999")
Requires: glib2 >= %{glib_ver}
BuildRequires: glib2-devel
This way the SRPM can build on any version of glib2, but the package
enforces the install-time version of glib2.
Warren Togami
wtogami at redhat.com
- Previous message (by thread): rpms/git-core/devel .cvsignore, 1.10, 1.11 git-core.spec, 1.9, 1.10 sources, 1.10, 1.11
- Next message (by thread): rpms/git-core/devel .cvsignore, 1.10, 1.11 git-core.spec, 1.9, 1.10 sources, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-list
mailing list