Mailinglist Archive: opensuse-packaging (23 mails)

< Previous Next >
Re: [opensuse-packaging] very weird packaging problem on Leap 15.0
On Sunday 2018-09-23 14:46, Thomas Schraitle wrote:

Hi Mathias,

Am Sonntag, 23. September 2018, 10:29:41 CEST schrieb Mathias Homann:

I'm having a really strange packaging issue on Leap 15.0:

the %files se4ction of my spec file fails!
here's the part of the spec file in question:
%files

%defattr(-,root,root,0755)
%doc $RPM_BUILD_DIR/%{_srcname}/build-linux-%{_arch}/newview/packaged/*.txt
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

IMHO this looks wrong.

Yeah because someone's (also) trying to use shell vars in a non-shell
context. Please, just use macros in general ($RPM_BUILD_DIR ->
%_builddir)

--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups