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
This commit is contained in:
Olav Reinert 2017-05-27 07:51:14 +00:00 committed by Git OBS Bridge
parent bb0fc22518
commit 37251a3e59
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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