From 37251a3e59e864b770f0e9abdb102e06a58d6b1956e0608aa8d8a45ecbc1818f Mon Sep 17 00:00:00 2001 From: Olav Reinert Date: Sat, 27 May 2017 07:51:14 +0000 Subject: [PATCH] Accepting request 498606 from home:bruno_friedmann:branches:network:vpn - Add special %if for SLE11 as patch tool can't rename files. OBS-URL: https://build.opensuse.org/request/show/498606 OBS-URL: https://build.opensuse.org/package/show/network:vpn/easy-rsa?expand=0&rev=4 --- easy-rsa.changes | 3 ++- easy-rsa.spec | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/easy-rsa.changes b/easy-rsa.changes index 4b0333e..ff4acb3 100644 --- a/easy-rsa.changes +++ b/easy-rsa.changes @@ -1,6 +1,7 @@ ------------------------------------------------------------------- -Thu May 18 05:50:49 UTC 2017 - bruno@ioda-net.ch +Sat May 27 07:30:22 UTC 2017 - bruno@ioda-net.ch +- Add special %if for SLE11 as patch tool can't rename files. - Include upstream patches + f174800.patch Generate random serial number for all certificates diff --git a/easy-rsa.spec b/easy-rsa.spec index 392c37f..98d9462 100644 --- a/easy-rsa.spec +++ b/easy-rsa.spec @@ -56,6 +56,13 @@ certificates, including sub-CAs and certificate revokation lists (CRL). %patch100 -p0 sed -i 's;#\(set_var EASYRSA \)"$PWD";\1"%{_sysconfdir}/easy-rsa";' easyrsa3/vars.example +# Add this for SLE11, patch tool can't rename file. +# Next release we should publish .md documentation. +%if 0%{?sles_version} > 0 && 0%{?sles_version} < 12 +mv -v COPYING COPYING.md +mv -v README README.md +%endif + mv -v COPYING.md COPYING mv -v README.md README mv -v README.quickstart.md README.quickstart