Add check part and enable pc98 in spec file

This commit is contained in:
eulerstorage 2020-02-19 20:38:22 +08:00
parent b3bff9575a
commit 4276e87907

View File

@ -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