libnftnl/libnftnl.spec

110 lines
2.8 KiB
RPMSpec
Raw Permalink Normal View History

2019-09-30 10:57:17 -04:00
Name: libnftnl
2023-07-17 14:24:54 +08:00
Version: 1.2.6
Release: 2
2019-09-30 10:57:17 -04:00
Summary: Library for low-level interaction with nftables Netlink's API over libmnl
License: GPLv2+
URL: http://netfilter.org/projects/libnftnl/
2023-04-01 10:04:02 +08:00
Source0: http://netfilter.org/projects/libnftnl/files/%{name}-%{version}.tar.xz
2019-09-30 10:57:17 -04:00
Patch6000: backport-set-Do-not-leave-free-d-expr_list-elements-in-place.patch
2020-07-22 10:08:43 +08:00
BuildRequires: libmnl-devel jansson-devel gcc
2019-09-30 10:57:17 -04:00
# replace old libnftables package
Provides: libnftables = %{version}-%{release}
Obsoletes: libnftables < 0-0.6
%description
libnftnl is a userspace library providing a low-level netlink programming interface (API)
to the in-kernel nf_tables subsystem.
%package devel
Summary: Development files for %{name}
2020-06-11 16:59:29 +08:00
Requires: %{name} = %{version}-%{release}
2019-09-30 10:57:17 -04:00
# replace old libnftables-devel package
Provides: libnftables-devel = %{version}-%{release}
Obsoletes: libnftables-devel < 0-0.6
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
2020-06-11 16:59:29 +08:00
%autosetup -n %{name}-%{version} -p1
2019-09-30 10:57:17 -04:00
%build
%configure --disable-static --disable-silent-rules --with-json-parsing
%make_build
%install
%make_install
%delete_la
%check
make %{?_smp_mflags} check
%files
%doc COPYING
%{_libdir}/*.so.*
%files devel
%{_libdir}/libnft*.so
%{_libdir}/pkgconfig/libnftnl.pc
%{_includedir}/libnftnl
%changelog
* Tue Sep 05 2023 shixuantong <shixuantong1@huawei.com> - 1.2.6-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:set: Do not leave free'd expr_list elements in place
2023-07-17 14:24:54 +08:00
* Mon Jul 17 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 1.2.6-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 1.2.6
2023-04-01 10:04:02 +08:00
* Sat Apr 01 2023 shixuantong <shixuantong1@huawei.com> - 1.2.5-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 1.2.5
2022-11-17 16:12:29 +08:00
* Thu Nov 17 2022 fuanan <fuanan3@h-partners.com> - 1.2.4-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 1.2.4
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 1.2.1-2
- rebuild for next release
2022-03-29 14:52:15 +08:00
* Tue Mar 29 2022 panxiaohe <panxh.life@foxmail.com> - 1.2.1-1
- update to 1.2.1
2021-07-19 17:57:54 +08:00
* Mon Jul 19 2021 fuanan <fuanan3@huawei.com> - 1.2.0-1
- update to 1.2.0
2021-01-21 19:00:39 +08:00
* Thu Jan 21 2021 yangzhuangzhuang<yangzhuangzhuang1@huawei.com> - 1.1.8-1
- update to 1.1.8
2020-09-09 11:21:14 +08:00
* Wed Sep 9 2020 wangchen<wangchen137@huawei.com> - 1.1.7-2
- modify the URL of Source0
2020-07-22 10:08:43 +08:00
* Wed Jul 22 2020 hanzhijun<hanzhijun1@huawei.com> - 1.1.7-1
- update to 1.1.7
2020-07-01 09:49:31 +08:00
* Wed Jul 1 2020 chengquan<chengquan3@huawei.com> - 1.1.5-3
- delete temporary binary compatibility
2020-06-11 16:59:29 +08:00
* Tue Apr 28 2020 Yufa Fang<fangyufa1@huawei.com> - 1.1.5-2
- include previous ABI version for temporary binary compatibility
* Fri Apr 24 2020 Yufa Fang<fangyufa1@huawei.com> - 1.1.5-1
- update to 1.1.5 and fix flowtable tests failure
2019-09-30 10:57:17 -04:00
* Tue Sep 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.1-6
- Package init