Accepting request 147348 from KDE:Distro:Factory

Added /sbin/ldconfig in %post/%postun (fix for rpmlint errors) (forwarded request 147332 from adra)

OBS-URL: https://build.opensuse.org/request/show/147348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksirk?expand=0&rev=3
This commit is contained in:
Stephan Kulow
2013-01-07 10:04:50 +00:00
committed by Git OBS Bridge
parent 7fee5bca79
commit b74d1906d6
4 changed files with 26 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package ksirk
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,37 +17,39 @@
Name: ksirk
BuildRequires: libkdegames-devel
BuildRequires: libqca2-devel
BuildRequires: xz
Summary: Risk-like game for KDE
License: GPL-2.0+ and LGPL-2.0+
Group: Amusements/Games/Strategy/Turn Based
Url: http://www.kde.org
Version: 4.9.95
Version: 4.9.97
Release: 0
Source0: ksirk-%{version}.tar.xz
BuildRequires: libkdegames-devel
BuildRequires: libqca2-devel
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
KsirK is a computerized version of a well known strategy game.
%prep
%setup -q -n ksirk-%{version}
%setup -q
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%kde4_makeinstall
%kde4_makeinstall -C build
rm %{buildroot}%{_kde4_libdir}/libiris_ksirk.so
%kde_post_install
%files
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB
%{_kde4_bindir}/ksirk