Pre Merge pull request !5 from swf504/master

This commit is contained in:
swf504 2020-02-12 11:42:57 +08:00 committed by Gitee
commit 3c75239be3

View File

@ -14,7 +14,7 @@
Summary: The GNU disk partition manipulation program
Name: parted
Version: 3.3
Release: 0
Release: 1
URL: https://www.gnu.org/software/parted/
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
License: GPLv3+
@ -81,6 +81,10 @@ autoconf
%clean
%{__rm} -rf %{buildroot}
%check
export LD_LIBRARY_PATH=$(pwd)/libparted/.libs:$(pwd)/libparted/fs/.libs
make check
%post
if [ -f %{_infodir}/parted.info.gz ]; then
/sbin/install-info %{_infodir}/parted.info.gz %{_infodir}/dir || :
@ -109,6 +113,12 @@ fi
%{_libdir}/pkgconfig/libparted*.pc
%changelog
* Wed Feb 12 2020 suweifeng <suweifeng1@huawei.com> - 3.3-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:Add check part for spec file
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.3-0
- Type:enhancement
- ID:NA