Accepting request 417747 from home:benoit_monin:branches:network:time

Install timepps.h in location specified by RFC 2783

No impact on ntp since it looks for timepps.h in both /usr/include and /usr/include/sys.

My goal is to enable kernel pps in gpsd which only search for timepps.h in /usr/include/sys.

OBS-URL: https://build.opensuse.org/request/show/417747
OBS-URL: https://build.opensuse.org/package/show/network:time/pps-tools?expand=0&rev=7
This commit is contained in:
Martin Pluskal 2016-08-08 12:56:41 +00:00 committed by Git OBS Bridge
parent 5532577fae
commit 6a39d6241a
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 8 09:44:32 UTC 2016 - benoit.monin@gmx.fr
- install timepps.h in location specified by RFC 2783
-------------------------------------------------------------------
Wed May 11 17:15:07 UTC 2016 - mpluskal@suse.com

View File

@ -54,7 +54,7 @@ make %{?_smp_mflags}
install -D -m 0755 ppsctl %{buildroot}%{_bindir}/ppsctl
install -D -m 0755 ppsfind %{buildroot}%{_bindir}/ppsfind
install -D -m 0755 ppstest %{buildroot}%{_bindir}/ppstest
install -D -m 0644 timepps.h %{buildroot}%{_includedir}/timepps.h
install -D -m 0644 timepps.h %{buildroot}%{_includedir}/sys/timepps.h
%files
%defattr(-,root,root)
@ -66,6 +66,6 @@ install -D -m 0644 timepps.h %{buildroot}%{_includedir}/timepps.h
%files devel
%defattr(-,root,root)
%doc COPYING
%{_includedir}/timepps.h
%{_includedir}/sys/timepps.h
%changelog