- Remove old specfile constructs.
OBS-URL: https://build.opensuse.org/package/show/filesystems/gptfdisk?expand=0&rev=16
This commit is contained in:
parent
26b5ce3897
commit
542b2c1857
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 4 15:29:53 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Remove old specfile constructs.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 26 14:54:40 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Tue May 26 14:54:40 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@ -24,13 +24,11 @@ License: GPL-2.0-only
|
|||||||
Group: System/Base
|
Group: System/Base
|
||||||
URL: http://rodsbooks.com/gdisk
|
URL: http://rodsbooks.com/gdisk
|
||||||
|
|
||||||
Source: http://downloads.sf.net/%name/%name-%version.tar.gz
|
Source: https://downloads.sf.net/%name/%name-%version.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: pkgconfig(popt)
|
BuildRequires: pkgconfig(popt)
|
||||||
BuildRequires: pkgconfig(uuid)
|
BuildRequires: pkgconfig(uuid)
|
||||||
|
|
||||||
Obsoletes: gdisk < %version-%release
|
Obsoletes: gdisk < %version-%release
|
||||||
Provides: gdisk = %version-%release
|
Provides: gdisk = %version-%release
|
||||||
|
|
||||||
@ -52,22 +50,21 @@ and enables changing primary vs. logical partition status. Also
|
|||||||
provides a few additional partition manipulation features.
|
provides a few additional partition manipulation features.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%optflags" CXXFLAGS="%optflags" make %{?_smp_mflags}
|
CFLAGS="%optflags" CXXFLAGS="%optflags" %make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot";
|
b="%buildroot"
|
||||||
mkdir -p "$b/%_sbindir" "$b/%_mandir/man8";
|
mkdir -p "$b/%_sbindir" "$b/%_mandir/man8"
|
||||||
install -pm0755 fixparts {,c,s}gdisk "$b/%_sbindir/";
|
install -pm0755 fixparts {,c,s}gdisk "$b/%_sbindir/"
|
||||||
install -pm0644 *.8 "$b/%_mandir/man8/";
|
install -pm0644 *.8 "$b/%_mandir/man8/"
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./gdisk_test.sh
|
./gdisk_test.sh
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc NEWS README
|
%doc NEWS README
|
||||||
%_sbindir/gdisk
|
%_sbindir/gdisk
|
||||||
@ -78,7 +75,6 @@ install -pm0644 *.8 "$b/%_mandir/man8/";
|
|||||||
%_mandir/man8/sgdisk.8*
|
%_mandir/man8/sgdisk.8*
|
||||||
|
|
||||||
%files fixparts
|
%files fixparts
|
||||||
%defattr(-,root,root)
|
|
||||||
%_sbindir/fixparts
|
%_sbindir/fixparts
|
||||||
%_mandir/man8/fixparts.8*
|
%_mandir/man8/fixparts.8*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user