2007-01-15 15:29:14 +01:00
|
|
|
#
|
2011-05-20 14:49:00 +02:00
|
|
|
# spec file for package parted
|
2007-01-15 15:29:14 +01:00
|
|
|
#
|
2021-03-23 12:03:47 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2007-01-15 15:29:14 +01:00
|
|
|
#
|
2008-08-11 23:37:59 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
Accepting request 712877 from home:anicka:branches:Base:System
- port fixes for various bugs from upstream (bsc#1136245)
- add: libparted-dasd-correct-the-offset-where-the-first-pa.patch
4126d02, correct the offset where the first partition begins.
This patch implements libparted-dasd-do-not-use-first-tracks.patch
- remove: libparted-dasd-do-not-use-first-tracks.patch
- add: parted-fix-crash-due-to-improper-partition-number-in.patch
149f009, fix crash due to improper partition number input,
changed call to strtol, use base 0 to fit our parted-type.patch
- modify: parted-type.patch (removed ui.c part)
- add: parted-check-the-name-of-partition-first-when-to-nam.patch
d7a2ff1, check the name of partition first when to name a partition
- add: libparted-dasd-add-test-cases-for-the-new-fdasd-func.patch
c11f5c0, 571e078, add test cases for the new fdasd functions
- add: libparted-dasd-add-an-exception-for-changing-DASD-LD.patch
ee2c0c2, add an exception for changing DASD-LDL partition table
- add: libpartd-dasd-improve-flag-processing-for-DASD-LDL.patch
1545d6d, improve flag processing for DASD-LDL
- add: clean-the-disk-information-when-commands-fail-in-int.patch
5a61f15, clean the disk information when commands fail in
interactive mode
- add: parted-ui-remove-unneccesary-information-of-command.patch
0b7946a, remove unneccesary information of command line
- add: parted-fix-wrong-error-label-jump-in-mkpart.patch
af150f6, fix wrong error label jump in mkpart
- refresh: libparted-dasd-unify-vtoc-handling-for-cdl-ldl.patch
4f25d54, unify vtoc handling for cdl/ldl
- refresh: libparted-dasd-update-and-improve-fdasd-functions.patch
db37c8c, update and improve fdasd functions
- refresh: libparted-dasd-add-new-fdasd-functions.patch
b9e1281, add new fdasd functions
OBS-URL: https://build.opensuse.org/request/show/712877
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=142
2019-07-08 14:12:35 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 15:29:14 +01:00
|
|
|
#
|
|
|
|
|
2012-07-03 15:40:05 +02:00
|
|
|
|
2007-01-15 15:29:14 +01:00
|
|
|
Name: parted
|
2021-07-28 10:47:36 +02:00
|
|
|
Version: 3.4
|
2011-12-30 09:47:40 +01:00
|
|
|
Release: 0
|
2007-01-15 15:29:14 +01:00
|
|
|
Summary: GNU partitioner
|
2018-05-24 17:15:56 +02:00
|
|
|
License: GPL-3.0-or-later
|
2010-04-02 13:35:12 +02:00
|
|
|
Group: System/Filesystems
|
2020-04-19 15:06:12 +02:00
|
|
|
URL: http://www.gnu.org/software/parted/
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
Source0: ftp://ftp.gnu.org/gnu/parted/%{name}-%{version}.tar.xz
|
|
|
|
Source1: ftp://ftp.gnu.org/gnu/parted/%{name}-%{version}.tar.xz.sig
|
2014-09-08 10:00:14 +02:00
|
|
|
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=parted&download=1#/%{name}.keyring
|
2013-04-15 16:51:19 +02:00
|
|
|
Source3: baselibs.conf
|
2014-01-31 16:39:50 +01:00
|
|
|
Source4: fatresize-0.1.tar.bz2
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
# Build patches
|
|
|
|
Patch1: parted-2.4-ncursesw6.patch
|
|
|
|
|
|
|
|
# Other patches
|
|
|
|
Patch10: hfs_fix.dif
|
|
|
|
Patch11: parted-wipeaix.patch
|
2015-04-24 17:49:30 +02:00
|
|
|
Patch12: libparted-partition-naming.patch
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
#PATCH-FEATURE-SUSE more-reliable-informing-the-kernel.patch bnc#657360 petr.uzel@suse.cz
|
2015-04-24 17:49:30 +02:00
|
|
|
Patch13: more-reliable-informing-the-kernel.patch
|
2020-01-12 14:40:37 +01:00
|
|
|
Patch14: dummy-bootcode-only-for-x86.patch
|
|
|
|
Patch15: parted-type.patch
|
|
|
|
Patch16: parted-mac.patch
|
|
|
|
Patch17: libparted-use-BLKRRPART-for-DASD.patch.patch
|
|
|
|
Patch18: libparted-make-BLKRRPART-more-robust.patch
|
|
|
|
Patch19: libparted-dasd-implicit-partition-disk-flag.patch
|
|
|
|
Patch21: libparted-avoid-libdevice-mapper-warnings.patch
|
2017-11-21 12:38:50 +01:00
|
|
|
# Patch31 dropped for bsc#1058667
|
2020-01-12 14:40:37 +01:00
|
|
|
Patch22: libparted-open-the-device-RO-and-lazily-switch-to-RW.patch
|
|
|
|
Patch23: parted-implement-wipesignatures-option.patch
|
2016-06-14 13:11:50 +02:00
|
|
|
# bsc#982169
|
2020-01-12 14:40:37 +01:00
|
|
|
Patch24: libparted-fix-nvme-partition-naming.patch
|
2017-06-15 21:25:03 +02:00
|
|
|
# fate#314888
|
2020-01-12 14:40:37 +01:00
|
|
|
Patch25: libparted-dasd-improve-lvm-raid-flag-handling.patch
|
|
|
|
Patch26: parted-mkpart-set-a-swap-flag-if-available.patch
|
|
|
|
Patch27: libparted-dasd-add-swap-flag-handling-for-DASD-CDL.patch
|
|
|
|
Patch28: parted-mkpart-allow-empty-gpt-part-name.patch
|
|
|
|
Patch29: libparted-fix-NVDIMM-partition-naming.patch
|
|
|
|
Patch30: parted-escape-printed-device-path.patch
|
|
|
|
Patch31: parted-add-ignore-busy-option.patch
|
|
|
|
Patch32: parted-fix-resizepart-and-rm-command.patch
|
|
|
|
Patch33: libparted-use-BLKRRPART-only-when-needed.patch
|
|
|
|
Patch34: libparted-canonicalize-dev-md-paths.patch
|
2020-04-19 15:06:12 +02:00
|
|
|
|
|
|
|
# bsc#1168756
|
|
|
|
Patch36: libparted-linux-pmem-path.patch
|
|
|
|
|
|
|
|
# bsc#1164260
|
|
|
|
Patch37: parted-print-max-partitions-for-yast.patch
|
2020-09-08 10:47:50 +02:00
|
|
|
# bsc#1164907
|
|
|
|
Patch64: parted-type-accept-hex.patch
|
2017-11-13 18:52:10 +01:00
|
|
|
# Fatresize
|
2014-01-31 16:39:50 +01:00
|
|
|
Patch100: parted-fatresize-autoconf.patch
|
2017-12-19 19:02:05 +01:00
|
|
|
Patch101: fatresize-fix-getting-dev-name.patch
|
2020-01-12 14:40:37 +01:00
|
|
|
# Tests patches
|
2018-02-20 16:38:03 +01:00
|
|
|
Patch156: tests-add-helper-require_swap_.patch
|
|
|
|
Patch157: tests-add-dev-md-check-to-t6100.patch
|
|
|
|
|
2017-09-13 17:19:44 +02:00
|
|
|
# SUSE tests patches
|
|
|
|
Patch200: tests-adapt-to-SUSE.patch
|
2021-07-28 10:47:36 +02:00
|
|
|
|
2010-04-02 13:35:12 +02:00
|
|
|
BuildRequires: check-devel
|
|
|
|
BuildRequires: device-mapper-devel >= 1.02.33
|
2010-09-17 16:52:04 +02:00
|
|
|
BuildRequires: libblkid-devel >= 2.17
|
2010-04-02 13:35:12 +02:00
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libsepol-devel
|
2011-12-30 09:47:40 +01:00
|
|
|
BuildRequires: libtool
|
2010-09-17 16:52:04 +02:00
|
|
|
BuildRequires: libuuid-devel
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
BuildRequires: makeinfo
|
2011-12-30 09:47:40 +01:00
|
|
|
BuildRequires: pkg-config
|
2010-04-02 13:35:12 +02:00
|
|
|
BuildRequires: readline-devel
|
2010-04-02 14:50:56 +02:00
|
|
|
PreReq: %install_info_prereq
|
2007-01-15 15:29:14 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-01-09 01:44:02 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: parted-64bit
|
|
|
|
%endif
|
2007-01-15 15:29:14 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
GNU Parted is a program for creating, destroying, resizing, checking,
|
|
|
|
and copying partitions, and the file systems on them.
|
|
|
|
|
2010-09-17 16:52:04 +02:00
|
|
|
%package -n libparted0
|
|
|
|
Summary: Library for manipulating partitions
|
2016-06-24 09:49:52 +02:00
|
|
|
Group: System/Libraries
|
2010-09-17 16:52:04 +02:00
|
|
|
|
|
|
|
%description -n libparted0
|
|
|
|
Libparted is a library for creating, destroying, resizing, checking
|
|
|
|
and copying partitions and the file systems on them.
|
|
|
|
|
2007-01-15 15:29:14 +01:00
|
|
|
%package devel
|
2008-08-29 13:51:20 +02:00
|
|
|
Summary: Parted Include Files and Libraries necessary for Development
|
|
|
|
Group: Development/Libraries/C and C++
|
2010-04-02 13:35:12 +02:00
|
|
|
Requires: device-mapper-devel >= 1.02.33
|
2010-09-17 16:52:04 +02:00
|
|
|
Requires: libparted0 = %version
|
2009-01-09 01:44:02 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: parted-devel-64bit
|
|
|
|
%endif
|
2007-01-15 15:29:14 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
2009-06-20 00:10:12 +02:00
|
|
|
%lang_package
|
2021-07-28 10:47:36 +02:00
|
|
|
|
2007-01-15 15:29:14 +01:00
|
|
|
%prep
|
2014-01-31 16:39:50 +01:00
|
|
|
%setup -a 4
|
2007-01-15 15:29:14 +01:00
|
|
|
%patch1 -p1
|
2008-01-18 00:07:36 +01:00
|
|
|
%patch10 -p1
|
2010-04-02 13:35:12 +02:00
|
|
|
%patch11 -p1
|
2010-12-09 10:45:03 +01:00
|
|
|
%patch12 -p1
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
%patch13 -p1
|
2020-01-12 14:40:37 +01:00
|
|
|
%patch14 -p1
|
|
|
|
%patch15 -p1
|
|
|
|
%patch16 -p1
|
2011-12-30 09:47:40 +01:00
|
|
|
%patch17 -p1
|
2015-04-24 17:49:30 +02:00
|
|
|
%patch18 -p1
|
2012-07-03 15:40:05 +02:00
|
|
|
%patch19 -p1
|
2012-09-27 15:49:43 +02:00
|
|
|
%patch21 -p1
|
2012-11-21 16:11:08 +01:00
|
|
|
%patch22 -p1
|
2013-04-22 17:17:19 +02:00
|
|
|
%patch23 -p1
|
|
|
|
%patch24 -p1
|
2013-09-20 17:17:00 +02:00
|
|
|
%patch25 -p1
|
2013-12-30 10:20:53 +01:00
|
|
|
%patch26 -p1
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
%patch27 -p1
|
|
|
|
%patch28 -p1
|
2014-02-14 13:59:30 +01:00
|
|
|
%patch29 -p1
|
|
|
|
%patch30 -p1
|
2020-01-12 14:40:37 +01:00
|
|
|
%patch31 -p1
|
2016-03-11 12:49:52 +01:00
|
|
|
%patch32 -p1
|
2016-05-18 09:25:05 +02:00
|
|
|
%patch33 -p1
|
2016-05-26 15:48:48 +02:00
|
|
|
%patch34 -p1
|
2020-04-19 15:06:12 +02:00
|
|
|
%patch36 -p1
|
|
|
|
%patch37 -p1
|
2020-09-08 10:47:50 +02:00
|
|
|
%patch64 -p1
|
2014-01-31 16:39:50 +01:00
|
|
|
%patch100 -p1
|
2017-12-19 19:02:05 +01:00
|
|
|
%patch101 -p1
|
2018-02-20 16:38:03 +01:00
|
|
|
%patch156 -p1
|
|
|
|
%patch157 -p1
|
2017-09-13 17:19:44 +02:00
|
|
|
%patch200 -p1
|
2011-08-02 14:56:08 +02:00
|
|
|
|
2007-01-15 15:29:14 +01:00
|
|
|
%build
|
2011-08-02 13:58:32 +02:00
|
|
|
export CFLAGS="%{optflags} `ncursesw6-config --cflags`"
|
2016-06-24 09:49:52 +02:00
|
|
|
export LIBS="`ncursesw6-config --libs`"
|
2008-05-10 00:56:36 +02:00
|
|
|
AUTOPOINT=true autoreconf --force --install
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
%configure --disable-static \
|
2010-07-19 20:20:25 +02:00
|
|
|
--enable-device-mapper=yes \
|
|
|
|
--enable-dynamic-loading=no \
|
|
|
|
--enable-selinux \
|
- update to parted-3.1 (fate#316110)
- changes in parted-3.1:
* Changes in behavior
- Floppy drives are no longer scanned on linux: they cannot be
partitioned anyhow, and some users have a misconfigured BIOS
that claims to have a floppy when they don't, and scanning
gets hung up.
- parted: the mkpart command has changed semantics with regard
to specifying the end of the partition. If the end is
specified using units of MiB, GiB, etc., parted subtracts one
sector from the specified value. With this change, it is now
possible to create partitions like 1MiB-2MiB, 2MiB-3MiB and
so on.
* Many bugfixes (see changelog)
- changes in parted-3.0:
* Changes in behavior
- Remove all FS-related (file system-related) sub-commands;
these commands are no longer recognized because they were all
dependent on parted "knowing" too much about file system:
mkpartfs, mkfs, cp, move, check.
- 'resize' command changed semantics:
it no longer resizes the filesystem, but only moves end
sector of the partition
- libparted-devel contains libparted-fs-resize library
- add ability to change size of the partition (ignoring contained
filesystem) with 'resize' command; this command has different
semantics than the former 'resize' command which upstream
decided to drop
- parted-resize-command.patch (fate#316110)
- when using syncmbr on POWER, make the first partition type 0x41
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=79
2014-01-09 17:35:35 +01:00
|
|
|
--disable-silent-rules
|
2010-06-28 23:24:54 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 15:29:14 +01:00
|
|
|
|
|
|
|
%install
|
2016-06-24 09:49:52 +02:00
|
|
|
%make_install
|
2010-04-02 13:35:12 +02:00
|
|
|
rm %{buildroot}%{_libdir}/*.la
|
2008-03-16 19:57:27 +01:00
|
|
|
%find_lang %{name}
|
2007-01-15 15:29:14 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
2016-06-24 09:49:52 +02:00
|
|
|
%preun
|
2007-01-15 15:29:14 +01:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
2016-06-24 09:49:52 +02:00
|
|
|
%post -n libparted0 -p /sbin/ldconfig
|
|
|
|
%postun -n libparted0 -p /sbin/ldconfig
|
2010-09-17 16:52:04 +02:00
|
|
|
|
2009-06-20 00:10:12 +02:00
|
|
|
%files
|
2007-01-15 15:29:14 +01:00
|
|
|
%defattr(-,root,root)
|
2018-05-24 17:15:56 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
|
2007-01-15 15:29:14 +01:00
|
|
|
%{_sbindir}/*
|
|
|
|
%{_mandir}/man8/part*.8.gz
|
|
|
|
%doc %{_infodir}/*.info*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc doc/API doc/FAT
|
2010-04-02 13:35:12 +02:00
|
|
|
%{_includedir}/*
|
2020-01-12 14:40:37 +01:00
|
|
|
%{_libdir}/pkgconfig/libparted*.pc
|
2007-01-15 15:29:14 +01:00
|
|
|
%{_libdir}/*.so
|
|
|
|
|
2010-09-17 16:52:04 +02:00
|
|
|
%files -n libparted0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
2009-06-20 00:10:12 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2007-02-25 23:33:28 +01:00
|
|
|
%changelog
|