- Fixed SLES build readding Group tags to sub-packages in spec,

not require libselinux-devel on SLE-10 and datadir/doc cleanup.

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=39
This commit is contained in:
Marius Tomaschewski 2012-03-29 09:48:53 +00:00 committed by Git OBS Bridge
parent 871d8db2b6
commit 2ca2ba7e01
2 changed files with 7 additions and 5 deletions

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Thu Mar 29 09:15:20 UTC 2012 - mt@suse.com
Thu Mar 29 09:45:56 UTC 2012 - mt@suse.com
- Added Group tags to plugin sub-packages
- 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

View File

@ -41,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
@ -191,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