SPECS: lesspipe.spec - version manually to overcome srcbuilder limitations
glen
glen at pld-linux.org
Sat Nov 8 16:30:20 CET 2008
Author: glen Date: Sat Nov 8 15:30:20 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- version manually to overcome srcbuilder limitations
---- Files affected:
SPECS:
lesspipe.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SPECS/lesspipe.spec
diff -u SPECS/lesspipe.spec:1.8 SPECS/lesspipe.spec:1.9
--- SPECS/lesspipe.spec:1.8 Sat Nov 8 16:13:23 2008
+++ SPECS/lesspipe.spec Sat Nov 8 16:30:14 2008
@@ -1,9 +1,8 @@
# $Revision$, $Date$
-%define rev %(awk '/Id.*Exp/{print $4}' %{SOURCE0} 2>/dev/null || echo ERROR)
Summary: Input preprocessor for less
Summary(pl.UTF-8): Preprocesor wejścia dla narzędzia less
Name: lesspipe
-Version: %{rev}
+Version: 1.32
Release: 1
License: GPL v2
Group: Applications/Text
@@ -33,6 +32,11 @@
różnych archiwów w sposób czytelny dla człowieka.
%prep
+rev=$(awk '/Id.*Exp/{print $4}' %{SOURCE0})
+if [ "$rev" != "%{version}" ]; then
+ : define version to $rev
+ exit 1
+fi
%install
rm -rf $RPM_BUILD_ROOT
@@ -64,6 +68,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2008/11/08 15:30:14 glen
+- version manually to overcome srcbuilder limitations
+
Revision 1.8 2008/11/08 15:13:23 glen
- add tar.lzma
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lesspipe.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list