Mailinglist Archive: opensuse-buildservice (262 mails)

< Previous Next >
Re: [opensuse-buildservice] different control files for different debian platforms?
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Thu, 20 Aug 2009 10:50:10 +0200
  • Message-id: <200908201050.10584.adrian@xxxxxxx>
Am Mittwoch, 19. August 2009 15:21:44 schrieb Paul Elliott:
On Wed, Aug 19, 2009 at 09:44:35AM +0200, Adrian Schröter wrote:
Am Mittwoch, 19. August 2009 08:22:16 schrieb Paul Elliott:
On Tue, Aug 18, 2009 at 05:32:02PM -0500, Paul Elliott wrote:
if (ubumtu 9.04) then

%if 0%{?ubuntu_version}

How is ?ubuntu_version numbered?

you can check this your self via

osc meta prjconf Ubuntu:9.04 | grep ubuntu_version
%define ubuntu_version 904
%ubuntu_version 904



Do I write
%if 0%{?ubuntu_version} == 904
or
%if 0%{?ubuntu_version} == 9.04

There is a nice table in: "Build Service/cross distribution package how to"
http://en.opensuse.org/Build_Service/cross_distribution_package_how_to

but it only mentions versions for rpm based distros!


--

Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >