forked from pool/vsftpd
add forgotten vsftpd.service
OBS-URL: https://build.opensuse.org/package/show/network/vsftpd?expand=0&rev=35
This commit is contained in:
parent
f9dd88708e
commit
a3f253c076
@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: vsftpd
|
Name: vsftpd
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
@ -99,7 +98,7 @@ install -D -m 644 %SOURCE5 $RPM_BUILD_ROOT/%_datadir/omc/svcinfo.d/
|
|||||||
install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/
|
install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/
|
||||||
install -m 644 %{S:6} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
install -m 644 %{S:6} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
||||||
%if 0%{?suse_version} > 1140
|
%if 0%{?suse_version} > 1140
|
||||||
install -D -m 0644 %SOURCE7 %{buildroot}/%{name}.service
|
install -D -m 0644 %SOURCE7 %{buildroot}/%{_unitdir}/%{name}.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
@ -132,7 +131,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/lib/systemd/system/vsftpd.service
|
%if 0%{?suse_version} > 1140
|
||||||
|
%{_unitdir}/%{name}.service
|
||||||
|
%endif
|
||||||
/usr/sbin/%name
|
/usr/sbin/%name
|
||||||
/usr/sbin/rc%name
|
/usr/sbin/rc%name
|
||||||
%config /etc/init.d/%name
|
%config /etc/init.d/%name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user