Accepting request 832354 from filesystems
- Remove old specfile constructs. OBS-URL: https://build.opensuse.org/request/show/832354 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gptfdisk?expand=0&rev=19
This commit is contained in:
commit
1acff5fee1
@ -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>
|
||||
|
||||
|
@ -24,13 +24,11 @@ License: GPL-2.0-only
|
||||
Group: System/Base
|
||||
URL: http://rodsbooks.com/gdisk
|
||||
|
||||
Source: http://downloads.sf.net/%name/%name-%version.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source: https://downloads.sf.net/%name/%name-%version.tar.gz
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: pkgconfig(popt)
|
||||
BuildRequires: pkgconfig(uuid)
|
||||
|
||||
Obsoletes: 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.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
CFLAGS="%optflags" CXXFLAGS="%optflags" make %{?_smp_mflags}
|
||||
CFLAGS="%optflags" CXXFLAGS="%optflags" %make_build
|
||||
|
||||
%install
|
||||
b="%buildroot";
|
||||
mkdir -p "$b/%_sbindir" "$b/%_mandir/man8";
|
||||
install -pm0755 fixparts {,c,s}gdisk "$b/%_sbindir/";
|
||||
install -pm0644 *.8 "$b/%_mandir/man8/";
|
||||
b="%buildroot"
|
||||
mkdir -p "$b/%_sbindir" "$b/%_mandir/man8"
|
||||
install -pm0755 fixparts {,c,s}gdisk "$b/%_sbindir/"
|
||||
install -pm0644 *.8 "$b/%_mandir/man8/"
|
||||
|
||||
%check
|
||||
./gdisk_test.sh
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%license COPYING
|
||||
%doc NEWS README
|
||||
%_sbindir/gdisk
|
||||
@ -78,7 +75,6 @@ install -pm0644 *.8 "$b/%_mandir/man8/";
|
||||
%_mandir/man8/sgdisk.8*
|
||||
|
||||
%files fixparts
|
||||
%defattr(-,root,root)
|
||||
%_sbindir/fixparts
|
||||
%_mandir/man8/fixparts.8*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user