!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
|
Summary: The GNU disk partition manipulation program
|
||||||
Name: parted
|
Name: parted
|
||||||
Version: 3.3
|
Version: 3.3
|
||||||
Release: 0
|
Release: 1
|
||||||
URL: https://www.gnu.org/software/parted/
|
URL: https://www.gnu.org/software/parted/
|
||||||
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -63,7 +63,6 @@ autoconf
|
|||||||
--disable-selinux \
|
--disable-selinux \
|
||||||
%endif
|
%endif
|
||||||
--enable-part-static \
|
--enable-part-static \
|
||||||
--enable-pc98=no \
|
|
||||||
--enable-Werror=no \
|
--enable-Werror=no \
|
||||||
--disable-dynamic-loading \
|
--disable-dynamic-loading \
|
||||||
--disable-gcc-warnings
|
--disable-gcc-warnings
|
||||||
@ -81,6 +80,10 @@ autoconf
|
|||||||
%clean
|
%clean
|
||||||
%{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
export LD_LIBRARY_PATH=$(pwd)/libparted/.libs:$(pwd)/libparted/fs/.libs
|
||||||
|
make check
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ -f %{_infodir}/parted.info.gz ]; then
|
if [ -f %{_infodir}/parted.info.gz ]; then
|
||||||
/sbin/install-info %{_infodir}/parted.info.gz %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/parted.info.gz %{_infodir}/dir || :
|
||||||
@ -109,6 +112,12 @@ fi
|
|||||||
%{_libdir}/pkgconfig/libparted*.pc
|
%{_libdir}/pkgconfig/libparted*.pc
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.3-0
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user