From 1a21f357fb16c235fad25f7fa5a756fface2ba56 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 11 Jan 2018 14:54:39 +0100 Subject: [PATCH] update to 20180101git303b08 --- .gitignore | 4 ++-- linuxptp.spec | 12 ++++++++---- sources | 6 +++--- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 7cb5ae9..c4ab8f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -/linuxptp-testsuite-308924.tar.gz -/clknetsim-1bfeba.tar.gz /linuxptp-1.8.tgz +/clknetsim-5b4d14.tar.gz +/linuxptp-testsuite-502e82.tar.gz diff --git a/linuxptp.spec b/linuxptp.spec index 9b0dd2e..1c4645b 100644 --- a/linuxptp.spec +++ b/linuxptp.spec @@ -1,6 +1,9 @@ %global _hardened_build 1 -%global testsuite_ver 308924 -%global clknetsim_ver 1bfeba +%global gitfullver 303b08cbf55096aba55bd08a314e0701e5c33482 +%global gitver %(c=%{gitfullver}; echo ${c:0:6}) +%global gitdate 20180101 +%global testsuite_ver 502e82 +%global clknetsim_ver 5b4d14 Name: linuxptp Version: 1.8 @@ -11,7 +14,8 @@ Group: System Environment/Base License: GPLv2+ URL: http://linuxptp.sourceforge.net/ -Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz +#Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz +Source0: https://github.com/richardcochran/%{name}/archive/%{gitver}/%{name}-%{gitver}.tar.gz Source1: phc2sys.service Source2: ptp4l.service Source3: timemaster.service @@ -35,7 +39,7 @@ Application Programming Interfaces (API) offered by the Linux kernel. Supporting legacy APIs and other platforms is not a goal. %prep -%setup -q -a 10 -a 11 +%setup -q -a 10 -a 11 -n %{name}-%{!?gitfullver:%{version}}%{?gitfullver} mv linuxptp-testsuite-%{testsuite_ver}* testsuite mv clknetsim-%{clknetsim_ver}* testsuite/clknetsim diff --git a/sources b/sources index b43775e..c56749d 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -81c3cab311fa60d5d31621672e5f6fed linuxptp-testsuite-308924.tar.gz -44091f706000bd64dcc0ca81713b3380 clknetsim-1bfeba.tar.gz -5688cdfe57932273e1dbf35b3b97b9a0 linuxptp-1.8.tgz +SHA512 (linuxptp-1.8.tgz) = 8ac52428b7addf1c43769083e660ca0ceb2813994107b8b9c59338e480f1d2e45666ebcc3f59f7b8cf9a02301b55aa54b26cbbbf81622a525a704f2d08fd383e +SHA512 (clknetsim-5b4d14.tar.gz) = 6fc12fec423af00bb7329ee903e49021d38285e891cdb855e2c48ebf335d4142cc742acce85f37a51f97ed33643ff54d9da9a1adf6365b8e5a719a409334020c +SHA512 (linuxptp-testsuite-502e82.tar.gz) = aa7a38e95d7317ae8bc38d694cd79e2b857132aa80244e8302650f57ef5fffbfd4ae9d68eb27d22afed666b62a2a2e5118305320d69e99dbc0db8926cab6b536