commit 924a5a4b5bbfc0c566fb3fc234c49ca80cb17274
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Aug 28 21:47:13 2018 +0300

    up to 3.5.3-7-gf3c41492

 eventum.spec     | 10 +++++-----
 update-source.sh |  2 ++
 2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/eventum.spec b/eventum.spec
index 57805b0..a86e8f6 100644
--- a/eventum.spec
+++ b/eventum.spec
@@ -3,8 +3,8 @@
 %bcond_with    order   # with experimental order patch
 
 %define                rel             1
-#define                subver  45
-#define                githash dc8e82f4
+%define                subver  7
+%define                githash f3c41492
 %define                php_min_version 5.6.0
 Summary:       Eventum Issue / Bug tracking system
 Summary(pl.UTF-8):     Eventum - system śledzenia spraw/błędów
@@ -13,9 +13,9 @@ Version:      3.5.3
 Release:       %{?subver:1.%{subver}.%{?githash:g%{githash}.}}%{rel}
 License:       GPL v2+
 Group:         Applications/WWW
-Source0:       
https://github.com/eventum/eventum/releases/download/v%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: 2c923a45b78d43d3527e6e0d15232c11
-#Source0:      
https://github.com/eventum/eventum/releases/download/snapshot/%{name}-%{version}-%{subver}-g%{githash}.tar.xz
+#Source0:      
https://github.com/eventum/eventum/releases/download/v%{version}/%{name}-%{version}.tar.xz
+Source0:       
https://github.com/eventum/eventum/releases/download/snapshot/%{name}-%{version}-%{subver}-g%{githash}.tar.xz
+# Source0-md5: 3f1bfad9c4141201caa0cce29f310eb2
 Source1:       %{name}-apache.conf
 Source2:       %{name}-mail-queue.cron
 Source3:       %{name}-mail-download.cron
diff --git a/update-source.sh b/update-source.sh
index c006f34..52eecbb 100755
--- a/update-source.sh
+++ b/update-source.sh
@@ -45,6 +45,8 @@ echo "Updating $specfile for $rev (subver: $subver, githash: 
$githash)..."
 sed -i -re "
        s/^[#%](define[ \t]+subver[ \t]+)[0-9]+\$/%\1$subver/
        s/^[#%](define[ \t]+githash[ \t]+)[0-9a-fg]+\$/%\1$githash/
+        /^Source0:.*download\/v/ s/^/#/
+       /^#Source0:.*download\/snapshot/ s/^#//
 " $specfile
 ../builder -ncs -5 $specfile
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/eventum.git/commitdiff/acd00494b4a4d87bb93d57dabbfb97508af34b92

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to