2007-02-08 16:00:22 +00:00
|
|
|
Summary: The GNU disk partition manipulation program
|
2006-08-22 20:43:14 +00:00
|
|
|
Name: parted
|
2022-04-18 20:29:03 +00:00
|
|
|
Version: 3.5
|
2022-08-09 17:15:30 +00:00
|
|
|
Release: 6%{?dist}
|
2008-01-03 02:26:18 +00:00
|
|
|
License: GPLv3+
|
2007-04-19 18:52:23 +00:00
|
|
|
URL: http://www.gnu.org/software/parted
|
2006-06-15 20:16:26 +00:00
|
|
|
|
2022-04-18 20:29:03 +00:00
|
|
|
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
|
2019-08-09 23:10:35 +00:00
|
|
|
Source2: pubkey.phillip.susi
|
|
|
|
Source3: pubkey.brian.lane
|
2019-01-31 19:35:16 +00:00
|
|
|
|
2022-03-30 17:26:37 +00:00
|
|
|
# Upstream patches since v3.5 release
|
2022-05-17 23:23:46 +00:00
|
|
|
Patch0001: 0001-maint-post-release-administrivia.patch
|
|
|
|
Patch0002: 0002-parted-add-type-command.patch
|
|
|
|
Patch0003: 0003-libparted-add-swap-flag-for-DASD-label.patch
|
|
|
|
Patch0004: 0004-parted-Reset-the-filesystem-type-when-changing-the-i.patch
|
|
|
|
Patch0005: 0005-tests-t3200-type-change-now-passes.patch
|
2022-08-04 18:54:17 +00:00
|
|
|
Patch0006: 0006-disk.in.h-Remove-use-of-enums-with-define.patch
|
2022-08-09 17:15:30 +00:00
|
|
|
Patch0007: 0007-libparted-Fix-handling-of-gpt-partition-types.patch
|
|
|
|
Patch0008: 0008-tests-Add-a-libparted-test-for-ped_partition_set_sys.patch
|
|
|
|
Patch0009: 0009-libparted-Fix-handling-of-msdos-partition-types.patch
|
|
|
|
Patch0010: 0010-tests-Add-a-libparted-test-for-ped_partition_set_sys.patch
|
|
|
|
|
2021-02-03 17:43:00 +00:00
|
|
|
|
2018-02-20 00:42:40 +00:00
|
|
|
BuildRequires: gcc
|
2007-12-14 03:34:30 +00:00
|
|
|
BuildRequires: e2fsprogs-devel
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: texinfo
|
|
|
|
BuildRequires: device-mapper-devel
|
2009-07-10 13:16:25 +00:00
|
|
|
BuildRequires: libuuid-devel
|
2009-11-03 12:07:15 +00:00
|
|
|
BuildRequires: libblkid-devel >= 2.17
|
2018-06-07 16:47:30 +00:00
|
|
|
BuildRequires: gnupg2
|
2010-12-17 16:22:03 +00:00
|
|
|
BuildRequires: git
|
2021-03-10 18:18:59 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
2011-10-31 21:56:09 +00:00
|
|
|
BuildRequires: e2fsprogs
|
2014-04-10 00:17:15 +00:00
|
|
|
BuildRequires: xfsprogs
|
2011-10-31 21:56:09 +00:00
|
|
|
BuildRequires: dosfstools
|
2013-09-11 18:39:51 +00:00
|
|
|
BuildRequires: perl-Digest-CRC
|
2014-04-10 00:17:15 +00:00
|
|
|
BuildRequires: bc
|
2022-08-09 17:15:30 +00:00
|
|
|
BuildRequires: python3
|
2017-05-02 16:41:50 +00:00
|
|
|
BuildRequires: gperf
|
2018-06-27 21:44:42 +00:00
|
|
|
BuildRequires: make
|
2022-08-09 17:15:30 +00:00
|
|
|
BuildRequires: check-devel
|
2006-03-14 21:12:47 +00:00
|
|
|
|
2012-05-15 17:20:59 +00:00
|
|
|
# bundled gnulib library exception, as per packaging guidelines
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
|
|
|
|
Provides: bundled(gnulib)
|
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
%description
|
2004-09-09 09:52:03 +00:00
|
|
|
The GNU Parted program allows you to create, destroy, resize, move,
|
|
|
|
and copy hard disk partitions. Parted can be used for creating space
|
|
|
|
for new operating systems, reorganizing disk usage, and copying data
|
2004-09-09 09:51:30 +00:00
|
|
|
to new hard disks.
|
|
|
|
|
2010-01-11 14:03:07 +00:00
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
%package devel
|
2007-04-19 18:52:23 +00:00
|
|
|
Summary: Files for developing apps which will manipulate disk partitions
|
2007-12-14 03:34:30 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
%description devel
|
2004-09-09 09:52:03 +00:00
|
|
|
The GNU Parted library is a set of routines for hard disk partition
|
|
|
|
manipulation. If you want to develop programs that manipulate disk
|
|
|
|
partitions and filesystems using the routines provided by the GNU
|
|
|
|
Parted library, you need to install this package.
|
2004-09-09 09:51:30 +00:00
|
|
|
|
2010-01-11 14:03:07 +00:00
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
%prep
|
2021-08-03 22:43:24 +00:00
|
|
|
%{gpgverify} --keyring='%{SOURCE3}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
2020-07-21 16:29:18 +00:00
|
|
|
%autosetup -S git_am
|
2010-01-11 14:03:07 +00:00
|
|
|
iconv -f ISO-8859-1 -t UTF8 AUTHORS > tmp; touch -r AUTHORS tmp; mv tmp AUTHORS
|
2009-07-21 14:55:51 +00:00
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
%build
|
2021-03-10 18:18:59 +00:00
|
|
|
autoreconf -fiv
|
2011-02-09 17:18:23 +00:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS -Wno-unused-but-set-variable"; export CFLAGS
|
2020-11-05 17:38:13 +00:00
|
|
|
%configure --disable-static --disable-gcc-warnings
|
2010-01-11 14:03:07 +00:00
|
|
|
# Don't use rpath!
|
|
|
|
%{__sed} -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
%{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
2020-07-14 02:28:02 +00:00
|
|
|
%make_build
|
2004-09-09 10:00:21 +00:00
|
|
|
|
2010-01-11 14:03:07 +00:00
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
%install
|
2007-03-19 18:39:07 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
2020-07-14 02:28:02 +00:00
|
|
|
%make_install
|
2008-01-14 08:10:01 +00:00
|
|
|
|
|
|
|
# Remove components we do not ship
|
2007-03-19 18:39:07 +00:00
|
|
|
%{__rm} -rf %{buildroot}%{_libdir}/*.la
|
|
|
|
%{__rm} -rf %{buildroot}%{_infodir}/dir
|
2008-01-03 02:26:18 +00:00
|
|
|
%{__rm} -rf %{buildroot}%{_bindir}/label
|
2009-10-06 18:53:21 +00:00
|
|
|
%{__rm} -rf %{buildroot}%{_bindir}/disk
|
2004-09-09 09:51:40 +00:00
|
|
|
|
2007-03-20 05:37:27 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2010-01-11 14:03:07 +00:00
|
|
|
|
2010-01-17 15:57:08 +00:00
|
|
|
%check
|
2016-03-07 19:55:00 +00:00
|
|
|
export LD_LIBRARY_PATH=$(pwd)/libparted/.libs:$(pwd)/libparted/fs/.libs
|
2010-01-17 15:57:08 +00:00
|
|
|
make check
|
|
|
|
|
2007-03-20 05:37:27 +00:00
|
|
|
%files -f %{name}.lang
|
2014-07-30 15:00:02 +00:00
|
|
|
%doc AUTHORS NEWS README THANKS
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
2007-03-19 18:39:07 +00:00
|
|
|
%{_sbindir}/parted
|
|
|
|
%{_sbindir}/partprobe
|
2022-02-11 07:45:56 +00:00
|
|
|
%{_mandir}/man8/parted.8*
|
|
|
|
%{_mandir}/man8/partprobe.8*
|
2016-02-29 20:01:52 +00:00
|
|
|
%{_libdir}/libparted.so.2
|
2022-03-30 17:26:37 +00:00
|
|
|
%{_libdir}/libparted.so.2.0.4
|
2016-02-29 20:01:52 +00:00
|
|
|
%{_libdir}/libparted-fs-resize.so.0
|
2022-03-30 17:26:37 +00:00
|
|
|
%{_libdir}/libparted-fs-resize.so.0.0.4
|
2022-02-11 07:45:56 +00:00
|
|
|
%{_infodir}/parted.info*
|
2004-09-09 09:51:30 +00:00
|
|
|
|
|
|
|
%files devel
|
2014-05-31 23:10:54 +00:00
|
|
|
%doc TODO doc/API doc/FAT
|
2007-03-19 18:39:07 +00:00
|
|
|
%{_includedir}/parted
|
2016-02-29 20:01:52 +00:00
|
|
|
%{_libdir}/libparted.so
|
|
|
|
%{_libdir}/libparted-fs-resize.so
|
|
|
|
%{_libdir}/pkgconfig/libparted.pc
|
|
|
|
%{_libdir}/pkgconfig/libparted-fs-resize.pc
|
2004-09-09 09:51:30 +00:00
|
|
|
|
2009-12-20 10:19:49 +00:00
|
|
|
|
2004-09-09 09:51:30 +00:00
|
|
|
%changelog
|
2022-08-09 17:15:30 +00:00
|
|
|
* Mon Aug 08 2022 Brian C. Lane <bcl@redhat.com> - 3.5-5.bcl.1
|
|
|
|
- Fix ped_partition_set_system handling of existing flags
|
|
|
|
|
2022-08-04 18:54:17 +00:00
|
|
|
* Thu Aug 04 2022 Brian C. Lane <bcl@redhat.com> - 3.5-5
|
|
|
|
- Update enum patch description for upstream
|
|
|
|
|
2022-07-22 02:44:37 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-20 20:10:26 +00:00
|
|
|
* Mon Jun 20 2022 Adam Williamson <awilliam@redhat.com> - 3.5-3
|
|
|
|
- Set _FIRST_ and _LAST_ macro values directly
|
|
|
|
|
2022-05-17 23:23:46 +00:00
|
|
|
* Tue May 17 2022 Brian C. Lane <bcl@redhat.com> - 3.5-2
|
|
|
|
- tests: t3200-type-change now passes (bcl)
|
|
|
|
- parted: Reset the filesystem type when changing the id/uuid (bcl)
|
|
|
|
- libparted: add swap flag for DASD label (aschnell)
|
|
|
|
- parted: add type command (aschnell)
|
|
|
|
- maint: post-release administrivia (bcl)
|
|
|
|
|
2022-04-18 20:29:03 +00:00
|
|
|
* Mon Apr 18 2022 Brian C. Lane <bcl@redhat.com> - 3.5-1
|
|
|
|
- Upstream 3.5 stable release
|
|
|
|
|
2022-03-30 17:26:37 +00:00
|
|
|
* Wed Mar 30 2022 Brian C. Lane <bcl@redhat.com> - 3.4.64-1
|
|
|
|
- Upstream 3.4.64 Alpha release
|
|
|
|
- Dropped all patches included in new upstream release
|
|
|
|
- Bumped minor version on libparted.so and libparted-fs-resize.so
|
|
|
|
|
2022-02-17 23:46:48 +00:00
|
|
|
* Thu Feb 17 2022 Brian C. Lane <bcl@redhat.com> - 3.4-12
|
|
|
|
- gnulib: Use newer cdefs.h from gnulib (bcl)
|
|
|
|
- Update parted.spec to allow flatpak builds
|
|
|
|
|
2022-01-20 22:56:40 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-10-06 22:55:47 +00:00
|
|
|
* Wed Oct 06 2021 Brian C. Lane <bcl@redhat.com> - 3.4-11
|
|
|
|
- docs: Update documentation to be consistent
|
|
|
|
|
2021-10-06 22:30:12 +00:00
|
|
|
* Wed Oct 06 2021 Brian C. Lane <bcl@redhat.com> - 3.4-10
|
|
|
|
- gpt: Revert to filesystem GUID when setting flag to off (bcl)
|
|
|
|
- tests: Add a test to make sure GPT GUIDs default to filesystem (bcl)
|
|
|
|
- doc: Document gpt linux-home flag (bcl)
|
|
|
|
- gpt: Add linux-home flag (aschnell)
|
|
|
|
- gpt: Map PED_PARTITON_ flags to GUID values (aschnell)
|
|
|
|
|
2021-09-23 23:42:24 +00:00
|
|
|
* Thu Sep 23 2021 Brian C. Lane <bcl@redhat.com> - 3.4-9
|
2021-09-23 23:31:49 +00:00
|
|
|
- keep GUID specific attributes (aschnell)
|
|
|
|
- hurd: Implement partition table rereading (cjwatson)
|
|
|
|
- hurd: Support rumpdisk-based device names (samuel.thibault)
|
|
|
|
- hurd: Fix partition paths (cjwatson)
|
|
|
|
|
2021-08-25 22:36:37 +00:00
|
|
|
* Wed Aug 25 2021 Brian C. Lane <bcl@redhat.com> - 3.4-8
|
|
|
|
- parted: Add --json cmdline switch to output JSON (aschnell)
|
|
|
|
- parted: Allow empty string for partition name (aschnell)
|
|
|
|
- libparted: Check devpath before passing to strlen (bcl)
|
|
|
|
|
2021-08-10 23:24:56 +00:00
|
|
|
* Tue Aug 10 2021 Brian C. Lane <bcl@redhat.com> - 3.4-7
|
|
|
|
- libparted: Tell libdevmapper to retry remove when BUSY (bcl)
|
|
|
|
Resolves: rhbz#1980697
|
|
|
|
- parted: Escape colons and backslashes in machine output (bcl)
|
|
|
|
- tests: check for vfat kernel support and tools (ross.burton)
|
|
|
|
- tests: add a helper to check the kernel knows about a file system (ross.burton)
|
|
|
|
- tests: add aarch64 and mips64 as a valid 64-bit machines (ross.burton)
|
|
|
|
- libparted: Add swap flag to msdos disklabel (bcl)
|
|
|
|
- Move Exception Option values into enum (bcl)
|
|
|
|
|
2021-08-03 22:43:24 +00:00
|
|
|
* Tue Aug 03 2021 Brian C. Lane <bcl@redhat.com> - 3.4-6
|
|
|
|
- spec: Use the %%gpgverify macro for the signature check
|
|
|
|
- tests/t3000: Use mkfs.hfsplus and fsck.hfsplus for resize tests (bcl)
|
|
|
|
- tests/t3000: Check for hfs and vfat support separately (bcl)
|
|
|
|
- tests: Reduce memory usage for tests using scsi_debug module (bcl)
|
|
|
|
- spec: Install to /usr/sbin and /usr/lib64 (bcl)
|
|
|
|
|
2021-07-22 17:45:34 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-14 17:38:49 +00:00
|
|
|
* Mon Jun 14 2021 Brian C. Lane <bcl@redhat.com> - 3.4-4
|
|
|
|
- Fix issues that covscan classifies as important
|
|
|
|
Resolves: rhbz#1938836
|
|
|
|
- Update gpg key for bcl@redhat.com
|
|
|
|
- Work around a mkswap bug
|
|
|
|
|
2021-03-10 18:18:59 +00:00
|
|
|
* Wed Mar 10 2021 Brian C. Lane <bcl@redhat.com> - 3.4-3
|
|
|
|
- Use autoreconf -fiv for autoconf 2.71 support
|
|
|
|
Works with both 2.69 and 2.71
|
|
|
|
|
2021-02-03 17:43:00 +00:00
|
|
|
* Wed Feb 03 2021 Brian C. Lane <bcl@redhat.com> - 3.4-2
|
|
|
|
- Add --fix support from upstream
|
|
|
|
|
2021-01-28 00:33:04 +00:00
|
|
|
* Wed Jan 27 2021 Brian C. Lane <bcl@redhat.com> - 3.4-1
|
|
|
|
- New stable upstream release v3.4
|
|
|
|
|
2021-01-26 23:00:08 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.52-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-12-14 18:27:46 +00:00
|
|
|
* Mon Dec 14 2020 Brian C. Lane <bcl@redhat.com> - 3.3.52-1
|
|
|
|
- New upstream ALPHA release v3.3.52
|
|
|
|
- Includes all patches
|
|
|
|
|
2020-12-01 17:27:24 +00:00
|
|
|
* Mon Nov 30 2020 Brian C. Lane <bcl@redhat.com> - 3.3-8
|
|
|
|
- Add upstream commits to fix various gcc 10 warnings (bcl)
|
|
|
|
|
2020-11-05 17:38:13 +00:00
|
|
|
* Thu Nov 05 2020 Brian C. Lane <bcl@redhat.com> - 3.3-7
|
|
|
|
- Do not link to libselinux
|
|
|
|
|
2020-09-25 17:13:17 +00:00
|
|
|
* Fri Sep 25 2020 Brian C. Lane <bcl@redhat.com> - 3.3-6
|
|
|
|
- tests: Add a test for resizepart on a busy partition (bcl)
|
|
|
|
- parted: Preserve resizepart End when prompted for busy partition (bcl)
|
|
|
|
- tests: Add f2fs to the fs probe test (romain.perier)
|
|
|
|
- Add support for the F2FS filesystem (romain.perier)
|
|
|
|
- Removed reference to ped_file_system_create (max)
|
|
|
|
|
2020-07-28 13:12:47 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-14 02:28:02 +00:00
|
|
|
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 3.3-4
|
|
|
|
- Use make macros
|
2020-07-21 16:29:18 +00:00
|
|
|
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
- Switch to using %%autosetup instead of %%setup and git (bcl)
|
|
|
|
- Update tests.yml to install git and simplify source usage (bgoncalv)
|
2020-07-14 02:28:02 +00:00
|
|
|
|
2020-03-02 17:00:47 +00:00
|
|
|
* Fri Mar 06 2020 Brian C. Lane <bcl@redhat.com> - 3.3-3
|
|
|
|
- Add chromeos_kernel partition flag for gpt disklabels
|
|
|
|
- Add bls_boot partition flag for msdos and gpt disklabels
|
|
|
|
|
2020-01-29 20:57:28 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-12-16 22:31:02 +00:00
|
|
|
* Mon Dec 16 2019 Brian C. Lane <bcl@redhat.com> - 3.3-2
|
|
|
|
- tests: Test incomplete resizepart command
|
|
|
|
- Fix end_input usage in do_resizepart
|
|
|
|
Resolves: rhbz#1701411
|
|
|
|
|
2019-10-11 15:40:34 +00:00
|
|
|
* Fri Oct 11 2019 Brian C. Lane <bcl@redhat.com> - 3.3-1
|
|
|
|
- New upstream release v3.3
|
|
|
|
Includes the DASD virtio-blk fix.
|
|
|
|
- Dropping pre-3.2 changelog entries
|