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/
|
||||
#
|
||||
|
||||
|
||||
Name: vsftpd
|
||||
BuildRequires: openssl-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 -m 644 %{S:6} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
||||
%if 0%{?suse_version} > 1140
|
||||
install -D -m 0644 %SOURCE7 %{buildroot}/%{name}.service
|
||||
install -D -m 0644 %SOURCE7 %{buildroot}/%{_unitdir}/%{name}.service
|
||||
%endif
|
||||
|
||||
%pre
|
||||
@ -132,7 +131,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/lib/systemd/system/vsftpd.service
|
||||
%if 0%{?suse_version} > 1140
|
||||
%{_unitdir}/%{name}.service
|
||||
%endif
|
||||
/usr/sbin/%name
|
||||
/usr/sbin/rc%name
|
||||
%config /etc/init.d/%name
|
||||
|
Loading…
Reference in New Issue
Block a user