Accepting request 113791 from network:vpn
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/113791 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openvpn?expand=0&rev=37
This commit is contained in:
commit
9743146250
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 29 09:45:56 UTC 2012 - mt@suse.com
|
||||
|
||||
- Fixed SLES build readding Group tags to sub-packages in spec,
|
||||
not require libselinux-devel on SLE-10 and datadir/doc cleanup.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 15 15:21:32 UTC 2012 - mt@suse.com
|
||||
|
||||
|
10
openvpn.spec
10
openvpn.spec
@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: openvpn
|
||||
Url: http://openvpn.net/
|
||||
%if 0%{?suse_version}
|
||||
@ -42,10 +41,12 @@ Patch5: openvpn-2.2.1-man-dot.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: automake
|
||||
BuildRequires: iproute2
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: lzo-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: pam-devel
|
||||
%if 0%{?suse_version} > 1010
|
||||
BuildRequires: libselinux-devel
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1030
|
||||
BuildRequires: pkcs11-helper-devel
|
||||
Requires: pkcs11-helper
|
||||
@ -80,6 +81,7 @@ Authors:
|
||||
|
||||
%package down-root-plugin
|
||||
Summary: OpenVPN down-root plugin
|
||||
Group: Productivity/Networking/Security
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description down-root-plugin
|
||||
@ -102,6 +104,7 @@ Authors:
|
||||
|
||||
%package auth-pam-plugin
|
||||
Summary: OpenVPN auth-pam plugin
|
||||
Group: Productivity/Networking/Security
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description auth-pam-plugin
|
||||
@ -190,8 +193,7 @@ for pi in auth-pam down-root; do
|
||||
$RPM_BUILD_ROOT%{plugin_libdir}/
|
||||
done
|
||||
# we install docs via spec into _defaultdocdir/name/management-notes.txt
|
||||
rm $RPM_BUILD_ROOT%{_datadir}/doc/%name/management-notes.txt
|
||||
rmdir $RPM_BUILD_ROOT%{_datadir}/doc/%name
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/{OpenVPN,%name}
|
||||
|
||||
%clean
|
||||
if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT; fi
|
||||
|
Loading…
Reference in New Issue
Block a user