summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kaffeine
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-09-04 22:17:12 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2016-09-05 19:47:54 +0200
commit07d7faf51637503308a6c8d8780b7df8f9e6f094 (patch)
tree2b1e6193955e28450ce679f962107cd0740ba023 /redhat/applications/kaffeine
parentc0576233e9f39543895fd2092f8bfae4c56d47ef (diff)
downloadtde-packaging-07d7faf51637503308a6c8d8780b7df8f9e6f094.tar.gz
tde-packaging-07d7faf51637503308a6c8d8780b7df8f9e6f094.zip
RPM Packaging: remove lots of useless %post sections
Diffstat (limited to 'redhat/applications/kaffeine')
-rw-r--r--redhat/applications/kaffeine/kaffeine-14.0.0.spec31
1 files changed, 3 insertions, 28 deletions
diff --git a/redhat/applications/kaffeine/kaffeine-14.0.0.spec b/redhat/applications/kaffeine/kaffeine-14.0.0.spec
index 589ddd55f..7d889c785 100644
--- a/redhat/applications/kaffeine/kaffeine-14.0.0.spec
+++ b/redhat/applications/kaffeine/kaffeine-14.0.0.spec
@@ -129,12 +129,11 @@ BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora}
-BuildRequires: gstreamer-devel >= 0.10
-BuildRequires: gstreamer-plugins-base-devel >= 0.10
+BuildRequires: gstreamer-devel >= 1.0
+BuildRequires: gstreamer-plugins-base-devel >= 1.0
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: libgstreamer-devel >= 0.10
-BuildRequires: libgstreamer-plugins-base-devel >= 0.10
+BuildRequires: %{_lib}gstreamer1.0-devel
%endif
%endif
@@ -215,18 +214,6 @@ Konqueror plugin, OSD and much more.
%{tde_datadir}/service*/*.desktop
%{tde_tdedocdir}/HTML/en/kaffeine/
-%post
-touch --no-create %{tde_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database >& /dev/null ||:
-/sbin/ldconfig || :
-
-%postun
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database >& /dev/null ||:
-/sbin/ldconfig || :
-
##########
%package devel
@@ -244,12 +231,6 @@ Requires: trinity-tdelibs-devel
%{tde_libdir}/lib*.so
%exclude %{tde_libdir}/libkaffeinepart.so
-%post devel
-/sbin/ldconfig || :
-
-%postun devel
-/sbin/ldconfig || :
-
##########
%package libs
@@ -266,12 +247,6 @@ Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%defattr(-,root,root,-)
%{tde_libdir}/lib*.so.*
-%post libs
-/sbin/ldconfig || :
-
-%postun libs
-/sbin/ldconfig || :
-
##########
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0