add need root for build

(cherry picked from commit 908f37a974087b06a3a843856ae6715950996b49)
This commit is contained in:
Li Jinlin 2022-03-03 09:52:48 +08:00 committed by openeuler-sync-bot
parent 7b6c9f66e5
commit 31d24d9fc9

View File

@ -1,3 +1,5 @@
#needsrootforbuild
# This SPEC file come from GNU Parted Project(git://git.savannah.gnu.org/parted.git)
# Default to disabling device-mapper and SELinux
%define use_devmapper 0
@ -14,7 +16,7 @@
Summary: The GNU disk partition manipulation program
Name: parted
Version: 3.4
Release: 2
Release: 3
URL: https://www.gnu.org/software/parted/
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
License: GPLv3+
@ -111,6 +113,9 @@ fi
%{_libdir}/pkgconfig/libparted*.pc
%changelog
* Thu Mar 3 2022 Li Jinlin <lijinlin3@huawei.com> - 3.4-3
- add need root for build
* Tue Dec 21 2021 Chenxi Mao <chenxi.mao@suse.com> - 3.4-2
- fix build error on SUSE Euler 2.0