From 524f5c89facff05ac94b5c81d1b844dea3d2e98c Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Wed, 25 Dec 2013 22:32:14 +0100 Subject: [PATCH] - used macro orgname --- kde4-kblocks.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kde4-kblocks.spec b/kde4-kblocks.spec index 667bbca..be24d5c 100644 --- a/kde4-kblocks.spec +++ b/kde4-kblocks.spec @@ -3,7 +3,7 @@ %define qtver 4.8.0 Summary: KDE Blocks -Name: kde4-kblocks +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-kblocks +Obsoletes: kde4-kdegames-%{orgname} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -45,7 +45,7 @@ install -d $RPM_BUILD_ROOT/var/games # remove locolor icons rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor -%find_lang kblocks --with-kde +%find_lang %{orgname} --with-kde %clean rm -rf $RPM_BUILD_ROOT @@ -53,7 +53,7 @@ rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%files -f kblocks.lang +%files -f %{orgname}.lang %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/kblocks %{_desktopdir}/kde4/kblocks.desktop -- 2.44.0