diff --git a/xz.changes b/xz.changes index 7981032..a3d8cdc 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 1 09:33:47 UTC 2022 - Jan Engelhardt + +- 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 diff --git a/xz.spec b/xz.spec index 49ef6a0..cea0de5 100644 --- a/xz.spec +++ b/xz.spec @@ -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