examples: update chrony.spec
This commit is contained in:
parent
722f038f1f
commit
91cbebb629
1 changed files with 1 additions and 11 deletions
|
@ -10,7 +10,6 @@ Source: chrony-%{version}%{?prerelease:-%{prerelease}}.tar.gz
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Applications/Utilities
|
Group: Applications/Utilities
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
|
||||||
Requires: info
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
chrony is a client and server for the Network Time Protocol (NTP).
|
chrony is a client and server for the Network Time Protocol (NTP).
|
||||||
|
@ -28,29 +27,20 @@ manual input as time references.
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--bindir=%{_bindir} \
|
--bindir=%{_bindir} \
|
||||||
--sbindir=%{_sbindir} \
|
--sbindir=%{_sbindir} \
|
||||||
--infodir=%{_infodir} \
|
|
||||||
--mandir=%{_mandir}
|
--mandir=%{_mandir}
|
||||||
make
|
make
|
||||||
make chrony.txt
|
|
||||||
make chrony.info
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$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
|
%files
|
||||||
%{_sbindir}/chronyd
|
%{_sbindir}/chronyd
|
||||||
%{_bindir}/chronyc
|
%{_bindir}/chronyc
|
||||||
%{_infodir}/chrony.info*
|
|
||||||
%{_mandir}/man1/chronyc.1.gz
|
%{_mandir}/man1/chronyc.1.gz
|
||||||
%{_mandir}/man5/chrony.conf.5.gz
|
%{_mandir}/man5/chrony.conf.5.gz
|
||||||
%{_mandir}/man8/chronyd.8.gz
|
%{_mandir}/man8/chronyd.8.gz
|
||||||
%doc README
|
%doc README FAQ NEWS COPYING
|
||||||
%doc chrony.txt
|
|
||||||
%doc COPYING
|
|
||||||
%doc examples/chrony.conf.example*
|
%doc examples/chrony.conf.example*
|
||||||
%doc examples/chrony.keys.example
|
%doc examples/chrony.keys.example
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue