Compare commits
10 Commits
25f519319c
...
b51dfc0268
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b51dfc0268 | ||
|
|
00a3faf7e4 | ||
|
|
d685afca89 | ||
|
|
198a85dbfd | ||
|
|
5f5007e8b7 | ||
|
|
43a3436f1f | ||
|
|
392d21b79b | ||
|
|
86c9c9a757 | ||
|
|
fd8f6927dd | ||
|
|
28c57de852 |
32
netcf.spec
32
netcf.spec
@ -1,10 +1,10 @@
|
|||||||
Name: netcf
|
Name: netcf
|
||||||
Version: 0.2.8
|
Version: 0.2.8
|
||||||
Release: 17
|
Release: 21
|
||||||
Summary: Cross-platform network configuration library
|
Summary: Cross-platform network configuration library
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://pagure.io/netcf
|
URL: https://pagure.io/netcf
|
||||||
Source0: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz
|
Source0: https://releases.pagure.org/netcf/netcf-0.2.8.tar.gz
|
||||||
|
|
||||||
Patch0000: 0000-netcf-call-aug_load-at-most-once-per-second.patch
|
Patch0000: 0000-netcf-call-aug_load-at-most-once-per-second.patch
|
||||||
Patch0001: 0001-netcf-optimize-aug_match-query-for-all-ifcfg-files-related.patch
|
Patch0001: 0001-netcf-optimize-aug_match-query-for-all-ifcfg-files-related.patch
|
||||||
@ -12,10 +12,10 @@ Patch0002: 0002-netcf-linux-include-bond-element-for-bonds-with-no-slaves.p
|
|||||||
Patch0003: 0003-netcf-Properly-classify-bond-devices-with-no-slaves.patch
|
Patch0003: 0003-netcf-Properly-classify-bond-devices-with-no-slaves.patch
|
||||||
Patch0004: Fix-memory-leak-in-aug-match-mac.patch
|
Patch0004: Fix-memory-leak-in-aug-match-mac.patch
|
||||||
|
|
||||||
BuildRequires: autoconf automake augeas-devel gcc git gettext-devel libnl3-devel libtool
|
BuildRequires: autoconf automake augeas-devel gcc gettext-devel libnl3-devel libtool
|
||||||
BuildRequires: libxml2-devel libxslt-devel perl-podlators readline-devel systemd /usr/bin/pod2man
|
BuildRequires: libxml2-devel libxslt-devel perl-podlators readline-devel systemd /usr/bin/pod2man
|
||||||
|
|
||||||
Requires: bridge-utils systemd
|
Requires: systemd
|
||||||
|
|
||||||
Provides: bundled(gnulib) %{name}-libs = %{version}-%{release}
|
Provides: bundled(gnulib) %{name}-libs = %{version}-%{release}
|
||||||
Obsoletes: %{name}-libs = %{version}-%{release}
|
Obsoletes: %{name}-libs = %{version}-%{release}
|
||||||
@ -36,7 +36,7 @@ The devel for %{name}
|
|||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1 -S git
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -if
|
autoreconf -if
|
||||||
@ -50,6 +50,7 @@ make install DESTDIR=$RPM_BUILD_ROOT SYSTEMD_UNIT_DIR=%{_unitdir} INSTALL="%{__i
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
make distclean
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun netcf-transaction.service
|
%systemd_preun netcf-transaction.service
|
||||||
@ -84,6 +85,27 @@ make check
|
|||||||
%{_mandir}/man1/ncftool.1*
|
%{_mandir}/man1/ncftool.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 08 2023 gaihuiying <eaglegai@163.com> - 0.2.8-21
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:fix build with rpm 4.18.0
|
||||||
|
|
||||||
|
* Thu Dec 30 2021 gaihuiying <gaihuiying1@huawei.com> - 0.2.8-20
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:remove bridge-utils dependency
|
||||||
|
|
||||||
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.2.8-19
|
||||||
|
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
|
* Thu Sep 10 2020 lunankun <lunankun@huawei.com> - 0.2.8-18
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:Fix source0 url
|
||||||
|
|
||||||
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.2.8-17
|
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.2.8-17
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
4
netcf.yaml
Normal file
4
netcf.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: git
|
||||||
|
src_repo: https://pagure.io/netcf.git
|
||||||
|
tag_prefix: release-
|
||||||
|
seperator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user