[packages/kdelibs/dev-trinity] remove makeinstall stamp if .spec is modified
glen
glen at pld-linux.org
Tue May 27 23:18:26 CEST 2014
commit cedefefce6045f16a9bfb89e515dc794c2cf4d55
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue May 27 22:37:39 2014 +0300
remove makeinstall stamp if .spec is modified
kdelibs.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/kdelibs.spec b/kdelibs.spec
index 1cce8a1..cea8939 100644
--- a/kdelibs.spec
+++ b/kdelibs.spec
@@ -36,7 +36,7 @@ Summary(ru.UTF-8): K Desktop Environment 3 - Библиотеки
Summary(uk.UTF-8): K Desktop Environment 3 - Бібліотеки
Name: kdelibs
Version: 3.5.13.2
-Release: 0.3
+Release: 0.4
Epoch: 9
License: LGPL v2
Group: X11/Libraries
@@ -428,8 +428,11 @@ cd build
..
%{__make}
+rm -f makeinstall.stamp
%install
+test -f makeinstall.stamp -a %{_specdir}/%{name}.spec -nt makeinstall.stamp && rm -f makeinstall.stamp
+
if [ ! -f makeinstall.stamp -o ! -d $RPM_BUILD_ROOT ]; then
rm -rf makeinstall.stamp installed.stamp $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kdelibs.git/commitdiff/cedefefce6045f16a9bfb89e515dc794c2cf4d55
More information about the pld-cvs-commit
mailing list