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 --- gentoo/libgato.ebuild | 2 +- rpm/libgato.spec | 7 ++++++- rpm/libgato.yaml | 1 - 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gentoo/libgato.ebuild b/gentoo/libgato.ebuild index e1ae941..439cd2d 100644 --- a/gentoo/libgato.ebuild +++ b/gentoo/libgato.ebuild @@ -7,7 +7,7 @@ EGIT_REPO_URI="git://gitorious.org/gato/libgato.git" inherit git-2 qt4-r2 -DESCRIPTION="Generic Attribute Profile library for Bluetooth device)" +DESCRIPTION="Generic Attribute Profile library for Bluetooth devices" HOMEPAGE="https://gitorious.org/firefox-gnome-globalmenu/qt4-gnome-globalmenu" LICENSE="GPL-2" 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