On Fri, Jan 26, 2007 at 08:58:46AM +0100, Dirk Stoecker wrote:
Hello,
The wiki page http://en.opensuse.org/Build_Service/cross_distribution_package_how_to does not really help to fix the problem I have with my package. I need to select "netcdf3" for Debian and Ubuntu, where Suse needs "netcdf".
Quoting the page:
Handling dependencies
Different distributions often use different names for packages, so the Requires: and BuildRequires: tags may need to vary from repository to repository. The second FOSDEM talk mentions that "[A] project can specify per repository dependency rewrite rules" (... details needed ...)
Where do I find these details?
I think there is no interface for that yet, other than begging on this mailing list :-)
Also it would be a good idea to add a table for all supported distributions on that page. I tried one, but have many gaps and maybe
There is a "tips and tricks" page, ISTR that is has some other useful macros already
errors. Could anyone update and fix this (Is == correct or is it a single =?). I would copy the information to the wiki if complete.
== is correct
openSUSE Factory %if 0%{suse_version} == 1030 (currently) openSUSE 10.2 %if 0%{suse_version} == 1020 SUSE Linux 10.1 %if 0%{suse_version} == 1010 SUSE Linux 10.0 %if 0%{suse_version} == 1000 SUSE Linux 9.3 %if 0%{suse_version} == 930 SLE 10 %if 0%{suse_version} == 1000 ??? SLES 9 %if 0%{suse_version} == 900 ???
this goes: openSUSE Factory %if 0%{suse_version} == 1030 openSUSE 10.2 %if 0%{suse_version} == 1020 SUSE Linux 10.1 %if 0%{suse_version} == 1010 SLE 10 %if 0%{suse_version} == 1010 SUSE Linux 10.0 %if 0%{suse_version} == 1000 SUSE Linux 9.3 %if 0%{suse_version} == 930 SLES 9 %if 0%{suse_version} == 910 I don't know about these:
Debian Etch ??? Fedora 4 with Extras %if 0%{?fedora_version} == 4 Fedora 5 with Extras %if 0%{?fedora_version} == 5 Mandriva 2006 %if 0%{?mandriva_version} == 2006 xUbuntu 6.06 ???
Regards, Peter -- SUSE LINUX Products GmbH Bug, bogey, bugbear, bugaboo: Research & Development A malevolent monster (not true?); Some mischief microbic; What makes someone phobic; The work one does not want to do. From: Chris Young (The Omnificent English Dictionary In Limerick Form)