Mailinglist Archive: opensuse-buildservice (74 mails)

< Previous Next >
[opensuse-buildservice] Re: package name substitutions
  • From: Andreas Schwab <schwab@xxxxxxx>
  • Date: Wed, 22 May 2019 13:59:50 +0200
  • Message-id: <mvmmujehf7t.fsf@suse.de>
On Mai 22 2019, Roger Oberholtzer <roger.oberholtzer@xxxxxxxxx> wrote:

I am trying to build a package for Fedora on openSUSE's OBS. A
required package has a different name on Fedora. So I thought I would
do the following in my spec file:

%if 0%{?fedora_version}
Substitute: sqlite sqlite3
%endif

Substitute needs to be put in the project config, not the spec file.

Andreas.

--
Andreas Schwab, SUSE Labs, schwab@xxxxxxx
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References