!6 enable make check in spec file
Merge pull request !6 from hy/hy-work
This commit is contained in:
commit
cfe6c96724
13
parted.spec
13
parted.spec
@ -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+
|
||||
@ -63,7 +63,6 @@ autoconf
|
||||
--disable-selinux \
|
||||
%endif
|
||||
--enable-part-static \
|
||||
--enable-pc98=no \
|
||||
--enable-Werror=no \
|
||||
--disable-dynamic-loading \
|
||||
--disable-gcc-warnings
|
||||
@ -81,6 +80,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 +112,12 @@ fi
|
||||
%{_libdir}/pkgconfig/libparted*.pc
|
||||
|
||||
%changelog
|
||||
* Wed Feb 19 2020 hy-euler <eulerstoragemt@huawei.com> - 3.3-1
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:Add check part and enable pc98 in spec file
|
||||
|
||||
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.3-0
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user