!39 修复 C.UTF-8 No such file or directory

From: @wu-leilei 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
This commit is contained in:
openeuler-ci-bot 2022-05-05 02:02:11 +00:00 committed by Gitee
commit 4ff1c94dee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,5 +1,3 @@
#needsrootforbuild
# This SPEC file come from GNU Parted Project(git://git.savannah.gnu.org/parted.git) # This SPEC file come from GNU Parted Project(git://git.savannah.gnu.org/parted.git)
# Default to disabling device-mapper and SELinux # Default to disabling device-mapper and SELinux
%define use_devmapper 0 %define use_devmapper 0
@ -16,7 +14,7 @@
Summary: The GNU disk partition manipulation program Summary: The GNU disk partition manipulation program
Name: parted Name: parted
Version: 3.4 Version: 3.4
Release: 3 Release: 4
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+
@ -25,6 +23,7 @@ BuildRequires: e2fsprogs-devel e2fsprogs xfsprogs readline-devel ncurses-devel g
BuildRequires: autoconf automake libtool gettext-devel texinfo pkgconfig gcc make bc dosfstools gnupg2 device-mapper-devel BuildRequires: autoconf automake libtool gettext-devel texinfo pkgconfig gcc make bc dosfstools gnupg2 device-mapper-devel
BuildRequires: libblkid-devel >= 2.17 BuildRequires: libblkid-devel >= 2.17
BuildRequires: device-mapper-devel, libselinux-devel libsepol-devel BuildRequires: device-mapper-devel, libselinux-devel libsepol-devel
BuildRequires: glibc-all-langpacks
Patch1: 0001-add-support-of-gpt_sync_mbr.patch Patch1: 0001-add-support-of-gpt_sync_mbr.patch
Patch2: 0002-Add-extra-judgment-for-a-partition-created-success.patch Patch2: 0002-Add-extra-judgment-for-a-partition-created-success.patch
@ -113,6 +112,9 @@ fi
%{_libdir}/pkgconfig/libparted*.pc %{_libdir}/pkgconfig/libparted*.pc
%changelog %changelog
* Mon Apr 18 2022 wulei <wulei80@h-partners.com> 3.4-4
- Fix en_US.utf-8 no such file or directory, and disable root for build
* Thu Mar 3 2022 Li Jinlin <lijinlin3@huawei.com> - 3.4-3 * Thu Mar 3 2022 Li Jinlin <lijinlin3@huawei.com> - 3.4-3
- add need root for build - add need root for build