Compare commits
No commits in common. "c8" and "c9s" have entirely different histories.
53
.gitignore
vendored
53
.gitignore
vendored
@ -1,2 +1,51 @@
|
|||||||
SOURCES/libnl-3.7.0.tar.gz
|
/libnl-3.2.6.tar.gz
|
||||||
SOURCES/libnl-doc-3.7.0.tar.gz
|
/libnl-3.2.19.tar.gz
|
||||||
|
/libnl-doc-3.2.19.tar.gz
|
||||||
|
/libnl-3.2.20.tar.gz
|
||||||
|
/libnl-doc-3.2.20.tar.gz
|
||||||
|
/libnl-3.2.21.tar.gz
|
||||||
|
/libnl-doc-3.2.21.tar.gz
|
||||||
|
/libnl-3.2.22.tar.gz
|
||||||
|
/libnl-doc-3.2.22.tar.gz
|
||||||
|
/libnl-3.2.24.tar.gz
|
||||||
|
/libnl-doc-3.2.24.tar.gz
|
||||||
|
/libnl-3.2.25-rc1.tar.gz
|
||||||
|
/libnl-doc-3.2.25-rc1.tar.gz
|
||||||
|
/libnl-3.2.25.tar.gz
|
||||||
|
/libnl-doc-3.2.25.tar.gz
|
||||||
|
/libnl-3.2.26-rc1.tar.gz
|
||||||
|
/libnl-doc-3.2.26-rc1.tar.gz
|
||||||
|
/libnl-3.2.26.tar.gz
|
||||||
|
/libnl-doc-3.2.26.tar.gz
|
||||||
|
/libnl-3.2.27-rc1.tar.gz
|
||||||
|
/libnl-doc-3.2.27-rc1.tar.gz
|
||||||
|
/libnl-3.2.27.tar.gz
|
||||||
|
/libnl-doc-3.2.27.tar.gz
|
||||||
|
/libnl-3.2.28-rc1.tar.gz
|
||||||
|
/libnl-doc-3.2.28-rc1.tar.gz
|
||||||
|
/libnl-3.2.28.tar.gz
|
||||||
|
/libnl-doc-3.2.28.tar.gz
|
||||||
|
/libnl-3.2.29-rc1.tar.gz
|
||||||
|
/libnl-doc-3.2.29-rc1.tar.gz
|
||||||
|
/libnl-doc-3.2.29.tar.gz
|
||||||
|
/libnl-3.2.29.tar.gz
|
||||||
|
/libnl-3.3.0-rc1.tar.gz
|
||||||
|
/libnl-doc-3.3.0-rc1.tar.gz
|
||||||
|
/libnl-3.3.0.tar.gz
|
||||||
|
/libnl-doc-3.3.0.tar.gz
|
||||||
|
/libnl-3.4.0-rc1.tar.gz
|
||||||
|
/libnl-doc-3.4.0-rc1.tar.gz
|
||||||
|
/libnl-3.4.0.tar.gz
|
||||||
|
/libnl-doc-3.4.0.tar.gz
|
||||||
|
/libnl-3.5.0.tar.gz
|
||||||
|
/libnl-doc-3.5.0.tar.gz
|
||||||
|
/libnl-3.6.0.tar.gz
|
||||||
|
/libnl-doc-3.6.0.tar.gz
|
||||||
|
/libnl-3.7.0.tar.gz
|
||||||
|
/libnl-doc-3.7.0.tar.gz
|
||||||
|
/libnl-3.8.0.tar.gz
|
||||||
|
/libnl-doc-3.8.0.tar.gz
|
||||||
|
/libnl-3.9.0.tar.gz
|
||||||
|
/libnl-doc-3.9.0.tar.gz
|
||||||
|
/libnl-3.11.0.tar.gz
|
||||||
|
/libnl-doc-3.11.0.tar.gz
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
34c0fa84005b1522175d42165f6e885f75b1b8e3 SOURCES/libnl-3.7.0.tar.gz
|
|
||||||
ed296fd3341d3f90912a01bb77d539c19ca666f3 SOURCES/libnl-doc-3.7.0.tar.gz
|
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-9
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}
|
@ -1,19 +1,25 @@
|
|||||||
Name: libnl3
|
Name: libnl3
|
||||||
Version: 3.7.0
|
Version: 3.11.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Convenience library for kernel netlink sockets
|
Summary: Convenience library for kernel netlink sockets
|
||||||
Group: Development/Libraries
|
License: LGPL-2.1-only
|
||||||
License: LGPLv2
|
|
||||||
URL: http://www.infradead.org/~tgr/libnl/
|
URL: http://www.infradead.org/~tgr/libnl/
|
||||||
|
|
||||||
%define rcversion %{nil}
|
%global version_path libnl%(echo %{version} | tr . _)
|
||||||
%define fullversion %{version}%{rcversion}
|
|
||||||
|
|
||||||
Source: http://www.infradead.org/~tgr/libnl/files/libnl-%{fullversion}.tar.gz
|
%if 0%{?rhel} > 8
|
||||||
Source1: http://www.infradead.org/~tgr/libnl/files/libnl-doc-%{fullversion}.tar.gz
|
# Disable python3 build by default
|
||||||
|
%bcond_with python3
|
||||||
|
%else
|
||||||
|
%bcond_without python3
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Source0: https://github.com/thom311/libnl/releases/download/%{version_path}/libnl-%{version}.tar.gz
|
||||||
|
Source1: https://github.com/thom311/libnl/releases/download/%{version_path}/libnl-doc-%{version}.tar.gz
|
||||||
|
|
||||||
#Patch1: some.patch
|
#Patch1: some.patch
|
||||||
|
|
||||||
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
@ -21,21 +27,15 @@ BuildRequires: flex
|
|||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
|
|
||||||
%if 0%{?rhel} > 7
|
|
||||||
# Disable python2 build by default
|
|
||||||
%bcond_with python2
|
|
||||||
%else
|
|
||||||
%bcond_without python2
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains a convenience library to simplify
|
This package contains a convenience library to simplify
|
||||||
using the Linux kernel's netlink sockets interface for
|
using the Linux kernel's netlink sockets interface for
|
||||||
network manipulation
|
network manipulation
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Libraries and headers for using libnl3
|
Summary: Libraries and headers for using libnl3
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: %{name}-cli = %{version}-%{release}
|
Requires: %{name}-cli = %{version}-%{release}
|
||||||
Requires: kernel-headers
|
Requires: kernel-headers
|
||||||
@ -43,144 +43,184 @@ Requires: kernel-headers
|
|||||||
%description devel
|
%description devel
|
||||||
This package contains various headers for using libnl3
|
This package contains various headers for using libnl3
|
||||||
|
|
||||||
|
|
||||||
%package cli
|
%package cli
|
||||||
Summary: Command line interface utils for libnl3
|
Summary: Command line interface utils for libnl3
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description cli
|
%description cli
|
||||||
This package contains various libnl3 utils and additional
|
This package contains various libnl3 utils and additional
|
||||||
libraries on which they depend
|
libraries on which they depend
|
||||||
|
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: API documentation for libnl3
|
Summary: API documentation for libnl3
|
||||||
Group: Documentation
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
This package contains libnl3 API documentation
|
This package contains libnl3 API documentation
|
||||||
|
|
||||||
%if %{with python2}
|
|
||||||
%package -n python2-libnl3
|
|
||||||
%{?python_provide:%python_provide python2-libnl3}
|
|
||||||
Summary: libnl3 binding for Python 2
|
|
||||||
BuildRequires: python2-devel
|
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n python2-libnl3
|
|
||||||
Python 2 bindings for libnl3
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
%if %{with python3}
|
||||||
%package -n python3-libnl3
|
%package -n python3-libnl3
|
||||||
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
|
||||||
Group: Development/Libraries
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: make
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n python3-libnl3
|
%description -n python3-libnl3
|
||||||
Python 3 bindings for libnl3
|
Python 3 bindings for libnl3
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n libnl-%{fullversion}
|
%autosetup -p1 -n libnl-%{version}
|
||||||
|
|
||||||
tar -xzf %SOURCE1
|
tar -xzf %SOURCE1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -vif
|
autoreconf -vif
|
||||||
%configure --disable-static
|
%configure
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%if %{with python3}
|
||||||
pushd ./python/
|
pushd ./python/
|
||||||
# build twice, otherwise capi.py is not copied to the build directory.
|
# build twice, otherwise capi.py is not copied to the build directory.
|
||||||
CFLAGS="$RPM_OPT_FLAGS" %py3_build
|
CFLAGS="$RPM_OPT_FLAGS" %py3_build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" %py3_build
|
CFLAGS="$RPM_OPT_FLAGS" %py3_build
|
||||||
|
|
||||||
%if %{with python2}
|
|
||||||
CFLAGS="$RPM_OPT_FLAGS" %py2_build
|
|
||||||
CFLAGS="$RPM_OPT_FLAGS" %py2_build
|
|
||||||
%endif
|
|
||||||
popd
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT -name \*.la -delete
|
find $RPM_BUILD_ROOT -name \*.la -delete
|
||||||
|
|
||||||
|
%if %{with python3}
|
||||||
pushd ./python/
|
pushd ./python/
|
||||||
%py3_install
|
%py3_install
|
||||||
%if %{with python2}
|
|
||||||
%py2_install
|
|
||||||
%endif
|
|
||||||
popd
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
|
%if %{with python3}
|
||||||
pushd ./python/
|
pushd ./python/
|
||||||
%{__python3} setup.py check
|
%{__python3} setup.py check
|
||||||
%if %{with python2}
|
|
||||||
%{__python2} setup.py check
|
|
||||||
%endif
|
|
||||||
popd
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets
|
||||||
%post cli -p /sbin/ldconfig
|
%ldconfig_scriptlets cli
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
%postun cli -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING
|
%license COPYING
|
||||||
%exclude %{_libdir}/libnl-cli*.so.*
|
%exclude %{_libdir}/libnl-cli*.so.*
|
||||||
|
%exclude %{_libdir}/libnl*-3.a
|
||||||
%{_libdir}/libnl-*.so.*
|
%{_libdir}/libnl-*.so.*
|
||||||
%config(noreplace) %{_sysconfdir}/*
|
%config(noreplace) %{_sysconfdir}/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc COPYING
|
%license 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
|
||||||
%doc COPYING
|
%license COPYING
|
||||||
%{_libdir}/libnl-cli*.so.*
|
%{_libdir}/libnl-cli*.so.*
|
||||||
%{_libdir}/libnl/
|
%{_libdir}/libnl/
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%doc COPYING
|
%license COPYING
|
||||||
%doc libnl-doc-%{fullversion}/*.html
|
%doc libnl-doc-%{version}/*.html
|
||||||
%doc libnl-doc-%{fullversion}/*.css
|
%doc libnl-doc-%{version}/*.css
|
||||||
%doc libnl-doc-%{fullversion}/stylesheets/*
|
%doc libnl-doc-%{version}/stylesheets/*
|
||||||
%doc libnl-doc-%{fullversion}/images/*
|
%doc libnl-doc-%{version}/images/*
|
||||||
%doc libnl-doc-%{fullversion}/images/icons/*
|
%doc libnl-doc-%{version}/images/icons/*
|
||||||
%doc libnl-doc-%{fullversion}/images/icons/callouts/*
|
%doc libnl-doc-%{version}/images/icons/callouts/*
|
||||||
%doc libnl-doc-%{fullversion}/api/*
|
%doc libnl-doc-%{version}/api/*
|
||||||
|
|
||||||
%if %{with python2}
|
|
||||||
%files -n python2-libnl3
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{python2_sitearch}/netlink
|
|
||||||
%{python2_sitearch}/netlink-*.egg-info
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
%if %{with python3}
|
||||||
%files -n python3-libnl3
|
%files -n python3-libnl3
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{python3_sitearch}/netlink
|
%{python3_sitearch}/netlink
|
||||||
%{python3_sitearch}/netlink-*.egg-info
|
%{python3_sitearch}/netlink-*.egg-info
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 12 2024 Thomas Haller <thaller@redhat.com> - 3.11.0-1
|
||||||
|
- Update to 3.11.0 release (RHEL-67129)
|
||||||
|
|
||||||
|
* 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 (rh #2078874)
|
- Update to 3.7.0 release (rh #2075841)
|
||||||
|
|
||||||
* Tue Nov 26 2019 Thomas Haller <thaller@redhat.com> - 3.5.0-1
|
* Tue May 3 2022 Thomas Haller <thaller@redhat.com> - 3.6.0-2
|
||||||
- Update to 3.5.0
|
- route: fix crash parsing multihop route (rh #2081279)
|
||||||
|
|
||||||
* Tue Aug 27 2019 Thomas Haller <thaller@redhat.com> - 3.4.0-5
|
* Thu Apr 21 2022 Thomas Haller <thaller@redhat.com> - 3.6.0-1
|
||||||
- Fix issues found by coverity (rh #1606988)
|
- Update to 3.6.0 release (rh #2075841)
|
||||||
|
|
||||||
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.5.0-10
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Fri Jul 2 2021 Thomas Haller <thaller@redhat.com> - 3.5.0-9
|
||||||
|
- Various fixes found by coverity (rh #1938776)
|
||||||
|
|
||||||
|
* Tue Jun 8 2021 Thomas Haller <thaller@redhat.com> - 3.5.0-8
|
||||||
|
- Drop python3-libnl3 package (rh #1969549)
|
||||||
|
|
||||||
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.5.0-7
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-5
|
||||||
|
- Second attempt - Rebuilt for
|
||||||
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.5.0-3
|
||||||
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Sep 1 2019 Thomas Haller <thaller@redhat.com> - 3.5.0-1
|
||||||
|
- Update to 3.5.0 release
|
||||||
|
|
||||||
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.4.0-10
|
||||||
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 15 2019 Miro Hrončok <mhroncok@redhat.com> - 3.4.0-7
|
||||||
|
- Subpackage python2-libnl3 has been removed
|
||||||
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.4.0-5
|
||||||
|
- Rebuilt for Python 3.7
|
||||||
|
|
||||||
* Fri Mar 16 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.4.0-4
|
* Fri Mar 16 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.4.0-4
|
||||||
- Conditionalize the Python 2 subpackage
|
- Conditionalize the Python 2 subpackage
|
2
sources
Normal file
2
sources
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SHA512 (libnl-3.11.0.tar.gz) = 69ecec6e792fc7b9c443fff8742cf45782af5c5c4664687440942eaeb616ba7b4ed2b606e33c5d86e44e6b49a9c79a1fed4b7c77781a059e13cf6a844d94530e
|
||||||
|
SHA512 (libnl-doc-3.11.0.tar.gz) = 876ade052e91d5ad39eebbd2d685f82cf67210f3a1bcb62dfb82548fe65bbffa9da2581135bba541d8c3dc56e3488cfb1e290416eb32a3d87b37ece5c93c340a
|
Loading…
Reference in New Issue
Block a user