From d89e1af26e01b22ba82cb7f65a7dddd70e40bbf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20=C5=A0imerda?= Date: Thu, 26 Jun 2014 15:05:11 +0200 Subject: [PATCH] improve prerelease macro --- strongswan.spec | 8 +++++--- 1 file 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 - 5.2.0-0.4.dr6 +- improve prerelease macro + * Thu Jun 26 2014 Pavel Šimerda - 5.2.0-0.3 - Resolves: #1111895 - bump to 5.2.0dr6