update code
This commit is contained in:
parent
bea88ec6ff
commit
243cca9874
22
ntp.spec
22
ntp.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: ntp
|
Name: ntp
|
||||||
Version: 4.2.8p13
|
Version: 4.2.8p13
|
||||||
Release: 1
|
Release: 3
|
||||||
Summary: A protocol designed to synchronize the clocks of computers over a network
|
Summary: A protocol designed to synchronize the clocks of computers over a network
|
||||||
License: MIT and BSD and BSD with advertising
|
License: MIT and BSD and BSD with advertising
|
||||||
URL: https://www.ntp.org/
|
URL: https://www.ntp.org/
|
||||||
@ -14,16 +14,13 @@ Source6: ntp.step-tickers
|
|||||||
Source7: ntpdate.wrapper
|
Source7: ntpdate.wrapper
|
||||||
Source8: ntp.cryptopw
|
Source8: ntp.cryptopw
|
||||||
Source9: ntpdate.sysconfig
|
Source9: ntpdate.sysconfig
|
||||||
#source file ntp.dhclient comes from redhat
|
|
||||||
Source10: ntp.dhclient
|
Source10: ntp.dhclient
|
||||||
Source12: ntpd.service
|
Source12: ntpd.service
|
||||||
Source13: ntpdate.service
|
Source13: ntpdate.service
|
||||||
Source14: ntp-wait.service
|
Source14: ntp-wait.service
|
||||||
Source15: sntp.service
|
Source15: sntp.service
|
||||||
Source16: sntp.sysconfig
|
Source16: sntp.sysconfig
|
||||||
#Patch0001 comes from fedora
|
|
||||||
Patch1: ntp-sntp-sysexits.patch
|
Patch1: ntp-sntp-sysexits.patch
|
||||||
#patch0002 comes from fedora
|
|
||||||
Patch2: ntp-ssl-libs.patch
|
Patch2: ntp-ssl-libs.patch
|
||||||
|
|
||||||
Patch9000: bugfix-fix-bind-port-in-debug-mode.patch
|
Patch9000: bugfix-fix-bind-port-in-debug-mode.patch
|
||||||
@ -100,7 +97,7 @@ cp -r html/man/man8/{ntpdate,ntptime,tickadj}* $RPM_BUILD_ROOT%{_mandir}/man8
|
|||||||
|
|
||||||
rm -rf $RPM_BUILD_ROOT%{_docdir}
|
rm -rf $RPM_BUILD_ROOT%{_docdir}
|
||||||
install -d $RPM_BUILD_ROOT%{ntpdocdir}
|
install -d $RPM_BUILD_ROOT%{ntpdocdir}
|
||||||
cp -p COPYRIGHT ChangeLog NEWS $RPM_BUILD_ROOT%{ntpdocdir}
|
cp -p ChangeLog NEWS $RPM_BUILD_ROOT%{ntpdocdir}
|
||||||
|
|
||||||
find html | grep -E '\.(html|css|txt|jpg|gif)$' | grep -v '/build/\|sntp' | \
|
find html | grep -E '\.(html|css|txt|jpg|gif)$' | grep -v '/build/\|sntp' | \
|
||||||
cpio -pmd $RPM_BUILD_ROOT%{ntpdocdir}
|
cpio -pmd $RPM_BUILD_ROOT%{ntpdocdir}
|
||||||
@ -163,6 +160,7 @@ popd
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYRIGHT ChangeLog NEWS
|
%doc COPYRIGHT ChangeLog NEWS
|
||||||
|
%license COPYRIGHT
|
||||||
%dir %attr(-,ntp,ntp) %{_localstatedir}/lib/ntp
|
%dir %attr(-,ntp,ntp) %{_localstatedir}/lib/ntp
|
||||||
%dir %attr(-,ntp,ntp) %{_localstatedir}/log/ntpstats
|
%dir %attr(-,ntp,ntp) %{_localstatedir}/log/ntpstats
|
||||||
%dir %{_localstatedir}/lib/sntp
|
%dir %{_localstatedir}/lib/sntp
|
||||||
@ -208,7 +206,19 @@ popd
|
|||||||
%{_mandir}/man8/*.8*
|
%{_mandir}/man8/*.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.12.0-1
|
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.2.8p13-3
|
||||||
|
- Type:enhancement
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:modify the location of COPYRIGHT
|
||||||
|
|
||||||
|
* Mon Oct 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.2.8p13-2
|
||||||
|
- Type:enhancement
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:Modify error changelog information
|
||||||
|
|
||||||
|
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.2.8p13-1
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- Id:NA
|
- Id:NA
|
||||||
- SUG:NA
|
- SUG:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user