[packages/lua51] move library compat to proper package
glen
glen at pld-linux.org
Wed Aug 27 18:32:43 CEST 2014
commit f30f361b214ed25406b896f740ce949813d8dbb8
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Aug 27 19:31:21 2014 +0300
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 || :
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lua51.git/commitdiff/f30f361b214ed25406b896f740ce949813d8dbb8
More information about the pld-cvs-commit
mailing list