[strongswan] improve prerelease macro
Pavel Šimerda
pavlix at fedoraproject.org
Thu Jun 26 13:05:51 UTC 2014
commit d89e1af26e01b22ba82cb7f65a7dddd70e40bbf1
Author: Pavel Šimerda <psimerda at redhat.com>
Date: Thu Jun 26 15:05:11 2014 +0200
improve prerelease macro
strongswan.spec | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/strongswan.spec b/strongswan.spec
index a664ac7..8f26dd8 100644
--- a/strongswan.spec
+++ b/strongswan.spec
@@ -1,15 +1,14 @@
%global _hardened_build 1
%define prerelease dr6
-%define suffix .dr6
Name: strongswan
Version: 5.2.0
-Release: 0.3%{suffix}%{?dist}
+Release: 0.4%{?prerelease:.%{prerelease}}%{?dist}
Summary: An OpenSource IPsec-based VPN and TNC solution
Group: System Environment/Daemons
License: GPLv2+
URL: http://www.strongswan.org/
-Source0: http://download.strongswan.org/%{name}-%{version}%{prerelease}.tar.bz2
+Source0: http://download.strongswan.org/%{name}-%{version}%{?prerelease}.tar.bz2
# Initscript for epel6
Source1: %{name}.sysvinit
# Fix selinux issues caused by leaking file descriptors to xtables-multi
@@ -359,6 +358,9 @@ fi
%endif
%changelog
+* Thu Jun 26 2014 Pavel Šimerda <psimerda at redhat.com> - 5.2.0-0.4.dr6
+- improve prerelease macro
+
* Thu Jun 26 2014 Pavel Šimerda <psimerda at redhat.com> - 5.2.0-0.3
- Resolves: #1111895 - bump to 5.2.0dr6
More information about the scm-commits
mailing list