From ed2cb12cf62043dc2993a2cf3656419d4aa5046ba0e0aec98eb6da83bbf10c1e Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Tue, 8 Oct 2019 09:29:17 +0000 Subject: [PATCH] Accepting request 729438 from home:computersalat:devel:ruby fix build for SLE 12 / Leap 42 OBS-URL: https://build.opensuse.org/request/show/729438 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=107 --- ruby-common.changes | 6 ++++++ ruby-common.spec | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ruby-common.changes b/ruby-common.changes index 648b69e..2842879 100644 --- a/ruby-common.changes +++ b/ruby-common.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 9 11:51:22 UTC 2019 - chris@computersalat.de + +- fix build for SLE 12 / Leap 42 + * add define _rpmmacrodir /etc/rpm + ------------------------------------------------------------------- Fri May 10 09:26:26 UTC 2019 - Dominique Leuenberger diff --git a/ruby-common.spec b/ruby-common.spec index 2ca3074..3be7af6 100644 --- a/ruby-common.spec +++ b/ruby-common.spec @@ -12,10 +12,15 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +### seems that %{_rpmmacrodir} is not known on SLE 12 / Leap 42 +%if 0%{?suse_version} == 1315 +%define _rpmmacrodir /etc/rpm +%endif + Name: ruby-common Version: 2.6 Release: 0