!16 fix libdnet build error
From: @yangl777 Reviewed-by: @seuzw Signed-off-by: @seuzw
This commit is contained in:
commit
dcbe7a2908
19
libdnet.spec
19
libdnet.spec
@ -1,15 +1,15 @@
|
|||||||
Name: libdnet
|
Name: libdnet
|
||||||
Version: 1.16.3
|
Version: 1.16.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Simple portable interface work with low-level networking routines
|
Summary: Simple portable interface work with low-level networking routines
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/ofalk/%{name}
|
URL: https://github.com/ofalk/%{name}
|
||||||
Source: https://github.com/ofalk/libdnet/archive/%{name}-%{version}.tar.gz
|
Source: https://github.com/ofalk/libdnet/archive/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++ autoconf automake libtool
|
||||||
BuildRequires: python3-Cython
|
BuildRequires: python3-Cython
|
||||||
BuildRequires: make check-devel python3-setuptools libbsd-devel
|
BuildRequires: make check-devel python3-setuptools
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{name} provides a simplified, portable interface to several low-level networking
|
%{name} provides a simplified, portable interface to several low-level networking
|
||||||
@ -49,18 +49,15 @@ Python3 package for python-%{name}
|
|||||||
%autosetup -n %{name}-%{name}-%{version} -p1
|
%autosetup -n %{name}-%{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf -i
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
%disable_rpath
|
%disable_rpath
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
pushd python
|
|
||||||
%{__python3} setup.py build
|
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__make} install DESTDIR=%{buildroot}
|
%make_install
|
||||||
|
|
||||||
pushd python
|
pushd python
|
||||||
%{__python3} setup.py install --skip-build --root %{buildroot}
|
%{__python3} setup.py install --skip-build --root %{buildroot}
|
||||||
@ -96,6 +93,12 @@ popd
|
|||||||
%{_mandir}/man8/*.8*
|
%{_mandir}/man8/*.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 09 2023 yanglu <yanglu72@h-partners.com> - 1.16.3-2
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: fix libdnet build error
|
||||||
|
|
||||||
* Fri Feb 03 2023 xinghe <xinghe2@h-partners.com> - 1.16.3-1
|
* Fri Feb 03 2023 xinghe <xinghe2@h-partners.com> - 1.16.3-1
|
||||||
- Type:requirements
|
- Type:requirements
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user