From d0616b6e355a51cd303372dbe73cef045f63b31a Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Wed, 25 Dec 2013 22:35:57 +0100 Subject: [PATCH] - use macro orgname --- kde4-kfourinline.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kde4-kfourinline.spec b/kde4-kfourinline.spec index 8f2045d..eb11211 100644 --- a/kde4-kfourinline.spec +++ b/kde4-kfourinline.spec @@ -3,7 +3,7 @@ %define qtver 4.8.0 Summary: KFourinline -Name: kde4-kfourinline +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-kfourinline +Obsoletes: kde4-kdegames-%{orgname} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -45,12 +45,12 @@ install -d $RPM_BUILD_ROOT/var/games # remove locolor icons rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor -%find_lang kfourinline --with-kde +%find_lang %{orgname} --with-kde %clean rm -rf $RPM_BUILD_ROOT -%files -f kfourinline.lang +%files -f %{orgname}.lang %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/kfourinline %attr(755,root,root) %{_bindir}/kfourinlineproc -- 2.44.0