Accepting request 1062455 from graphics
- Fix build: some*.la files are symlinks. Adjust spec to use find -type f,l (forwarded request 1062444 from dimstar) OBS-URL: https://build.opensuse.org/request/show/1062455 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=48
This commit is contained in:
commit
d303d46d33
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- switch to pkgconfig(zlib) to allow alternative providers as well
|
||||||
|
- build with glibc hwcaps optimized libs
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 25 11:49:52 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
Fri Nov 25 11:49:52 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libpng16
|
# spec file for package libpng16
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -37,7 +37,8 @@ Source3: rpm-macros.libpng-tools
|
|||||||
Source4: baselibs.conf
|
Source4: baselibs.conf
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
%{?suse_build_hwcaps_libs}
|
||||||
|
|
||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
Summary: Library for the Portable Network Graphics Format (PNG)
|
Summary: Library for the Portable Network Graphics Format (PNG)
|
||||||
@ -50,7 +51,7 @@ Group: Development/Libraries/C and C++
|
|||||||
Requires: %{libname} = %{version}
|
Requires: %{libname} = %{version}
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Requires: zlib-devel
|
Requires: pkgconfig(zlib)
|
||||||
Recommends: libpng%{branch}-compat-devel
|
Recommends: libpng%{branch}-compat-devel
|
||||||
#
|
#
|
||||||
|
|
||||||
@ -117,7 +118,7 @@ sed -i -e 's/^\(CFLAGS.*\)$/\1 -fsanitize=address/' \
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm %{buildroot}/%{_libdir}/libpng*.la
|
find %{buildroot} -type f,l -name "*.la" -delete -print
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
||||||
install -D -m644 %{SOURCE3} %{buildroot}%{_rpmmacrodir}/macros.libpng-tools
|
install -D -m644 %{SOURCE3} %{buildroot}%{_rpmmacrodir}/macros.libpng-tools
|
||||||
%if %{debug_build} ||%{asan_build}
|
%if %{debug_build} ||%{asan_build}
|
||||||
|
Loading…
Reference in New Issue
Block a user