From 89a214bc2ed4969e2feb132f573284ad43756fb720c20fe7614d7450b539ae84 Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Tue, 13 Dec 2022 09:38:54 +0000 Subject: [PATCH] Accepting request 1042586 from home:jengelh:branches:Base:System - Rename xz-static-devel -> xz-devel-static to follow the general naming used in openSUSE. OBS-URL: https://build.opensuse.org/request/show/1042586 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=119 --- xz.changes | 6 ++++++ xz.spec | 10 ++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) 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