Accepting request 125830 from Base:System

- Update to new upstream release 0.8.5
* sgdisk: fix bug that caused truncation of 2+ TiB partitions
  on 32-bit
* added type codes for Midnight BSD
- Rip out unused gdisk subpackage

OBS-URL: https://build.opensuse.org/request/show/125830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gptfdisk?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2012-06-26 13:46:26 +00:00 committed by Git OBS Bridge
parent 9c9f9288bc
commit caa3361092
5 changed files with 24 additions and 32 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1159027ca459661f04bc3bac8e79381895933ee214c4d6dba49b7d27204e5d3
size 155914

3
gptfdisk-0.8.5.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9620c0cb950bd83d4d19c528bf3ee2ee34fef8dc14da0d179cba85aa43a571c
size 120060

View File

@ -1,12 +0,0 @@
Index: gptfdisk-0.8.2/diskio-unix.cc
===================================================================
--- gptfdisk-0.8.2.orig/diskio-unix.cc
+++ gptfdisk-0.8.2/diskio-unix.cc
@@ -22,6 +22,7 @@
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
+#include <unistd.h>
#ifdef __linux__
#include "linux/hdreg.h"

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Jun 22 21:29:05 UTC 2012 - jengelh@inai.de
- Update to new upstream release 0.8.5
* sgdisk: fix bug that caused truncation of 2+ TiB partitions
on 32-bit
* added type codes for Midnight BSD
- Rip out unused gdisk subpackage
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 17 15:12:31 UTC 2012 - dimstar@opensuse.org Sat Mar 17 15:12:31 UTC 2012 - dimstar@opensuse.org

View File

@ -14,24 +14,31 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: gptfdisk Name: gptfdisk
Version: 0.8.2 Version: 0.8.5
Release: 0 Release: 0
Summary: GPT partitioning and MBR repair software Summary: GPT partitioning and MBR repair software
License: GPL-2.0 License: GPL-2.0
Group: Applications/System Group: Base/System
Url: http://rodsbooks.com/gdisk Url: http://rodsbooks.com/gdisk
Source: http://rodsbooks.com/gdisk/gptfdisk-0.8.2.tar.gz
Patch0: gptfdisk-gcc47.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#DL-URL: http://downloads.sf.net/gptfdisk/gptfdisk-0.8.5.tar.gz
Source: %name-%version.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: xz
BuildRequires: pkgconfig(icu-io) BuildRequires: pkgconfig(icu-io)
BuildRequires: pkgconfig(icu-uc) BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(popt) BuildRequires: pkgconfig(popt)
BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(uuid)
Obsoletes: gdisk < %version-%release
Provides: gdisk = %version-%release
%description %description
Partitioning software for GPT disks and to repair MBR disks. The Partitioning software for GPT disks and to repair MBR disks. The
gdisk, cgdisk, and sgdisk utilities (in the gdisk package) are gdisk, cgdisk, and sgdisk utilities (in the gdisk package) are
@ -39,17 +46,6 @@ GPT-enabled partitioning tools; the fixparts utility (in the fixparts
package) fixes some problems with MBR disks that can be created by package) fixes some problems with MBR disks that can be created by
buggy partitioning software. buggy partitioning software.
%package -n gdisk
Summary: An fdisk-like partitioning tool for GPT disks
Group: Applications/System
%description -n gdisk
An fdisk-like partitioning tool for GPT disks. GPT
fdisk features a command-line interface, fairly direct
manipulation of partition table structures, recovery
tools to help you deal with corrupt partition tables,
and the ability to convert MBR disks to GPT format.
%package fixparts %package fixparts
Summary: A tool for repairing certain types of damage to MBR disks Summary: A tool for repairing certain types of damage to MBR disks
Group: Applications/System Group: Applications/System
@ -62,7 +58,6 @@ provides a few additional partition manipulation features.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
CFLAGS="%optflags" CXXFLAGS="%optflags" make %{?_smp_mflags} CFLAGS="%optflags" CXXFLAGS="%optflags" make %{?_smp_mflags}