!10 fix build with rpm 4.18.0

From: @eaglegai 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
This commit is contained in:
openeuler-ci-bot 2023-02-08 06:12:54 +00:00 committed by Gitee
commit b51dfc0268
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: netcf
Version: 0.2.8
Release: 20
Release: 21
Summary: Cross-platform network configuration library
License: LGPLv2+
URL: https://pagure.io/netcf
@ -50,6 +50,7 @@ make install DESTDIR=$RPM_BUILD_ROOT SYSTEMD_UNIT_DIR=%{_unitdir} INSTALL="%{__i
%check
make check
make distclean
%preun
%systemd_preun netcf-transaction.service
@ -84,6 +85,12 @@ make check
%{_mandir}/man1/ncftool.1*
%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