Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/linuxptp.git#80187bfcea953bd1dfd2db6a7ef500b28a6cb143
This commit is contained in:
parent
db49b8c089
commit
e3bd4881f1
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: linuxptp
|
Name: linuxptp
|
||||||
Version: 3.1
|
Version: 3.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: PTP implementation for Linux
|
Summary: PTP implementation for Linux
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -22,6 +22,7 @@ Source11: https://github.com/mlichvar/clknetsim/archive/%{clknetsim_ver}/clknets
|
|||||||
|
|
||||||
BuildRequires: gcc gcc-c++ systemd
|
BuildRequires: gcc gcc-c++ systemd
|
||||||
BuildRequires: net-snmp-devel
|
BuildRequires: net-snmp-devel
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
@ -38,7 +39,7 @@ mv linuxptp-testsuite-%{testsuite_ver}* testsuite
|
|||||||
mv clknetsim-%{clknetsim_ver}* testsuite/clknetsim
|
mv clknetsim-%{clknetsim_ver}* testsuite/clknetsim
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} \
|
%{make_build} \
|
||||||
EXTRA_CFLAGS="$RPM_OPT_FLAGS" \
|
EXTRA_CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
EXTRA_LDFLAGS="$RPM_LD_FLAGS"
|
EXTRA_LDFLAGS="$RPM_LD_FLAGS"
|
||||||
|
|
||||||
@ -61,7 +62,7 @@ echo '.so man8/timemaster.8' > $RPM_BUILD_ROOT%{_mandir}/man5/timemaster.conf.5
|
|||||||
cd testsuite
|
cd testsuite
|
||||||
# set random seed to get deterministic results
|
# set random seed to get deterministic results
|
||||||
export CLKNETSIM_RANDOM_SEED=26743
|
export CLKNETSIM_RANDOM_SEED=26743
|
||||||
make %{?_smp_mflags} -C clknetsim
|
%{make_build} -C clknetsim
|
||||||
PATH=..:$PATH ./run
|
PATH=..:$PATH ./run
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -94,6 +95,9 @@ PATH=..:$PATH ./run
|
|||||||
%{_mandir}/man8/*.8*
|
%{_mandir}/man8/*.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
* Tue Sep 29 2020 Miroslav Lichvar <mlichvar@redhat.com> 3.1-1
|
* Tue Sep 29 2020 Miroslav Lichvar <mlichvar@redhat.com> 3.1-1
|
||||||
- update to 3.1
|
- update to 3.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user