From c609cd1967b3eaf221c5b5ccd9c15dc125fd6ba7 Mon Sep 17 00:00:00 2001 From: YellowJacketLinux Date: Sun, 7 May 2023 19:27:25 -0700 Subject: [PATCH] use _sharedstatedir macro --- SPECS/ntp.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SPECS/ntp.spec b/SPECS/ntp.spec index 73c1473..9c9c910 100644 --- a/SPECS/ntp.spec +++ b/SPECS/ntp.spec @@ -79,7 +79,7 @@ make %{?_smp_mflags} make install DESTDIR=%{buildroot} [ ! -d %{buildroot}%{_sysconfdir} ] && mkdir -p %{buildroot}%{_sysconfdir} install -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/ntp.conf -install -d %{buildroot}%{_localstatedir}/lib/ntp +install -d %{buildroot}%{_sharedstatedir}/ntp install -d %{buildroot}%{perl5_vendorlib}/NTP mv %{buildroot}%{_datadir}/ntp/lib/NTP/Util.pm %{buildroot}%{perl5_vendorlib}/NTP/ @@ -106,7 +106,7 @@ mv %{buildroot}%{_datadir}/doc/sntp pkgdoc/ %attr(0755,root,root) %{_sbindir}/tickadj %attr(0755,root,root) %{_sbindir}/update-leap %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/ntp.conf -%attr(0755,ntp,ntp) %dir %{_localstatedir}/lib/ntp +%attr(0755,ntp,ntp) %dir %{_sharedstatedir}/ntp %attr(0644,root,root) %{_mandir}/man1/*.1* %attr(0644,root,root) %{_mandir}/man5/*.5* %license COPYRIGHT