From 52566ec54cce1278740d79ae77228f76f20b4ff0 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Fri, 25 May 2018 09:37:23 +0200 Subject: [PATCH 1/2] Remove the Group tag --- libindicator.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libindicator.spec b/libindicator.spec index 22b066c..8870d71 100644 --- a/libindicator.spec +++ b/libindicator.spec @@ -3,7 +3,6 @@ Version: 12.10.1 Release: 12%{?dist} Summary: Shared functions for Ayatana indicators -Group: System Environment/Libraries License: GPLv3 URL: https://launchpad.net/libindicator Source0: https://launchpad.net/libindicator/12.10/12.10.1/+download/%{name}-%{version}.tar.gz @@ -26,7 +25,6 @@ likely to use. %package devel Summary: Development files for %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig @@ -37,7 +35,6 @@ developing applications that use %{name}. %package tools Summary: Shared functions for Ayatana indicators - Tools -Group: Development/Tools Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig @@ -48,7 +45,6 @@ Ayatana indicators system. %package gtk3 Summary: GTK+3 build of %{name} -Group: System Environment/Libraries %description gtk3 A set of symbols and convenience functions that all Ayatana indicators @@ -58,7 +54,6 @@ by GTK+ 3 apps. %package gtk3-devel Summary: Development files for %{name}-gtk3 -Group: Development/Libraries Requires: %{name}-gtk3%{?_isa} = %{version}-%{release} Requires: pkgconfig @@ -70,7 +65,6 @@ developing applications that use %{name}-gtk3. %package gtk3-tools Summary: Shared functions for Ayatana indicators - GTK3 Tools -Group: Development/Tools Requires: %{name}-gtk3%{?_isa} = %{version}-%{release} Requires: pkgconfig From 79213e7907ab8ccbcabd89744e147df2d5b2cbbe Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Fri, 25 May 2018 09:38:34 +0200 Subject: [PATCH 2/2] Move to ldconfig_scriptlets --- libindicator.spec | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/libindicator.spec b/libindicator.spec index 8870d71..e54bc4c 100644 --- a/libindicator.spec +++ b/libindicator.spec @@ -165,15 +165,8 @@ rm -f %{buildroot}%{_libdir}/libdummy-indicator*.so # Remove libtool files find %{buildroot} -type f -name '*.la' -delete - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - - -%post gtk3 -p /sbin/ldconfig - -%postun gtk3 -p /sbin/ldconfig +%ldconfig_scriptlets +%ldconfig_scriptlets gtk3 %files