[packages/kdepim/dev-trinity: 6/6] add _applnkdir macro
glen
glen at pld-linux.org
Sat Jun 7 11:33:07 CEST 2014
commit a10a667f6bb703e6c33c11d3685a779e01f933bd
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Jun 7 12:31:52 2014 +0300
add _applnkdir macro
kdepim.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/kdepim.spec b/kdepim.spec
index 5b86666..56f4e01 100644
--- a/kdepim.spec
+++ b/kdepim.spec
@@ -78,6 +78,7 @@ Obsoletes: kdepim-kresources
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _libexecdir %{_libdir}/kde3
+%define _applnkdir %{_datadir}/applnk
# Usage: onoff BCOND_NAME
%define onoff() %{expand:%%{?with_%{1}:ON}%%{!?with_%{1}:OFF}}
@@ -641,7 +642,7 @@ fi
if [ ! -f installed.stamp ]; then
# remove checked files
- %{__rm} $RPM_BUILD_ROOT%{_datadir}/applnk/{Applications/kalarm,Utilities/{kandy,karm,kmailcvt}}.desktop
+ %{__rm} $RPM_BUILD_ROOT%{_applnkdir}/{Applications/kalarm,Utilities/{kandy,karm,kmailcvt}}.desktop
rm -f $RPM_BUILD_ROOT%{_libexecdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libexecdir}/plugins/designer/kdepimwidgets.la
@@ -970,7 +971,7 @@ rm -rf $RPM_BUILD_ROOT
%files kalarm -f kalarm.lang
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/kalarm*
-%{_datadir}/applnk/.hidden/kalarmd.desktop
+%{_applnkdir}/.hidden/kalarmd.desktop
%{_datadir}/apps/kalarm*
%{_datadir}/autostart/kalarm*.desktop
%{_desktopdir}/kde/kalarm.desktop
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kdepim.git/commitdiff/a10a667f6bb703e6c33c11d3685a779e01f933bd
More information about the pld-cvs-commit
mailing list