add need root for build

This commit is contained in:
Li Jinlin 2022-03-03 09:52:48 +08:00
parent 61b1abf4cd
commit 908f37a974

View File

@ -1,3 +1,5 @@
#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
@ -14,7 +16,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: 2 Release: 3
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+
@ -111,6 +113,9 @@ fi
%{_libdir}/pkgconfig/libparted*.pc %{_libdir}/pkgconfig/libparted*.pc
%changelog %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 * Tue Dec 21 2021 Chenxi Mao <chenxi.mao@suse.com> - 3.4-2
- fix build error on SUSE Euler 2.0 - fix build error on SUSE Euler 2.0