- 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:
parent
871d8db2b6
commit
2ca2ba7e01
@ -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
|
Wed Feb 15 15:21:32 UTC 2012 - mt@suse.com
|
||||||
|
@ -41,10 +41,12 @@ Patch5: openvpn-2.2.1-man-dot.diff
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: iproute2
|
BuildRequires: iproute2
|
||||||
BuildRequires: libselinux-devel
|
|
||||||
BuildRequires: lzo-devel
|
BuildRequires: lzo-devel
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
|
%if 0%{?suse_version} > 1010
|
||||||
|
BuildRequires: libselinux-devel
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} > 1030
|
%if 0%{?suse_version} > 1030
|
||||||
BuildRequires: pkcs11-helper-devel
|
BuildRequires: pkcs11-helper-devel
|
||||||
Requires: pkcs11-helper
|
Requires: pkcs11-helper
|
||||||
@ -191,8 +193,7 @@ for pi in auth-pam down-root; do
|
|||||||
$RPM_BUILD_ROOT%{plugin_libdir}/
|
$RPM_BUILD_ROOT%{plugin_libdir}/
|
||||||
done
|
done
|
||||||
# we install docs via spec into _defaultdocdir/name/management-notes.txt
|
# we install docs via spec into _defaultdocdir/name/management-notes.txt
|
||||||
rm $RPM_BUILD_ROOT%{_datadir}/doc/%name/management-notes.txt
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/{OpenVPN,%name}
|
||||||
rmdir $RPM_BUILD_ROOT%{_datadir}/doc/%name
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT; fi
|
if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user