diff --git a/openslp.spec b/openslp.spec index 73bc92f..d8a812d 100644 --- a/openslp.spec +++ b/openslp.spec @@ -2,7 +2,7 @@ Summary: Open implementation of Service Location Protocol V2 Name: openslp Version: 2.0.0 -Release: 5%{?dist} +Release: 6%{?dist} Group: System Environment/Libraries License: BSD @@ -99,7 +99,9 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT +%if 0%{?fedora} < 23 install -p -D -m755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/slpd +%endif mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/slp.reg.d @@ -156,7 +158,9 @@ rm -rf $RPM_BUILD_ROOT %{_sbindir}/slpd %config(noreplace) %{_sysconfdir}/slp.reg %config(noreplace) %{_sysconfdir}/slp.spi +%if 0%{?fedora} < 23 %config(noreplace) %{_initrddir}/slpd +%endif %{_unitdir}/slpd.service %{_mandir}/man8/* /usr/lib/%{name}-server/slp-multicast-set.sh @@ -170,6 +174,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Mar 11 2015 Adam Jackson 2.0.0-6 +- Drop sysvinit script from F23+ + * Sun Aug 17 2014 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild