update code
This commit is contained in:
parent
409d671fe0
commit
02c6be5280
31
netcf.spec
31
netcf.spec
@ -1,6 +1,6 @@
|
|||||||
Name: netcf
|
Name: netcf
|
||||||
Version: 0.2.8
|
Version: 0.2.8
|
||||||
Release: 13
|
Release: 16
|
||||||
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
|
||||||
@ -8,8 +8,8 @@ Source0: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar
|
|||||||
|
|
||||||
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
|
||||||
Patch0002: 0002-netcf-linux-include-bond-element-for-bonds-with-no-slaves.patch
|
Patch0002: 0002-netcf-linux-include-bond-element-for-bonds-with-no-slaves.patch
|
||||||
Patch0003: 0003-netcf-Properly-classify-bond-devices-with-no-slaves.patch
|
Patch0003: 0003-netcf-Properly-classify-bond-devices-with-no-slaves.patch
|
||||||
|
|
||||||
BuildRequires: autoconf automake augeas-devel gcc git gettext-devel libnl3-devel libtool
|
BuildRequires: autoconf automake augeas-devel gcc git 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
|
||||||
@ -40,7 +40,7 @@ The devel for %{name}
|
|||||||
%build
|
%build
|
||||||
autoreconf -if
|
autoreconf -if
|
||||||
|
|
||||||
%configure --with-sysinit=systemd
|
%configure --with-sysinit=systemd --with-driver=redhat
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -50,10 +50,10 @@ make install DESTDIR=$RPM_BUILD_ROOT SYSTEMD_UNIT_DIR=%{_unitdir} INSTALL="%{__i
|
|||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun netcf-transaction.service
|
%systemd_preun netcf-transaction.service
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%systemd_post netcf-transaction.service
|
%systemd_post netcf-transaction.service
|
||||||
/bin/systemctl --no-reload enable netcf-transaction.service >/dev/null 2>&1 || :
|
/bin/systemctl --no-reload enable netcf-transaction.service >/dev/null 2>&1 || :
|
||||||
@ -64,6 +64,7 @@ make check
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%license COPYING
|
||||||
%{_bindir}/ncftool
|
%{_bindir}/ncftool
|
||||||
%{_datadir}/netcf
|
%{_datadir}/netcf
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
@ -82,6 +83,24 @@ make check
|
|||||||
%{_mandir}/man1/ncftool.1*
|
%{_mandir}/man1/ncftool.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.2.8-16
|
||||||
|
- Type:enhancement
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:add network driver that caused failure of build
|
||||||
|
|
||||||
|
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.2.8-15
|
||||||
|
- Type:enhancement
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:modify the location of COPYING
|
||||||
|
|
||||||
|
* Wed Oct 09 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.2.8-14
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:add COPYING
|
||||||
|
|
||||||
* Tue Sep 24 2019 wangli <wangli221@huawei.com> - 0.2.8-13
|
* Tue Sep 24 2019 wangli <wangli221@huawei.com> - 0.2.8-13
|
||||||
- Type:Enhance
|
- Type:Enhance
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user