From 23344cbe56b017331c5d849952d714ce1ec53f13 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 4 Dec 2017 17:00:15 +0100 Subject: [PATCH] initial import (#1510565) --- .gitignore | 1 + README.md | 3 --- ntpstat.spec | 42 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ntpstat.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bab3c93 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/ntpstat-0.4.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 82a6e27..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ntpstat - -The ntpstat package \ No newline at end of file diff --git a/ntpstat.spec b/ntpstat.spec new file mode 100644 index 0000000..2981d1a --- /dev/null +++ b/ntpstat.spec @@ -0,0 +1,42 @@ +Name: ntpstat +Version: 0.4 +Release: 3%{?dist} +Summary: Utility to print NTP synchronization status + +License: MIT +URL: https://github.com/mlichvar/ntpstat +Source0: https://github.com/mlichvar/ntpstat/archive/%{version}/%{name}-%{version}.tar.gz +BuildArch: noarch + +Requires: (ntp or chrony) +# ntpstat was split off from the ntp package +Conflicts: ntp < 4.2.8p10-4 + +%description +This package contains a script which prints a brief summary of the system +clock's synchronisation status when the ntpd or chronyd daemon is running. + +%prep +%setup -q + +%build + +%install +make install bindir=$RPM_BUILD_ROOT%{_bindir} mandir=$RPM_BUILD_ROOT%{_mandir} + +%files +%license COPYING +%doc NEWS README +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1* + +%changelog +* Mon Dec 04 2017 Miroslav Lichvar 0.4-3 +- fix more issues found in package review (#1510565) + +* Thu Nov 23 2017 Miroslav Lichvar 0.4-2 +- fix issues found in package review (#1510565) + +* Tue Nov 07 2017 Miroslav Lichvar 0.4-1 +- update to 0.4 +- split ntpstat off from ntp package diff --git a/sources b/sources new file mode 100644 index 0000000..00131f6 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ntpstat-0.4.tar.gz) = 3da8931f9f33de19d31d8add3c37f866b2332d74896bc3b8bddc1c8a4694048b4d5b2a6a62b26f6161a7c7692eabf7528c2ca028e1af4c24bd011381d8851085