summaryrefslogtreecommitdiff
path: root/examples/chrony.spec
diff options
context:
space:
mode:
authorVincent Blut <vincent.debian@free.fr>2016-06-11 18:45:40 +0200
committerVincent Blut <vincent.debian@free.fr>2016-06-11 18:45:40 +0200
commit63d1a0d29c506f0471c32fc804e310d7f8759391 (patch)
tree144691dd942ba75080716220f76d35984aa87b70 /examples/chrony.spec
parentda8fd617a2b9bbcdb8c5f16c25d0ee7eed69dd33 (diff)
Imported Upstream version 2.4
Diffstat (limited to 'examples/chrony.spec')
-rw-r--r--examples/chrony.spec14
1 files changed, 2 insertions, 12 deletions
diff --git a/examples/chrony.spec b/examples/chrony.spec
index 362961b..d8f1c14 100644
--- a/examples/chrony.spec
+++ b/examples/chrony.spec
@@ -1,4 +1,4 @@
-%global chrony_version 2.3
+%global chrony_version 2.4
%if 0%(echo %{chrony_version} | grep -q pre && echo 1)
%global prerelease %(echo %{chrony_version} | sed 's/.*-//')
%endif
@@ -10,7 +10,6 @@ Source: chrony-%{version}%{?prerelease:-%{prerelease}}.tar.gz
License: GPLv2
Group: Applications/Utilities
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
-Requires: info
%description
chrony is a client and server for the Network Time Protocol (NTP).
@@ -28,29 +27,20 @@ manual input as time references.
--prefix=%{_prefix} \
--bindir=%{_bindir} \
--sbindir=%{_sbindir} \
- --infodir=%{_infodir} \
--mandir=%{_mandir}
make
-make chrony.txt
-make chrony.info
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_ROOT%{_docdir}
-mkdir -p $RPM_BUILD_ROOT%{_infodir}
-cp chrony.info* $RPM_BUILD_ROOT%{_infodir}
%files
%{_sbindir}/chronyd
%{_bindir}/chronyc
-%{_infodir}/chrony.info*
%{_mandir}/man1/chronyc.1.gz
%{_mandir}/man5/chrony.conf.5.gz
%{_mandir}/man8/chronyd.8.gz
-%doc README
-%doc chrony.txt
-%doc COPYING
+%doc README FAQ NEWS COPYING
%doc examples/chrony.conf.example*
%doc examples/chrony.keys.example