Accepting request 147346 from KDE:Distro:Factory

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

OBS-URL: https://build.opensuse.org/request/show/147346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kolf?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2013-01-07 10:04:19 +00:00 committed by Git OBS Bridge
parent 5b06a25107
commit 8da12b9c7c
4 changed files with 25 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d288a47639eed6ead1c95eecdba62cb895fdb859fd53c44ef6770f5a4bde8213
size 780436

3
kolf-4.9.97.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e20e1a63b622eeac26413b7a0226479b62f3fbb6b4766ddf70d44bc7d7a97701
size 777588

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Jan 5 19:55:29 UTC 2013 - asterios.dramis@gmail.com
- Added /sbin/ldconfig in %post/%postun (fix for rpmlint errors).
-------------------------------------------------------------------
Thu Jan 3 21:50:06 UTC 2013 - tittiatcoke@gmail.com
- Update to 4.9.97
* This is the second RC release for 4.10. Contains bugfixes
-------------------------------------------------------------------
Thu Dec 27 14:20:38 UTC 2012 - tittiatcoke@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package kolf
#
# 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,15 +17,15 @@
Name: kolf
BuildRequires: libkdegames-devel
BuildRequires: xz
Summary: Miniature golf game
License: GPL-2.0+ and LGPL-2.0+
Group: Amusements/Games/Board/Puzzle
Url: http://www.kde.org
Version: 4.9.95
Version: 4.9.97
Release: 0
Source0: kolf-%{version}.tar.xz
BuildRequires: libkdegames-devel
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
@ -34,20 +34,23 @@ Kolf is a miniature golf game for KDE.
%prep
%setup -q -n kolf-%{version}
%setup -q
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%kde4_makeinstall
%kde4_makeinstall -C build
rm -rf %{buildroot}/%{_kde4_libdir}/libkolfprivate.so
%suse_update_desktop_file -r kolf Game SportsGame
%kde_post_install
%files
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB
%{_kde4_bindir}/kolf