|
|
@ -1,11 +1,12 @@
|
|
|
|
Name: libnl3
|
|
|
|
Name: libnl3
|
|
|
|
Version: 3.9.0
|
|
|
|
Version: 3.7.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Convenience library for kernel netlink sockets
|
|
|
|
Summary: Convenience library for kernel netlink sockets
|
|
|
|
License: LGPL-2.1-only
|
|
|
|
License: LGPLv2
|
|
|
|
URL: http://www.infradead.org/~tgr/libnl/
|
|
|
|
URL: http://www.infradead.org/~tgr/libnl/
|
|
|
|
|
|
|
|
|
|
|
|
%global version_path libnl%(echo %{version} | tr . _)
|
|
|
|
%define rcversion %{nil}
|
|
|
|
|
|
|
|
%define fullversion %{version}%{rcversion}
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} > 8
|
|
|
|
%if 0%{?rhel} > 8
|
|
|
|
# Disable python3 build by default
|
|
|
|
# Disable python3 build by default
|
|
|
@ -14,8 +15,8 @@ URL: http://www.infradead.org/~tgr/libnl/
|
|
|
|
%bcond_without python3
|
|
|
|
%bcond_without python3
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Source0: https://github.com/thom311/libnl/releases/download/%{version_path}/libnl-%{version}.tar.gz
|
|
|
|
Source: http://www.infradead.org/~tgr/libnl/files/libnl-%{fullversion}.tar.gz
|
|
|
|
Source1: https://github.com/thom311/libnl/releases/download/%{version_path}/libnl-doc-%{version}.tar.gz
|
|
|
|
Source1: http://www.infradead.org/~tgr/libnl/files/libnl-doc-%{fullversion}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
#Patch1: some.patch
|
|
|
|
#Patch1: some.patch
|
|
|
|
|
|
|
|
|
|
|
@ -66,7 +67,6 @@ This package contains libnl3 API documentation
|
|
|
|
Summary: libnl3 binding for Python 3
|
|
|
|
Summary: libnl3 binding for Python 3
|
|
|
|
%{?python_provide:%python_provide python3-libnl3}
|
|
|
|
%{?python_provide:%python_provide python3-libnl3}
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -75,7 +75,7 @@ Python 3 bindings for libnl3
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n libnl-%{version}
|
|
|
|
%autosetup -p1 -n libnl-%{fullversion}
|
|
|
|
|
|
|
|
|
|
|
|
tar -xzf %SOURCE1
|
|
|
|
tar -xzf %SOURCE1
|
|
|
|
|
|
|
|
|
|
|
@ -116,35 +116,35 @@ popd
|
|
|
|
%ldconfig_scriptlets cli
|
|
|
|
%ldconfig_scriptlets cli
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%doc COPYING
|
|
|
|
%exclude %{_libdir}/libnl-cli*.so.*
|
|
|
|
%exclude %{_libdir}/libnl-cli*.so.*
|
|
|
|
%exclude %{_libdir}/libnl*-3.a
|
|
|
|
%exclude %{_libdir}/libnl*-3.a
|
|
|
|
%{_libdir}/libnl-*.so.*
|
|
|
|
%{_libdir}/libnl-*.so.*
|
|
|
|
%config(noreplace) %{_sysconfdir}/*
|
|
|
|
%config(noreplace) %{_sysconfdir}/*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license COPYING
|
|
|
|
%doc COPYING
|
|
|
|
%{_includedir}/libnl3/netlink/
|
|
|
|
%{_includedir}/libnl3/netlink/
|
|
|
|
%dir %{_includedir}/libnl3/
|
|
|
|
%dir %{_includedir}/libnl3/
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
|
|
|
|
%files cli
|
|
|
|
%files cli
|
|
|
|
%license COPYING
|
|
|
|
%doc COPYING
|
|
|
|
%{_libdir}/libnl-cli*.so.*
|
|
|
|
%{_libdir}/libnl-cli*.so.*
|
|
|
|
%{_libdir}/libnl/
|
|
|
|
%{_libdir}/libnl/
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%files doc
|
|
|
|
%license COPYING
|
|
|
|
%doc COPYING
|
|
|
|
%doc libnl-doc-%{version}/*.html
|
|
|
|
%doc libnl-doc-%{fullversion}/*.html
|
|
|
|
%doc libnl-doc-%{version}/*.css
|
|
|
|
%doc libnl-doc-%{fullversion}/*.css
|
|
|
|
%doc libnl-doc-%{version}/stylesheets/*
|
|
|
|
%doc libnl-doc-%{fullversion}/stylesheets/*
|
|
|
|
%doc libnl-doc-%{version}/images/*
|
|
|
|
%doc libnl-doc-%{fullversion}/images/*
|
|
|
|
%doc libnl-doc-%{version}/images/icons/*
|
|
|
|
%doc libnl-doc-%{fullversion}/images/icons/*
|
|
|
|
%doc libnl-doc-%{version}/images/icons/callouts/*
|
|
|
|
%doc libnl-doc-%{fullversion}/images/icons/callouts/*
|
|
|
|
%doc libnl-doc-%{version}/api/*
|
|
|
|
%doc libnl-doc-%{fullversion}/api/*
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with python3}
|
|
|
|
%if %{with python3}
|
|
|
|
%files -n python3-libnl3
|
|
|
|
%files -n python3-libnl3
|
|
|
@ -153,12 +153,6 @@ popd
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Dec 4 2023 Thomas Haller <thaller@redhat.com> - 3.9.0-1
|
|
|
|
|
|
|
|
- Update to 3.9.0 release (RHEL-17843)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Dec 1 2023 Thomas Haller <thaller@redhat.com> - 3.8.0-1
|
|
|
|
|
|
|
|
- Update to 3.8.0 release (RHEL-17843)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 6 2022 Thomas Haller <thaller@redhat.com> - 3.7.0-1
|
|
|
|
* Wed Jul 6 2022 Thomas Haller <thaller@redhat.com> - 3.7.0-1
|
|
|
|
- Update to 3.7.0 release (rh #2075841)
|
|
|
|
- Update to 3.7.0 release (rh #2075841)
|
|
|
|
|
|
|
|
|
|
|
|