Mailinglist Archive: opensuse-buildservice (144 mails)

< Previous Next >
Re: [opensuse-buildservice] missing _rpmmacrodir for SLE 12 / Leap 42 in devel:languages:ruby PRJ
Am 10.09.19 um 14:47 schrieb Neal Gompa:
On Tue, Sep 10, 2019 at 8:40 AM Christian <chris@xxxxxxxxxxxxxxxx> wrote:

Hi,

may we have the following added to projconf of devel:languages:ruby please ?

### seems that _rpmmacrodir is not known on SLE 12 / Leap 42
%if %{suse_version} == 1315
Macros:
%_rpmmacrodir /etc/rpm
:Macros
%endif

This will fix some of the existing build errors in devel:languages:ruby
Thank you :-)

It should be pointing to %{_rpmconfigdir}/macros.d, which is
/usr/lib/rpm/macros.d

Nobody should be installing macros into /etc/rpm.


Not for new packages, but for "SLE 12 / Leap 42" it was.

devel:languages:ruby/ruby-common latest change was:
- replace '/etc/rpm' with '%_rpmmacrodir'

this macro does not exist, hence it should be defined in prjconf for
SLES 12 ...

Thank you

--

Christian
------------------------------------------------------------
https://join.worldcommunitygrid.org?recruiterId=177038
------------------------------------------------------------
http://www.sc24.de - Sportbekleidung
------------------------------------------------------------

< Previous Next >
References