SHA256
1
0
forked from pool/xz

Accepting request 1042590 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1042590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=73
This commit is contained in:
Dominique Leuenberger 2022-12-15 18:23:31 +00:00 committed by Git OBS Bridge
commit e2c50a33a2
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Dec 1 09:33:47 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Rename xz-static-devel -> xz-devel-static to follow the general
naming used in openSUSE.
-------------------------------------------------------------------
Fri Nov 18 10:56:35 UTC 2022 - Danilo Spinella <danilo.spinella@suse.com>

10
xz.spec
View File

@ -74,17 +74,19 @@ Obsoletes: lzma-alpha-devel < %{version}
This package contains the header files and libraries needed for
compiling programs using the LZMA library.
%package static-devel
%package devel-static
Summary: Static version of LZMA library
License: SUSE-Public-Domain
Group: Development/Libraries/C and C++
Requires: lzma-devel = %{version}
Obsoletes: xz-static-devel < %{version}-%{release}
Provides: xz-static-devel = %{version}-%{release}
%description static-devel
%description devel-static
Static library for the LZMA library
%prep
%setup -q
%autosetup
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
@ -182,7 +184,7 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2}
%{_libdir}/liblzma.so
%{_libdir}/pkgconfig/liblzma.pc
%files static-devel
%files devel-static
%{_libdir}/liblzma.a
%changelog