[openvas-libraries] tar_download makro to simplify the version/download maintenance

rebus rebus at fedoraproject.org
Tue Nov 4 15:49:51 UTC 2014


commit 2cdffc562f168f5a9c91db9a6d64744499ded503
Author: Michal Ambroz <rebus at seznam.cz>
Date:   Tue Nov 4 15:49:27 2014 +0000

    tar_download makro to simplify the version/download maintenance

 openvas-libraries.spec |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/openvas-libraries.spec b/openvas-libraries.spec
index fe4af22..302d883 100644
--- a/openvas-libraries.spec
+++ b/openvas-libraries.spec
@@ -1,5 +1,6 @@
+#This number is the sequence number on intevation.org to download a file
+%global tar_download 1787
 #%global tar_version 7.0.5
-%global tar_download
 
 Name:		openvas-libraries
 Summary:	Support libraries for Open Vulnerability Assessment (OpenVAS) Scanner
@@ -8,7 +9,7 @@ License:	LGPLv2
 Group:		System Environment/Libraries
 Version:	7.0.5
 Release:	1%{?dist}
-Source0:	http://wald.intevation.org/frs/download.php/1787/%{name}-%{version}.tar.gz
+Source0:	http://wald.intevation.org/frs/download.php/%{tar_download}/%{name}-%{version}.tar.gz
 Source1:	https://svn.wald.intevation.org/svn/openvas/trunk/tools/openvas-check-setup
 
 #Build error use _DEFAULT_SOURCE instead of _BSD_SOURCE


More information about the scm-commits mailing list