#2 Add sptp to the build sources
Merged 6 months ago by dcavalca. Opened 6 months ago by leoleovich.
Unknown source rawhide  into  rawhide

Add sptp to the build sources
Oleg Obleukhov • 6 months ago  
file modified
+1
@@ -1,3 +1,4 @@

  /time-83c4193bc7b7c50a3cf8dcff197cfe1c8897adbf.tar.gz

  /time-3c26ea4482274e4d84bc5cecfa23fee70043849d.tar.gz

  /time-8413c323c787e90068357951bd03baa471c5ad4c.tar.gz

+ /time-e5c45cf0ab13368352ca11ccf2b9d47915189a8b.tar.gz

@@ -3,7 +3,7 @@

  

  # https://github.com/facebook/time

  %global goipath         github.com/facebook/time

- %global commit          8413c323c787e90068357951bd03baa471c5ad4c

+ %global commit          e5c45cf0ab13368352ca11ccf2b9d47915189a8b

  

  Version:        0

  %gometa
@@ -15,7 +15,7 @@

  %global godocs          CODE_OF_CONDUCT.md CONTRIBUTING.md README.md

  

  Name:           %{goname}

- Release:        0.13%{?dist}

+ Release:        0.14%{?dist}

  Summary:        Meta's Time libraries

  

  # Upstream license specification: Apache-2.0
@@ -79,10 +79,16 @@

  - mapping PHC devices to network cards and vice versa

  

  %package -n     ptp4u

- Summary:        Scalable unicast PTP server

+ Summary:        Scalable unicast PTP server supporting PTP and SPTP

  

  %description -n ptp4u

- ptp4u is a scalable unicast PTP server.

+ ptp4u is a scalable unicast PTP server supporting PTP and SPTP.

+ 

+ %package -n     sptp

+ Summary:        Scalable unicast SPTP client.

+ 

+ %description -n sptp

+ sptp is a scalable unicast SPTP client.

  

  %package -n     ziffy

  Summary:        CLI tool to triangulate switches that are not operating correctly as PTP Transparent Clocks.
@@ -103,7 +109,7 @@

  %go_generate_buildrequires

  

  %build

- for cmd in calnex c4u ntpcheck ntpresponder pshark ptpcheck ptp4u ziffy; do

+ for cmd in calnex c4u ntpcheck ntpresponder pshark ptpcheck ptp4u sptp ziffy; do

    %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/cmd/$cmd

  done

  
@@ -154,6 +160,11 @@

  %{_bindir}/ptp4u

  %{_bindir}/c4u

  

+ %files -n sptp

+ %license LICENSE

+ %doc ptp/sptp/README.md

+ %{_bindir}/sptp

+ 

  %files -n ziffy

  %license LICENSE

  %doc cmd/ziffy/README.md
@@ -162,6 +173,9 @@

  %gopkgfiles

  

  %changelog

+ * Tue Oct 4 2023 Oleg Obleukhov <leoleovich@gmail.com> - 0-0.14

+ - Add sptp package build and rebase on new commit

+ 

  * Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.13

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@

- SHA512 (time-8413c323c787e90068357951bd03baa471c5ad4c.tar.gz) = a2c251159f35abaf2824fb0b8232926cfafb018421f2313a792731ba34b96e76dce2609233887caa0d5dc49ec2cb47c6a0003fc1d18a9854888ea88a51f46a81

+ SHA512 (time-e5c45cf0ab13368352ca11ccf2b9d47915189a8b.tar.gz) = 26da5400e027aab739f3298aa9c6737997649d4e6b05c3f673e17bf69d914b0e16d9a80913668ec7c175235433102320c1f1fbdf3ebcfd3f5b10ec087c6e250c

Add sptp and update the commit hash

# fedpkg mockbuild

rebased onto b2b2341

6 months ago

Seems to fail on i686, but it's fine for other archs. Maybe you can try with %gometa -f that will skip i686 from build, but maintainer may want to keep i686 support.

The issue is on the upstream side, we (Meta) know about it and the fix is about to land.

rebased onto 97c245e

6 months ago

You're missing the version here: add - 0-0.14 at the end of the line (see the previous entries for reference)

rebased onto db82924

6 months ago

rebased onto 4189914

6 months ago

Pull-Request has been merged by dcavalca

6 months ago