From 30fc714c4f5be089a5580f094ce7b37e7e500f23 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 26 Feb 2018 14:58:44 +0100 Subject: [PATCH] update to 1.0.2 --- .gitignore | 2 +- pps-tools.spec | 18 ++++++++---------- sources | 2 +- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 9818ced..1ce15e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/pps-tools-20120407git0deb9c.tar.xz +/pps-tools-1.0.2.tar.gz diff --git a/pps-tools.spec b/pps-tools.spec index b0ec746..417e1d3 100644 --- a/pps-tools.spec +++ b/pps-tools.spec @@ -1,15 +1,12 @@ Name: pps-tools -Version: 0 +Version: 1.0.2 Release: 0.16.20120407git0deb9c%{?dist} Summary: LinuxPPS user-space tools Group: System Environment/Base License: GPLv2+ -URL: https://github.com/ago/pps-tools - -# git clone git://github.com/ago/pps-tools; cd pps-tools -# git archive --prefix=pps-tools/ 0deb9c | xz > pps-tools-20120407git0deb9c.tar.xz -Source0: pps-tools-20120407git0deb9c.tar.xz +URL: https://github.com/redlab-i/pps-tools +Source0: https://github.com/redlab-i/pps-tools/archive/v%{version}/%{name}-%{version}.tar.gz %description This package includes the LinuxPPS user-space tools. @@ -23,22 +20,23 @@ This package includes the header needed to compile PPSAPI (RFC-2783) applications. %prep -%setup -q -n %{name} +%setup -q %build CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/sys} -install -m755 -t $RPM_BUILD_ROOT%{_bindir} ppsctl ppsfind ppstest ppswatch +install -m755 -t $RPM_BUILD_ROOT%{_bindir} \ + ppsctl ppsfind ppsldisc ppstest ppswatch install -p -m644 -t $RPM_BUILD_ROOT%{_includedir}/sys timepps.h %files -%doc COPYING debian/README debian/copyright +%license COPYING %{_bindir}/pps* %files devel -%doc COPYING debian/copyright +%license COPYING %{_includedir}/sys/timepps.h %changelog diff --git a/sources b/sources index f84323f..9f44eab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e8af76a671370ebe0154c14155ea1779 pps-tools-20120407git0deb9c.tar.xz +SHA512 (pps-tools-1.0.2.tar.gz) = fa86455ece83700d5a1c522082f78ed324927fb9f53d3cf5f615a566a39e54938a41e82b6d4ae23d57c273fb923f96db4ca2d071199795d020952703afa53fcb