spec files
Kevin DeKorte <[email protected]>
| Newsgroups | gmane.linux.freshrpms.user |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I came up with this solution for using a single spec file to build on
FC4 and FC5 for mplayerplug-in.
Anything I am doing obviously wrong?
%{!?req:%define req %(if [ `cut -d' ' -f4 /etc/fedora-release` -ge 5 ];
then echo "libXt-devel xorg-x11-proto-devel libXpm-devel"; else echo
"xorg-x11-devel"; fi)}
....
BuildRequires: %{req} mozilla-devel > 1.5 gtk2-devel > 2.2.1 gettext
Kevin
- --
Get my public GnuPG key from
http://keyserver.veridis.com:11371/export?id=7574690260641978351
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFEOoySaR60qN0tF+8RAlasAJsGo/I6Ieyr6SROGiOow0azm0UHzwCePIGM
Frd+SohPtZwqYDXjklm6Kj0=
=X1+S
-----END PGP SIGNATURE-----