From 7443f6a675c94e7a3d6a0573a3b691fb72ea427a Mon Sep 17 00:00:00 2001 From: zhuchunyi Date: Wed, 6 Nov 2019 19:44:50 +0800 Subject: [PATCH] update code --- openslp.spec | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/openslp.spec b/openslp.spec index 4a1de2f..e7c3a93 100644 --- a/openslp.spec +++ b/openslp.spec @@ -1,12 +1,12 @@ Name: openslp Version: 2.0.0 -Release: 21 +Release: 22 Summary: Open-source inplementation of the IETF Service Location Protocol -License: BSD +License: BSD URL: https://sourceforge.net/projects/openslp/ Source0: https://downloads.sf.net/openslp/openslp-%{version}.tar.gz Source2: slpd.8.gz -Source3: slptool.1.gz +Source3: slptool.1.gz Source4: slpd.service Patch1: openslp-2.0.0-multicast-set.patch @@ -50,7 +50,7 @@ Provides a framework for applications to discover information about corporate ne %package_help %prep -%autosetup -n %{name}-%{version} -p1 -S git +%autosetup -n %{name}-%{version} -p1 -S git autoreconf -fi find . -name "CVS" | xargs rm -rf @@ -75,8 +75,8 @@ mkdir -p ${RPM_BUILD_ROOT}/%{_unitdir} install -p -m 644 %{SOURCE4} ${RPM_BUILD_ROOT}/%{_unitdir}/slpd.service mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man1/ mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man8/ -cp %SOURCE2 ${RPM_BUILD_ROOT}%{_mandir}/man8/ -cp %SOURCE3 ${RPM_BUILD_ROOT}%{_mandir}/man1/ +cp %SOURCE2 ${RPM_BUILD_ROOT}/%{_mandir}/man8/ +cp %SOURCE3 ${RPM_BUILD_ROOT}/%{_mandir}/man1/ rm -rf $RPM_BUILD_ROOT/usr/doc %delete_la @@ -86,7 +86,7 @@ rm -rf $RPM_BUILD_ROOT/usr/doc %post server %systemd_post slpd.service -%preun server +%preun server %systemd_preun slpd.service %postun server @@ -94,7 +94,8 @@ rm -rf $RPM_BUILD_ROOT/usr/doc %files %defattr(-,root,root) -%doc AUTHORS COPYING +%doc AUTHORS +%license COPYING %config(noreplace) %{_sysconfdir}/slp.conf %{_unitdir}/slpd.service %{_bindir}/slptool @@ -124,5 +125,11 @@ rm -rf $RPM_BUILD_ROOT/usr/doc %{_mandir}/man8/slpd.* %changelog +* Mon Oct 21 2019 openEuler Buildteam - 1.0.6-18 +- Type:enhancement +- Id:NA +- SUG:NA +- DESC:modify the location of COPYING + * Wed Sep 11 2019 openEuler Buildteam - 2.0.0-21 - Package init