Re: SCL in Fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 01/11/2013 17:33, Toshio Kuratomi a écrit :
> Something like: In general, Name is constructed by prepending
> scl_prefix to the existing package name like this [example].
> However, to avoid redundancy, addon packages should remove the
> information that is already present in the scl_prefix like this:

I agree, this will make package name really simpler

> # If scl_prefix is scl-python2.6 then %if %{scl_prefix} Name:
> %{scl_prefix}foo %else Name: python-foo %endif

This should probably be done more generally to be usable everywhere
the prefix is used (I mostly think of dependencies).

%global pkg_prefix  %{?scl_prefix}%{!?scl_prefix:python-}

Name : %{pkg_prefix}foo
BuildRequires: %{pkg_prefix}devel
BuildRequires: %{pkg_prefix}bar

Still the "main" package problem (python26-python), which is not a big
issue, as scl-python26 will requires scl-python26-python and
scl-python26-devel will be what it is expected to be.

Remi.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlJ0wJIACgkQYUppBSnxahgLVwCfSxqlGUp614ExuYos9gd2Rogi
LqQAoJAUVugsRyD2sm45dnjhV3AoXhmG
=/s/R
-----END PGP SIGNATURE-----
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux