12
0

Accepting request 330016 from home:dimstar:branches:GNOME:Factory

- Add nm-strongswan-fix-config.patch: Fix path to NM plugins in
  config files (boo#944769).
- Add nm-strongswan-UI-fixup.patch: Fix broken UI (boo#944769).
- Add libtool BuildRequires and call to autoreconf, as above patch
  touches the build system.

OBS-URL: https://build.opensuse.org/request/show/330016
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/NetworkManager-strongswan?expand=0&rev=16
This commit is contained in:
2015-09-09 10:44:32 +00:00
committed by Git OBS Bridge
parent 4205bd65b7
commit 072d88de32
4 changed files with 63 additions and 0 deletions

View File

@@ -27,7 +27,13 @@ Source0: http://download.strongswan.org/NetworkManager/%{name}-%{version}
Source1: README
# PATCH-FIX-UPSTREAM nm-strongswan-service-conf.patch binli@opensuse.org -- Dismiss the rpmlint warning for 'send_interface'
Patch0: nm-strongswan-service-conf.patch
# PATCH-FIX-UPSTREAM nm-strongswan-UI-fixup.patch boo#944769 dimstar@opensuse.org -- Fix broken UI
Patch1: nm-strongswan-UI-fixup.patch
# PATCH-FIX-UPSTREAM nm-strongswan-fix-config.patch boo#944769 dimstar@opensuse.org -- Fix path to NM plugins in config file
Patch2: nm-strongswan-fix-config.patch
BuildRequires: intltool
# Needed by patch2
BuildRequires: libtool
BuildRequires: pkgconfig(NetworkManager) >= 0.9.0
BuildRequires: pkgconfig(dbus-glib-1) >= 0.30
BuildRequires: pkgconfig(gnome-keyring-1)
@@ -62,9 +68,13 @@ strongSwan.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
cp %{SOURCE1} README.SUSE
%build
# Needed by patch2
autoreconf -fiv
%configure\
--disable-static \
--disable-more-warnings