packages: poldek/poldek.spec - add cache dir
glen
glen at pld-linux.org
Wed Jan 18 13:12:03 CET 2012
Author: glen Date: Wed Jan 18 12:12:03 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- add cache dir
---- Files affected:
packages/poldek:
poldek.spec (1.431 -> 1.432)
---- Diffs:
================================================================
Index: packages/poldek/poldek.spec
diff -u packages/poldek/poldek.spec:1.431 packages/poldek/poldek.spec:1.432
--- packages/poldek/poldek.spec:1.431 Thu Jan 12 00:45:03 2012
+++ packages/poldek/poldek.spec Wed Jan 18 13:11:58 2012
@@ -18,7 +18,7 @@
%define ver_rpm 4.5-49
%define snap rc3
-%define rel 2
+%define rel 3
Summary: RPM packages management helper tool
Summary(hu.UTF-8): RPM csomagkezelést segítő eszköz
Summary(pl.UTF-8): Pomocnicze narzędzie do zarządzania pakietami RPM
@@ -237,7 +237,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name}/repos.d,/var/cache/%{name}}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
@@ -317,13 +317,13 @@
sed -e 's|%%ARCH%%|%{_ftp_arch}|g' < %{pld_archive_conf} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-archive.conf
%endif
-cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/cli.conf
+cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/cli.conf
%if %{with imode}
# add desktop file and icon
install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
-cp -a %{SOURCE6} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
-cp -a %{SOURCE7} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+cp -p %{SOURCE7} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
%endif
# sources we don't package
@@ -453,6 +453,7 @@
%{_desktopdir}/%{name}.desktop
%{_pixmapsdir}/%{name}.png
%endif
+%dir /var/cache/%{name}
%if %{without static}
%files libs
@@ -493,6 +494,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.432 2012/01/18 12:11:58 glen
+- add cache dir
+
Revision 1.431 2012/01/11 23:45:03 glen
- libtoolize needed as well
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/poldek/poldek.spec?r1=1.431&r2=1.432&f=u
More information about the pld-cvs-commit
mailing list