[eurephia/f17] Added a hack to make it build on Fedora 17/18
dsommers
dsommers at fedoraproject.org
Tue Oct 9 02:05:45 UTC 2012
commit e5b66fd52f5c78e113844cbf88fe75bc9151d07c
Author: David Sommerseth <davids at redhat.com>
Date: Tue Oct 9 04:04:56 2012 +0200
Added a hack to make it build on Fedora 17/18
Signed-off-by: David Sommerseth <davids at redhat.com>
.gitignore | 1 +
eurephia.spec | 7 ++++++-
sources | 1 +
3 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4275c33..954ff39 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/eurephia-1.0.1.tar.bz2
/eurephia-1.1.0.tar.bz2
+/eurephia-1.1.0_buildfix.patch
diff --git a/eurephia.spec b/eurephia.spec
index 105e909..684d4a4 100644
--- a/eurephia.spec
+++ b/eurephia.spec
@@ -1,6 +1,6 @@
Name: eurephia
Version: 1.1.0
-Release: 2%{?betatag:.%{betatag}}%{?dist}
+Release: 3%{?betatag:.%{betatag}}%{?dist}
Summary: An advanced and flexible OpenVPN user authentication plug-in
Group: Applications/Internet
@@ -9,6 +9,7 @@ URL: http://www.eurephia.net/
Source0: http://downloads.sourceforge.net/project/eurephia/eurephia/v1.1/%{name}-%{version}%{?betatag:_%{betatag}}.tar.bz2
# Source1 can be downloaded from this URL: http://openvpn.git.sourceforge.net/git/gitweb.cgi?p=openvpn/openvpn.git;a=blob_plain;f=openvpn-plugin.h;hb=v2.2.2
Source1: openvpn-plugin.h
+Patch0: eurephia-1.1.0_buildfix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}{?betatag:_%{betatag}}-root-%(%{__id_u} -n)
BuildRequires: libxml2-devel libxslt-devel openssl-devel
@@ -71,6 +72,7 @@ hash salt.
%prep
%setup -q -n %{name}-%{version}%{?betatag:_%{betatag}}
+%patch0 -p1
# This is needed to ship extra until openvpn-plugin.h becomes part of the OpenVPN RPM
cp -v %{SOURCE1} .
@@ -139,6 +141,9 @@ rm -rf %{buildroot}
%{_mandir}/man7/eurephia_saltdecode.7.gz
%changelog
+* Tue Oct 9 2012 David Sommerseth <dazo at users.sourceforge.net> - 1.1.0-3
+- Hack to make it build on Fedora 17 and 18
+
* Tue Oct 9 2012 David Sommerseth <dazo at users.sourceforge.net> - 1.1.0-2
- Corrected wrong download URL for eurephia v1.1 source code
diff --git a/sources b/sources
index 082a207..2360ff6 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,3 @@
b4c329cbac5fd38dc8f4f3f13c36bf11 eurephia-1.0.1.tar.bz2
b902119628931a45c7a84ed3d1bb1513 eurephia-1.1.0.tar.bz2
+8d90df6a238050baf4b7481f429523ea eurephia-1.1.0_buildfix.patch
More information about the scm-commits
mailing list