diff options
Diffstat (limited to 'openvpn.spec.in')
-rw-r--r-- | openvpn.spec.in | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/openvpn.spec.in b/openvpn.spec.in index a2f0cb1..6283d62 100644 --- a/openvpn.spec.in +++ b/openvpn.spec.in @@ -120,14 +120,7 @@ popd %install [ %{buildroot} != "/" ] && rm -rf %{buildroot} - -# Install man page -%__install -c -d -m 755 %{buildroot}%{_mandir}/man8 -%__install -c -m 755 %{name}.8 %{buildroot}%{_mandir}/man8 - -# Install binary -%__install -c -d -m 755 %{buildroot}%{_sbindir} -%__install -c -m 755 %{name} %{buildroot}%{_sbindir} +%__make install DESTDIR="%{buildroot}" # Install init script %if "%{VENDOR}" == "SuSE" @@ -211,7 +204,7 @@ fi %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING COPYRIGHT.GPL INSTALL NEWS PORTS README -%{_mandir}/man8/%{name}.8* +%{_mandir} %{_sbindir}/%{name} %{_datadir}/%{name} %dir /etc/%{name} |