Summary: GNU Parted manipulates partition tables Name: parted Version: 3.2 Release: 7%{?dist} License: GPLv3+ URL: http://ftp.gnu.org/gnu/parted/parted-3.2.tar.xz Group: Applications/System Vendor: VMware, Inc. Distribution: Photon Source0: http://ftp.gnu.org/gnu/parted/%{name}-%{version}.tar.xz %define sha1 parted=8cabb2d6789badec15c857dcc003d0dd931a818b Conflicts: toybox %description This is useful for creating space for new operating systems, reorganizing disk usage, copying data on hard disks and disk imaging. The package contains a library, libparted, as well as well as a command-line frontend, parted, which can also be used in scripts. %prep %setup -q %build #Add a header to allow building with glibc-2.28 or later sed -i '/utsname.h/a#include ' libparted/arch/linux.c && %configure --without-readline --disable-debug \ --disable-nls --disable-device-mapper make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_sbindir}/* %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/*.so.* %{_libdir}/pkgconfig/*.pc %{_includedir}/* %{_infodir}/* %{_datadir}/* %changelog * Tue Oct 2 2018 Michelle Wang 3.2-7 - Add conflict toybox. * Sun Sep 09 2018 Alexey Makhalov 3.2-6 - Fix compilation issue against glibc-2.28. * Wed Aug 16 2017 Priyesh Padmavilasom 3.2-5 - Fix summary and description. * Tue Jun 06 2017 ChangLee 3.2-4 - Remove %check. * Fri Oct 07 2016 ChangLee 3.2-3 - Modified %check. * Tue May 24 2016 Priyesh Padmavilasom 3.2-2 - GA Bump release of all rpms. * Wed Nov 12 2014 Mahmoud Bassiouny 3.2-1 - Initial version.