Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
packaging/suse: updated the templates for the release script
Browse files Browse the repository at this point in the history
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
  • Loading branch information
mssola committed May 2, 2019
1 parent ce3ce89 commit 53bd63e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 59 deletions.
35 changes: 12 additions & 23 deletions packaging/suse/release/project.xml.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,22 @@
<person userid="flavio_castelli" role="maintainer"/>
<person userid="jordimassaguerpla" role="maintainer"/>
<person userid="mssola" role="maintainer"/>
<build>
<disable repository="images"/>
</build>
<publish>
<disable repository="images"/>
</publish>
<debuginfo>
<enable repository="openSUSE_Leap_42.3"/>
</debuginfo>
<useforbuild>
<disable arch="i586" repository="images"/>
<disable repository="images"/>
</useforbuild>
<repository name="openSUSE_Leap_42.3">
<path project="openSUSE:Leap:42.3" repository="standard"/>
<path project="devel:languages:go" repository="openSUSE_Leap_42.3"/>
<path project="devel:languages:ruby" repository="openSUSE_Leap_42.3"/>
<repository name="openSUSE_Leap_15.1">
<path project="openSUSE:Leap:15.1" repository="standard"/>
<path project="devel:languages:go" repository="openSUSE_Leap_15.1"/>
<path project="devel:languages:ruby" repository="openSUSE_Leap_15.1"/>
<path project="devel:languages:nodejs" repository="openSUSE_Leap_15.1"/>
<arch>x86_64</arch>
</repository>
<repository name="images">
<repository name="openSUSE_Leap_15.0">
<path project="openSUSE:Leap:15.0" repository="standard"/>
<path project="devel:languages:go" repository="openSUSE_Leap_15.0"/>
<path project="devel:languages:ruby" repository="openSUSE_Leap_15.0"/>
<path project="devel:languages:nodejs" repository="openSUSE_Leap_15.0"/>
<arch>x86_64</arch>
</repository>
<repository name="SLE_12">
<path project="SUSE:SLE-12:Update" repository="standard"/>
<path project="SUSE:SLE-12:GA" repository="standard"/>
<path project="devel:languages:go" repository="SLE_12"/>
<path project="devel:languages:ruby" repository="SLE_12"/>
<repository name="CaaSP_SLE_12_SP3">
<path project="devel:CaaSP:Head:ControllerNode" repository="SLE_12_SP3"/>
<arch>x86_64</arch>
</repository>
</project>
51 changes: 15 additions & 36 deletions packaging/suse/release/projectconfig.txt
Original file line number Diff line number Diff line change
@@ -1,46 +1,25 @@
%if "%_repository" == "images"
Type: kiwi
Patterntype: none
Repotype: staticlinks
Suport: jing
%endif
##
# Go

Substitute: golang go
Prefer: go
Prefer: go-md2man

##
# Ruby

%define rb_default_ruby ruby26
%define rb_default_ruby_suffix ruby2.6
%define rb_default_ruby_abi ruby:2.6.2
%define rb_default_ruby_abi ruby:2.6.0

%define rb_build_ruby_abis ruby:2.6.2
%define rb_build_versions ruby26
%define _with_ruby20 0
%define _with_ruby21 0
%define _with_ruby22 0
%define _with_ruby23 0
%define _with_ruby24 0
%define _with_ruby25 0
%define _with_ruby26 1
%define _with_ruby26 1
Macros:
%_with_ruby20 0
%_with_ruby21 0
%_with_ruby22 0
%_with_ruby23 0
%_with_ruby24 0
%_with_ruby25 0
%_with_ruby26 1
%rb_default_ruby ruby26
%rb_default_ruby_suffix ruby2.6
%rb_default_ruby_abi ruby:2.6.2
%rb_default_ruby_abi ruby:2.6.0

%rb_build_ruby_abis ruby:2.6.2
%rb_build_versions ruby26
%_with_ruby26 1
:Macros

#Prefer: rubygem(ruby:2.6.1:gem2rpm)
#Prefer: ruby2.6-rubygem-gem2rpm

Substitute: kiwi-image:ext4 e2fsprogs virt-utils parted
Substitute: kiwi-image:tbz parted
Substitute: kiwi-image:vmx e2fsprogs virt-utils parted grub
Prefer: systemd-presets-branding-openSUSE
Prefer: plymouth-branding-openSUSE

Substitute: golang go
Prefer: rubygem(ruby:2.6.0:gem2rpm)
Prefer: ruby2.6-rubygem-gem2rpm

0 comments on commit 53bd63e

Please sign in to comment.