diff --git a/AppStream.changes b/AppStream.changes index efb7bd3..251f5ee 100644 --- a/AppStream.changes +++ b/AppStream.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun May 8 19:25:29 UTC 2016 - jengelh@inai.de + +- Drop unnecessary manual library require +- Avoid /bin/sh invocation for simple ldconfig calls + ------------------------------------------------------------------- Fri May 6 17:25:56 UTC 2016 - mailaender@opensuse.org diff --git a/AppStream.spec b/AppStream.spec index a92e569..c919e03 100644 --- a/AppStream.spec +++ b/AppStream.spec @@ -39,7 +39,6 @@ BuildRequires: pkgconfig(vapigen) BuildRequires: pkgconfig(xapian-core) BuildRequires: pkgconfig(yaml-0.1) BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: libappstream3 %description AppStream-Core makes it easy to access application information from the @@ -134,17 +133,13 @@ make %find_lang appstream %{name}.lang -%post -n libappstream3 -/sbin/ldconfig +%post -n libappstream3 -p /sbin/ldconfig -%postun -n libappstream3 -/sbin/ldconfig +%postun -n libappstream3 -p /sbin/ldconfig -%post -n libAppstreamQt1 -/sbin/ldconfig +%post -n libAppstreamQt1 -p /sbin/ldconfig -%postun -n libAppstreamQt1 -/sbin/ldconfig +%postun -n libAppstreamQt1 -p /sbin/ldconfig %files lang -f %{name}.lang