From 995317cbc86e53fd02d0b7ddbc56fa950eec4365 Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 12 May 2014 16:14:55 +0200 Subject: fix gentoo and rpm packaging minor issues --- rpm/libgato.spec | 7 ++++++- rpm/libgato.yaml | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'rpm') diff --git a/rpm/libgato.spec b/rpm/libgato.spec index bf1add9..dd943f2 100644 --- a/rpm/libgato.spec +++ b/rpm/libgato.spec @@ -20,7 +20,8 @@ License: GPL2 URL: https://gitorious.org/gato/ Source0: %{name}-%{version}.tar.bz2 Source100: libgato.yaml -BuildRequires: pkgconfig(sailfishapp) >= 0.0.10 +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(bluez) @@ -63,6 +64,10 @@ rm -rf %{buildroot} # >> install post # << install post +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + %files %defattr(-,root,root,-) # >> files diff --git a/rpm/libgato.yaml b/rpm/libgato.yaml index d861992..e8ee9fc 100644 --- a/rpm/libgato.yaml +++ b/rpm/libgato.yaml @@ -13,7 +13,6 @@ Description: | Configure: none Builder: qtc5 PkgConfigBR: -- sailfishapp >= 0.0.10 - Qt5Core - bluez AutoSubPackages: -- cgit v1.2.3