libnl3/libnl3.spec

167 lines
3.8 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:57:19 -04:00
Name: libnl3
2022-11-09 10:24:02 +08:00
Version: 3.7.0
2024-01-12 07:38:28 +00:00
Release: 3
2019-09-30 10:57:19 -04:00
Summary: Providing APIs to netlink protocol based Linux kernel interfaces
License: LGPLv2
URL: http://www.infradead.org/~tgr/libnl/
2022-11-09 10:24:02 +08:00
Source: https://github.com/thom311/libnl/releases/download/libnl3_7_0/libnl-3.7.0.tar.gz
2019-09-30 10:57:19 -04:00
2023-08-14 16:32:35 +08:00
Patch6000: backport-prevent-segfault-in-af_request_type.patch
Patch6001: backport-fix-bridge-info-parsing.patch
2024-01-12 07:38:28 +00:00
Patch9000: solve-redefinition-of-struct-ipv6_mreq.patch
2019-09-30 10:57:19 -04:00
BuildRequires: flex bison libtool autoconf automake swig
Requires: %{name} = %{version}-%{release}
Provides: %{name}-cli
Obsoletes: %{name}-cli
%description
This package contains a collection of libraries providing
APIs to netlink based Linux kernel sockets interfaces.
%package devel
Summary: Libraries and headers for libnl3
Requires: %{name} = %{version}-%{release} kernel-headers
%description devel
This package provides various libraries and headers for using libnl3
%package help
Summary: Document for libnl3
2019-12-26 10:00:04 +08:00
Requires: %{name} = %{version}-%{release}
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
2019-09-30 10:57:19 -04:00
%description help
This package contains libnl3 related documentations
%package -n python3-libnl3
Summary: Python3 binding for libnl3
BuildRequires: python3-devel
Requires: %{name} = %{version}-%{release}
%description -n python3-libnl3
Python3 bindings for libnl3
%prep
%autosetup -n libnl-%{version} -p1
%build
autoreconf -vif
%configure --disable-static
%make_build
cd python
CFLAGS="$RPM_OPT_FLAGS" %py3_build
CFLAGS="$RPM_OPT_FLAGS" %py3_build
%install
%make_install
find $RPM_BUILD_ROOT -name *.la |xargs rm -f
cd python
%py3_install
%check
make check
cd python
%{__python3} setup.py check
2020-01-12 16:48:48 +08:00
%ldconfig_scriptlets
2019-09-30 10:57:19 -04:00
%files
%doc COPYING
%{_libdir}/libnl-*.so.*
%config(noreplace) %{_sysconfdir}/*
%{_libdir}/libnl/
%{_bindir}/*
%files devel
%{_includedir}/libnl3/netlink/
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%files help
%{_mandir}/man8/*
%files -n python3-libnl3
%{python3_sitearch}/netlink
%{python3_sitearch}/netlink-*.egg-info
%changelog
2024-01-12 07:38:28 +00:00
* Fri Jan 12 2024 chengyechun <chengyechun1@huawei.com> - 3.7.0-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Use the user-mode IPv6 header file
2023-08-14 16:32:35 +08:00
* Mon Aug 14 2023 chengyechun <chengyechun1@huawei.com> - 3.7.0-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:prevent segfault in af_request_type
fix bridge info parsing
2022-11-09 10:24:02 +08:00
* Wed Nov 9 2022 chengyechun <chengyechun1@huawei.com> - 3.7.0-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update to libnl-3.7.0
2021-12-23 14:28:38 +08:00
* Sat Dec 18 2021 chengyechun <chengyechun1@huawei.com> - 3.5.0-6
- Type:bugfix
- ID:NA
- SUG:NA
-DES:add seome tests about add and delele addr,
add and delete neigh,
add and delete qdisc,
add link and rule,
delete route;
2021-12-16 22:32:30 +08:00
* Thu Dec 16 2021 chengyechun <chengyechun1@huawei.com> - 3.5.0-5
- Type:bugfix
- ID:NA
- SUG:NA
- DES:add a test:test add route
* Wed Mar 10 2021 zengwefeng <zwfeng@huawei.com> - 3.5.0-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add missing check for NULL return from allocate_rfd
add include netlink private nl-auto-h header
use proper int type for id attributes
add RTNL_LINK_REASM_OVERLAPS stat
check for null pointer in macvlan
fix leaking in link msg parser
fix NLE_NOMEM handling in parse multipath
2020-10-29 09:41:51 +08:00
* Thu Oct 29 2020 gaihuiying <gaihuiying1@huawei.com> - 3.5.0-3
- Type:requirement
- ID:NA
- SUG:NA
- DESC:remove python2
2020-09-10 14:27:07 +08:00
* Thu Sep 10 2020 lunankun <lunankun@huawei.com> - 3.5.0-2
- Type: bugfix
- ID: NA
- SUG: NA
- DESC: fix Source0 url
2020-01-12 16:48:48 +08:00
* Sun Jan 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.5.0-1
- update software to 3.5.0
2019-12-26 10:00:04 +08:00
* Wed Dec 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.4.0-8
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:provides libnl3-doc
2019-09-30 10:57:19 -04:00
* Sat Sep 7 2019 liyongqiang<liyongqiang10@huawei.com> - 3.4.0-7
- Package init