From f30f361b214ed25406b896f740ce949813d8dbb8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 27 Aug 2014 19:31:21 +0300 Subject: [PATCH] move library compat to proper package --- lua51.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lua51.spec b/lua51.spec index 4c0beea..b674105 100644 --- a/lua51.spec +++ b/lua51.spec @@ -22,12 +22,6 @@ BuildRequires: sed >= 4.0 Requires: %{name}-libs = %{version}-%{release} Provides: lua = %{version} Obsoletes: lua < 4.0.1 -# Provide old SONAME to avoid rebuilds -%ifarch %{x8664} -Provides: liblua.so.5.1()(64bit) -%else -Provides: liblua.so.5.1 -%endif BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -58,6 +52,12 @@ Ta wersja ma wkompilowaną obsługę ładowania dynamicznych bibliotek. Summary: lua 5.1.x libraries Summary(pl.UTF-8): Biblioteki lua 5.1.x Group: Libraries +# Provide old SONAME to avoid rebuilds +%ifarch %{x8664} +Provides: liblua.so.5.1()(64bit) +%else +Provides: liblua.so.5.1 +%endif %description libs lua 5.1.x libraries. @@ -210,7 +210,7 @@ rm -rf $RPM_BUILD_ROOT %post libs-c++ -p /sbin/ldconfig %postun libs-c++ -p /sbin/ldconfig -%triggerpostun -- %{name} < 5.1.5-1.2 +%triggerpostun libs -- %{name}-libs < 5.1.5-1.2 # restore symlink which ldconfig removed (it was ghost of old package) ln -s liblua5.1.so.0 %{_libdir}/liblua.so.5.1 || : -- 2.44.0