Mailinglist Archive: opensuse-packaging (104 mails)

< Previous Next >
Re: [opensuse-packaging] %fdupes not expanding correctly
John Paul Adrian Glaubitz píše v St 08. 08. 2018 v 16:19 +0200:
On 08/08/2018 03:22 PM, John Paul Adrian Glaubitz wrote:
On 08/08/2018 03:15 PM, Marcus Meissner wrote:
However, when I try to build the package, the %fdupes macro is
not expanding
correctly and I get the following mess:

%fdupes is a macro that is multiple lines of commands, it is not
supposed to
be in the %files section, but in the %install section.

Ah, my bad. Thanks a lot everyone for the quick help!

Hmm, I moved the statement to %install:

%fdupes -s %{_libdir}/cmake

%fdupes %{buildroot}%{_libdir}/cmake

< Previous Next >
Follow Ups