packages (DEVEL): roundcubemail/roundcubemail.spec - trigger: use lowest re...
glen
glen at pld-linux.org
Wed Dec 8 20:19:31 CET 2010
Author: glen Date: Wed Dec 8 19:19:31 2010 GMT
Module: packages Tag: DEVEL
---- Log message:
- trigger: use lowest release in target version (release=0)
- trigger: skip version note on downgrade
---- Files affected:
packages/roundcubemail:
roundcubemail.spec (1.107.2.5 -> 1.107.2.6)
---- Diffs:
================================================================
Index: packages/roundcubemail/roundcubemail.spec
diff -u packages/roundcubemail/roundcubemail.spec:1.107.2.5 packages/roundcubemail/roundcubemail.spec:1.107.2.6
--- packages/roundcubemail/roundcubemail.spec:1.107.2.5 Wed Dec 8 20:05:43 2010
+++ packages/roundcubemail/roundcubemail.spec Wed Dec 8 20:19:25 2010
@@ -23,7 +23,7 @@
Summary(pl.UTF-8): RoundCube Webmail - poczta przez WWW
Name: roundcubemail
Version: 0.5
-Release: 0.%{subver}.3
+Release: 0.%{subver}.8
License: GPL v2
Group: Applications/Mail
Source0: http://downloads.sourceforge.net/roundcubemail/%{name}-%{version}-%{subver}.tar.gz
@@ -317,8 +317,13 @@
fi
# Note this on version upgrade
-%triggerpostun -- %{name} < %{version}-1
-%banner -e %{name} <<-EOF
+%triggerpostun -- %{name} < %{version}-0
+echo %{name}-%{version}-%{release}: $#: $@
+# don't do anything on --downgrade
+if [ $1 -le 1 ]; then
+ exit 0
+fi
+%banner -e %{name}-upgrade <<-EOF
Run %{_appdir}/bin/update to update to version %{version}.
(Be sure to have %{name}-setup installed when you run it)
@@ -396,6 +401,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.107.2.6 2010/12/08 19:19:25 glen
+- trigger: use lowest release in target version (release=0)
+- trigger: skip version note on downgrade
+
Revision 1.107.2.5 2010/12/08 19:05:43 glen
- include release on trigger, or the trigger will match on each upgrade
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/roundcubemail/roundcubemail.spec?r1=1.107.2.5&r2=1.107.2.6&f=u
More information about the pld-cvs-commit
mailing list