From 464c16b1bea6e5d848641afbc2457616b68f8811 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Wed, 25 Dec 2013 22:46:12 +0100 Subject: [PATCH] - orgname and no ldconfig --- kde4-kdiamond.spec | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/kde4-kdiamond.spec b/kde4-kdiamond.spec index 03b9a8d..69e1708 100644 --- a/kde4-kdiamond.spec +++ b/kde4-kdiamond.spec @@ -3,7 +3,7 @@ %define qtver 4.8.0 Summary: KDiamond -Name: kde4-kdiamond +Name: kde4-%{orgname} Version: 4.12.0 Release: 1 License: GPL @@ -17,7 +17,7 @@ BuildRequires: kde4-libkdegames-devel >= %{version} BuildRequires: qt4-build >= %{qtver} BuildRequires: qt4-qmake >= %{qtver} BuildRequires: rpmbuild(macros) >= 1.600 -Obsoletes: kde4-kdegames-kdiamond +Obsoletes: kde4-kdegames-%{orgname} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -45,15 +45,12 @@ install -d $RPM_BUILD_ROOT/var/games # remove locolor icons rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor -%find_lang kdiamond --with-kde +%find_lang %{orgname} --with-kde %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig - -%files -f kdiamond.lang +%files -f %{orgname}.lang %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/kdiamond %{_desktopdir}/kde4/kdiamond.desktop -- 2.44.0