Accepting request 1062444 from home:dimstar:Factory

- Fix build: some*.la files are symlinks. Adjust spec to use
   find -type f,l

OBS-URL: https://build.opensuse.org/request/show/1062444
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=132
This commit is contained in:
Petr Gajdos 2023-02-01 13:25:02 +00:00 committed by Git OBS Bridge
parent 7ba6a54afe
commit 8fab1a6c5e
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 1 12:18:06 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix build: some*.la files are symlinks. Adjust spec to use
find -type f,l
-------------------------------------------------------------------
Wed Feb 1 09:24:14 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -118,7 +118,7 @@ sed -i -e 's/^\(CFLAGS.*\)$/\1 -fsanitize=address/' \
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
find %{buildroot} -type f,l -name "*.la" -delete -print
mkdir -p %{buildroot}%{_sysconfdir}/rpm
install -D -m644 %{SOURCE3} %{buildroot}%{_rpmmacrodir}/macros.libpng-tools
%if %{debug_build} ||%{asan_build}