The package rpms/golang-github-facebook-time.git has added or updated architecture
specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-facebook-time.git/c....
Change:
+%ifarch s390x
Thanks.
Full change:
============
commit 89e603178f6fd23e305d11ba8c49eab40eeda7d5
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Fri Mar 4 09:31:10 2022 -0800
Update snapshot to 3c26ea4
diff --git a/.gitignore b/.gitignore
index 6148a02..93b2e79 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/time-83c4193bc7b7c50a3cf8dcff197cfe1c8897adbf.tar.gz
+/time-3c26ea4482274e4d84bc5cecfa23fee70043849d.tar.gz
diff --git a/golang-github-facebook-time.spec b/golang-github-facebook-time.spec
index b989d64..567ad65 100644
--- a/golang-github-facebook-time.spec
+++ b/golang-github-facebook-time.spec
@@ -1,58 +1,34 @@
-# Initially generated by go2rpm 1.3
+# Generated by go2rpm 1.6.0
%bcond_without check
#
https://github.com/facebook/time
%global goipath
github.com/facebook/time
-%global commit 83c4193bc7b7c50a3cf8dcff197cfe1c8897adbf
+%global commit 3c26ea4482274e4d84bc5cecfa23fee70043849d
%gometa
%global common_description %{expand:
-Collection of Facebook's NTP and PTP libraries.}
+Meta's Time libraries.}
%global golicenses LICENSE
-%global godocs CODE_OF_CONDUCT.md CONTRIBUTING.md
+%global godocs CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
Name: %{goname}
Version: 0
Release: 0.6%{?dist}
-Summary: Facebook's NTP and PTP libraries
+Summary: Meta's Time libraries
# Upstream license specification: Apache-2.0
License: ASL 2.0
URL: %{gourl}
Source0: %{gosource}
-BuildRequires:
golang(github.com/davecgh/go-spew/spew)
-BuildRequires:
golang(github.com/jsimonetti/rtnetlink/rtnl)
-BuildRequires:
golang(github.com/fatih/color)
-BuildRequires:
golang(github.com/go-ini/ini)
-BuildRequires:
golang(github.com/hashicorp/go-version)
-BuildRequires:
golang(github.com/google/gopacket)
-BuildRequires:
golang(github.com/google/gopacket/layers)
-BuildRequires:
golang(github.com/google/gopacket/pcap)
-BuildRequires:
golang(github.com/google/gopacket/pcapgo)
-BuildRequires:
golang(github.com/olekukonko/tablewriter)
-BuildRequires:
golang(github.com/sirupsen/logrus)
-BuildRequires:
golang(github.com/spf13/cobra)
-BuildRequires:
golang(github.com/vtolstov/go-ioctl)
-BuildRequires:
golang(golang.org/x/net/icmp)
-BuildRequires:
golang(golang.org/x/net/ipv6)
-BuildRequires:
golang(golang.org/x/sync/errgroup)
-BuildRequires:
golang(golang.org/x/sys/unix)
-
-%if %{with check}
-# Tests
-BuildRequires:
golang(github.com/golang/mock/gomock)
-BuildRequires:
golang(github.com/stretchr/testify/assert)
-BuildRequires:
golang(github.com/stretchr/testify/require)
-%endif
-
%description
%{common_description}
%package -n calnex
Summary: CLI for a Calnex Sentinel device
+
%description -n calnex
- calnex CLI supports several basic commands such as:
- Firmware upgrade
@@ -64,6 +40,7 @@ Summary: CLI for a Calnex Sentinel device
%package -n ntpcheck
Summary: CLI to perform various NTP-related tasks
+
%description -n ntpcheck
ntpcheck is a CLI to perform various NTP-related tasks:
- replacement for ntptime and ntpdate commands
@@ -75,6 +52,7 @@ ntpcheck is a CLI to perform various NTP-related tasks:
Summary: Simple NTP server implementation with kernel timestamps support
Provides: responder = %{version}-%{release}
Obsoletes: responder < 0-0.6
+
%description -n ntpresponder
ntpresponder is a simple NTP server implementation with kernel timestamps
support, designed for scale and security.
@@ -121,6 +99,9 @@ target multiple IPs in the same /64 prefix as the destination.
%prep
%goprep
+%generate_buildrequires
+%go_generate_buildrequires
+
%build
for cmd in calnex ntpcheck ntpresponder pshark ptpcheck ptp4u ziffy; do
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/cmd/$cmd
@@ -133,6 +114,12 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
%if %{with check}
%check
+# Disable test that requires network access
+rm ntp/responder/server/server_test.go
+#
https://github.com/facebook/time/issues/100
+%ifarch s390x
+rm timestamp/timestamp_linux_test.go
+%endif
%gocheck
%endif
@@ -174,5 +161,10 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
%gopkgfiles
%changelog
+* Fri Mar 04 2022 Davide Cavalca <dcavalca(a)fedoraproject.org> -
0-0.6.20220304git3c26ea4
+- Update snapshot to 3c26ea4
+- Re-run go2rpm
+- Disable broken tests
+
* Fri Jan 14 2022 Alexander Bulimov <abulimov(a)fedoraproject.org> -
0-0.5.20220113git83c4193
- Initial package
diff --git a/sources b/sources
index 5f713b4..d04495b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (time-83c4193bc7b7c50a3cf8dcff197cfe1c8897adbf.tar.gz) =
2e7c5c34d4039f079fc80d5a37720e94c2149c956d132079d6fb3e7a13abbaff275be240d5f9db2777ba77f1d68ab1eef0c47f8590a9ee5c315639b51b270bc5
+SHA512 (time-3c26ea4482274e4d84bc5cecfa23fee70043849d.tar.gz) =
b186ec35e5e967806a8f4c7f3efeaa1f6caf0f04bc575e5c27ce55bfd2e2dd2ffd1bcbc2bc3d73442fe1ade01903a15b9201d1a69e3fdf7964ed5c661232f177
commit 3e86886a167eb419a2e92e7c0829335463876c1a
Author: Alexander Bulimov <abulimov(a)fedoraproject.org>
Date: Thu Jan 27 16:40:02 2022 +0000
Version bump to catch up with mass rebuild of ntp
diff --git a/golang-github-facebook-time.spec b/golang-github-facebook-time.spec
index 3bfbcb0..b989d64 100644
--- a/golang-github-facebook-time.spec
+++ b/golang-github-facebook-time.spec
@@ -15,7 +15,7 @@ Collection of Facebook's NTP and PTP libraries.}
Name: %{goname}
Version: 0
-Release: 0.5%{?dist}
+Release: 0.6%{?dist}
Summary: Facebook's NTP and PTP libraries
# Upstream license specification: Apache-2.0
@@ -74,7 +74,7 @@ ntpcheck is a CLI to perform various NTP-related tasks:
%package -n ntpresponder
Summary: Simple NTP server implementation with kernel timestamps support
Provides: responder = %{version}-%{release}
-Obsoletes: responder < 0-0.5
+Obsoletes: responder < 0-0.6
%description -n ntpresponder
ntpresponder is a simple NTP server implementation with kernel timestamps
support, designed for scale and security.
commit 9d0d3282c7b88ab041290acb4473be366884e6e3
Author: Alexander Bulimov <abulimov(a)fedoraproject.org>
Date: Mon Jan 24 23:40:59 2022 +0000
Initial import (#2040696)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6148a02
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/time-83c4193bc7b7c50a3cf8dcff197cfe1c8897adbf.tar.gz
diff --git a/golang-github-facebook-time.spec b/golang-github-facebook-time.spec
new file mode 100644
index 0000000..3bfbcb0
--- /dev/null
+++ b/golang-github-facebook-time.spec
@@ -0,0 +1,178 @@
+# Initially generated by go2rpm 1.3
+%bcond_without check
+
+#
https://github.com/facebook/time
+%global goipath
github.com/facebook/time
+%global commit 83c4193bc7b7c50a3cf8dcff197cfe1c8897adbf
+
+%gometa
+
+%global common_description %{expand:
+Collection of Facebook's NTP and PTP libraries.}
+
+%global golicenses LICENSE
+%global godocs CODE_OF_CONDUCT.md CONTRIBUTING.md
+
+Name: %{goname}
+Version: 0
+Release: 0.5%{?dist}
+Summary: Facebook's NTP and PTP libraries
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL: %{gourl}
+Source0: %{gosource}
+
+BuildRequires:
golang(github.com/davecgh/go-spew/spew)
+BuildRequires:
golang(github.com/jsimonetti/rtnetlink/rtnl)
+BuildRequires:
golang(github.com/fatih/color)
+BuildRequires:
golang(github.com/go-ini/ini)
+BuildRequires:
golang(github.com/hashicorp/go-version)
+BuildRequires:
golang(github.com/google/gopacket)
+BuildRequires:
golang(github.com/google/gopacket/layers)
+BuildRequires:
golang(github.com/google/gopacket/pcap)
+BuildRequires:
golang(github.com/google/gopacket/pcapgo)
+BuildRequires:
golang(github.com/olekukonko/tablewriter)
+BuildRequires:
golang(github.com/sirupsen/logrus)
+BuildRequires:
golang(github.com/spf13/cobra)
+BuildRequires:
golang(github.com/vtolstov/go-ioctl)
+BuildRequires:
golang(golang.org/x/net/icmp)
+BuildRequires:
golang(golang.org/x/net/ipv6)
+BuildRequires:
golang(golang.org/x/sync/errgroup)
+BuildRequires:
golang(golang.org/x/sys/unix)
+
+%if %{with check}
+# Tests
+BuildRequires:
golang(github.com/golang/mock/gomock)
+BuildRequires:
golang(github.com/stretchr/testify/assert)
+BuildRequires:
golang(github.com/stretchr/testify/require)
+%endif
+
+%description
+%{common_description}
+
+%package -n calnex
+Summary: CLI for a Calnex Sentinel device
+%description -n calnex
+- calnex CLI supports several basic commands such as:
+- Firmware upgrade
+- Configuration of the device
+- Measurement data export
+- Device reboot
+- Device clear
+- Device problem report export
+
+%package -n ntpcheck
+Summary: CLI to perform various NTP-related tasks
+%description -n ntpcheck
+ntpcheck is a CLI to perform various NTP-related tasks:
+- replacement for ntptime and ntpdate commands
+- human-readable diagnostics for typical problems with NTP based on data
+ from chrony/ntpd
+- server stats and peer stats taken from chrony/ntpd with output in JSON
+
+%package -n ntpresponder
+Summary: Simple NTP server implementation with kernel timestamps support
+Provides: responder = %{version}-%{release}
+Obsoletes: responder < 0-0.5
+%description -n ntpresponder
+ntpresponder is a simple NTP server implementation with kernel timestamps
+support, designed for scale and security.
+
+%package -n pshark
+Summary: Simple tool to print PTP packets from pcap/pcapng captures
+
+%description -n pshark
+pshark is a simple tool to read pcap/pcapng captures and parse and print PTP
+packets from there. Allows to test our protocol parser implementation against
+arbitrary tcpdump capture. Also the code shows integration with GoPacket
+library.
+
+%package -n ptpcheck
+Summary: CLI to perform various PTP-related tasks
+
+%description -n ptpcheck
+CLI and library to perform various PTP-related tasks, including:
+- reporting stats taken from local PTP instance in JSON format
+- running basic unicast client to showcase or debug PTP protocol internals
+- running human-readable diagnostics for basic problems with PTP based on data
+ from local PTP client (ptp4l)
+- comparing system time with PHC time
+- mapping PHC devices to network cards and vice versa
+
+%package -n ptp4u
+Summary: Scalable unicast PTP server
+
+%description -n ptp4u
+ptp4u is a scalable unicast PTP server.
+
+%package -n ziffy
+Summary: CLI tool to triangulate switches that are not operating correctly as PTP
Transparent Clocks.
+
+%description -n ziffy
+CLI tool to triangulate datacenter switches that are not operating correctly as PTP
Transparent Clocks.
+Ziffy sends PTP SYNC/DELAY_REQ packets between two hosts to get data about the topology.
+It supports sending packets from a range of source ports to encourage hashing of
+traffic over multiple paths. In case the hashing is done using only destination IP and
source IP, Ziffy can
+target multiple IPs in the same /64 prefix as the destination.
+
+%gopkg
+
+%prep
+%goprep
+
+%build
+for cmd in calnex ntpcheck ntpresponder pshark ptpcheck ptp4u ziffy; do
+ %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/cmd/$cmd
+done
+
+%install
+%gopkginstall
+install -m 0755 -vd %{buildroot}%{_bindir}
+install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
+
+%if %{with check}
+%check
+%gocheck
+%endif
+
+%files -n calnex
+%license LICENSE
+%doc calnex/README.md
+%{_bindir}/calnex
+
+%files -n ntpcheck
+%license LICENSE
+%doc README.md
+%{_bindir}/ntpcheck
+
+%files -n ntpresponder
+%license LICENSE
+%doc README.md
+%{_bindir}/ntpresponder
+
+%files -n pshark
+%license LICENSE
+%doc README.md
+%{_bindir}/pshark
+
+%files -n ptpcheck
+%license LICENSE
+%doc README.md
+%{_bindir}/ptpcheck
+
+%files -n ptp4u
+%license LICENSE
+%doc ptp/ptp4u/README.md
+%{_bindir}/ptp4u
+
+%files -n ziffy
+%license LICENSE
+%doc cmd/ziffy/README.md
+%{_bindir}/ziffy
+
+%gopkgfiles
+
+%changelog
+* Fri Jan 14 2022 Alexander Bulimov <abulimov(a)fedoraproject.org> -
0-0.5.20220113git83c4193
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..5f713b4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (time-83c4193bc7b7c50a3cf8dcff197cfe1c8897adbf.tar.gz) =
2e7c5c34d4039f079fc80d5a37720e94c2149c956d132079d6fb3e7a13abbaff275be240d5f9db2777ba77f1d68ab1eef0c47f8590a9ee5c315639b51b270bc5