[packages/kde4-kblocks] - used macro orgname

witekfl witekfl at pld-linux.org
Wed Dec 25 22:32:39 CET 2013


commit 524f5c89facff05ac94b5c81d1b844dea3d2e98c
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Wed Dec 25 22:32:14 2013 +0100

    - 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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kblocks.git/commitdiff/524f5c89facff05ac94b5c81d1b844dea3d2e98c



More information about the pld-cvs-commit mailing list