summaryrefslogtreecommitdiffstats
path: root/redhat/libraries
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/libraries
parentc0576233e9f39543895fd2092f8bfae4c56d47ef (diff)
downloadtde-packaging-07d7faf51637503308a6c8d8780b7df8f9e6f094.tar.gz
tde-packaging-07d7faf51637503308a6c8d8780b7df8f9e6f094.zip
RPM Packaging: remove lots of useless %post sections
Diffstat (limited to 'redhat/libraries')
-rw-r--r--redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec24
-rw-r--r--redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec12
-rw-r--r--redhat/libraries/libkipi/libkipi-14.0.0.spec20
-rw-r--r--redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec12
-rw-r--r--redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec12
-rw-r--r--redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec12
6 files changed, 0 insertions, 92 deletions
diff --git a/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec b/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec
index 87c5e77e8..07121ecbb 100644
--- a/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec
+++ b/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec
@@ -110,12 +110,6 @@ libkdcraw contains the library of libkdcraw.
%{tde_libdir}/libkdcraw.so.4
%{tde_libdir}/libkdcraw.so.4.0.3
-%post -n trinity-%{libkdcraw}4
-/sbin/ldconfig || :
-
-%postun -n trinity-%{libkdcraw}4
-/sbin/ldconfig || :
-
##########
%package -n trinity-libkdcraw-common
@@ -133,18 +127,6 @@ libkdcraw contains the library of libkdcraw.
%defattr(-,root,root,-)
%{tde_datadir}/icons/hicolor/*/apps/kdcraw.png
-%post -n trinity-libkdcraw-common
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
-done
-
-%postun -n trinity-libkdcraw-common
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
-done
-
##########
%package -n trinity-%{libkdcraw}-devel
@@ -168,12 +150,6 @@ library documentation is available on kdcraw.h header file.
%{tde_tdeincludedir}/libkdcraw/
%{tde_libdir}/pkgconfig/libkdcraw.pc
-%post -n trinity-%{libkdcraw}-devel
-/sbin/ldconfig || :
-
-%postun -n trinity-%{libkdcraw}-devel
-/sbin/ldconfig || :
-
##########
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
diff --git a/redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec b/redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec
index 219f15c4f..bb3a18151 100644
--- a/redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec
+++ b/redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec
@@ -112,12 +112,6 @@ Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata.
%{tde_libdir}/libkexiv2.so.5
%{tde_libdir}/libkexiv2.so.5.0.0
-%post -n trinity-%{libkexiv}2-5
-/sbin/ldconfig || :
-
-%postun -n trinity-%{libkexiv}2-5
-/sbin/ldconfig || :
-
##########
%package -n trinity-%{libkexiv}2-devel
@@ -140,12 +134,6 @@ Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata.
%{tde_tdeincludedir}/libkexiv2/
%{tde_libdir}/pkgconfig/libkexiv2.pc
-%post -n trinity-%{libkexiv}2-devel
-/sbin/ldconfig || :
-
-%postun -n trinity-%{libkexiv}2-devel
-/sbin/ldconfig || :
-
##########
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
diff --git a/redhat/libraries/libkipi/libkipi-14.0.0.spec b/redhat/libraries/libkipi/libkipi-14.0.0.spec
index 04e3600d6..0d464d566 100644
--- a/redhat/libraries/libkipi/libkipi-14.0.0.spec
+++ b/redhat/libraries/libkipi/libkipi-14.0.0.spec
@@ -116,20 +116,6 @@ Libkipi is a library
Homepage: http://www.kipi-plugins.org/
-%post -n trinity-%{libkipi}0
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
-done
-/sbin/ldconfig || :
-
-%postun -n trinity-%{libkipi}0
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
-done
-/sbin/ldconfig || :
-
%files -n trinity-%{libkipi}0 -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%{tde_libdir}/libkipi.so.0
@@ -164,12 +150,6 @@ Homepage: http://www.kipi-plugins.org/
%{tde_tdeincludedir}/libkipi/
%{tde_libdir}/pkgconfig/libkipi.pc
-%post -n trinity-%{libkipi}-devel
-/sbin/ldconfig || :
-
-%postun -n trinity-%{libkipi}-devel
-/sbin/ldconfig || :
-
##########
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
diff --git a/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec b/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec
index 84f2f8cc7..8c566a20d 100644
--- a/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec
+++ b/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec
@@ -321,12 +321,6 @@ This package contains the runtime libraries for KSquirrel.
%{tde_datadir}/ksquirrel-libs/libkls_xcf.so.ui
%{tde_datadir}/ksquirrel-libs/rgbmap
-%post
-/sbin/ldconfig || :
-
-%postun
-/sbin/ldconfig || :
-
##########
%package devel
@@ -474,12 +468,6 @@ This package contains the development libraries for KSquirrel.
%{tde_libdir}/pkgconfig/ksquirrellibs.pc
%{tde_docdir}/ksquirrel-libs/
-%post devel
-/sbin/ldconfig || :
-
-%postun devel
-/sbin/ldconfig || :
-
##########
%package tools
diff --git a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
index 4c37c61ee..4a651dc35 100644
--- a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
+++ b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
@@ -102,12 +102,6 @@ BuildRequires: heimdal-devel
%description
LDAP interface library for TDE management modules.
-%post
-/sbin/ldconfig || :
-
-%postun
-/sbin/ldconfig || :
-
%files
%defattr(-,root,root,-)
%{tde_libdir}/libtdeldap.so.1
@@ -125,12 +119,6 @@ LDAP interface library for TDE management modules.
libtdeldap-trinity-dev contains development files and documentation.
-%post devel
-/sbin/ldconfig || :
-
-%postun devel
-/sbin/ldconfig || :
-
%files devel
%defattr(-,root,root,-)
%{tde_tdeincludedir}/ldappasswddlg.h
diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
index 6e39b735c..88888da02 100644
--- a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
+++ b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
@@ -105,12 +105,6 @@ to support the creation and installation of TDE applications.
This package contains the libpythonize library files.
-%post -n trinity-libpythonize0
-/sbin/ldconfig
-
-%postun -n trinity-libpythonize0
-/sbin/ldconfig
-
%files -n trinity-libpythonize0
%defattr(-,root,root,-)
%{tde_libdir}/libpythonize.so.*
@@ -131,12 +125,6 @@ to support the creation and installation of TDE applications.
This package contains the libpythonize development files.
-%post -n trinity-libpythonize-devel
-/sbin/ldconfig
-
-%postun -n trinity-libpythonize-devel
-/sbin/ldconfig
-
%files -n trinity-libpythonize-devel
%defattr(-,root,root,-)
%{tde_tdeincludedir}/*.h