From 7c2976fdf5954d1a1efbf0ca97601e9b06bd646c Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Thu, 25 May 2023 11:40:11 +0200 Subject: [PATCH] Remove compat links for old so name of the libraries --- rpm.spec | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/rpm.spec b/rpm.spec index 1a88136..4a8ee5a 100644 --- a/rpm.spec +++ b/rpm.spec @@ -34,7 +34,6 @@ #global snapver rc1 %global baserelease 6 %global sover 10 -%global oldsover 9 %global srcver %{rpmver}%{?snapver:-%{snapver}} %global srcdir %{?snapver:testing}%{!?snapver:rpm-%(echo %{rpmver} | cut -d'.' -f1-2).x} @@ -180,17 +179,6 @@ Requires(meta): %{name} = %{version}-%{release} Requires: rpm-sequoia%{_isa} >= 1.4.0 %endif - -# XXX dirty temporary hack to "bootstrap" new .so version -# XXX isa bits isn't quite right for multilib but suffices for this purpose -%if "%{__isa_bits}bit" == "64bit" -Provides: librpmio.so.%{oldsover}()(64bit) -Provides: librpm.so.%{oldsover}()(64bit) -%else -Provides: librpmio.so.%{oldsover} -Provides: librpm.so.%{oldsover} -%endif - %description libs This package contains the RPM shared libraries. @@ -411,10 +399,6 @@ cd _build # as it is currently in systemd-rpm-macros rm $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/sysusers.attr -# XXX dirty temporary hack to "bootstrap" new .so version -ln -s librpmio.so.%{sover} $RPM_BUILD_ROOT/%{_libdir}/librpmio.so.%{oldsover} -ln -s librpm.so.%{sover} $RPM_BUILD_ROOT/%{_libdir}/librpm.so.%{oldsover} - cd .. mkdir -p $RPM_BUILD_ROOT%{_unitdir} @@ -546,8 +530,6 @@ fi %{_libdir}/librpm.so.%{sover} %{_libdir}/librpmio.so.%{sover}.* %{_libdir}/librpm.so.%{sover}.* -%{_libdir}/librpmio.so.%{oldsover} -%{_libdir}/librpm.so.%{oldsover} %if %{with plugins} %dir %{_libdir}/rpm-plugins