Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
07c3f3b029
commit
f2e57729af
10
nbdkit.spec
10
nbdkit.spec
@ -45,7 +45,7 @@ ExclusiveArch: x86_64
|
||||
|
||||
Name: nbdkit
|
||||
Version: 1.21.19
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: NBD server
|
||||
|
||||
License: BSD
|
||||
@ -688,7 +688,7 @@ autoreconf -i
|
||||
# to avoid RHBZ#1404631 happening again silently.
|
||||
grep '^PYTHON_VERSION = 3' Makefile
|
||||
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
@ -725,7 +725,7 @@ truncate -s 0 tests/test-nbd-tls.sh tests/test-nbd-tls-psk.sh
|
||||
export LIBGUESTFS_DEBUG=1
|
||||
export LIBGUESTFS_TRACE=1
|
||||
|
||||
make %{?_smp_mflags} check || {
|
||||
%make_build check || {
|
||||
cat tests/test-suite.log
|
||||
exit 1
|
||||
}
|
||||
@ -1064,6 +1064,10 @@ make %{?_smp_mflags} check || {
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jul 21 2020 Tom Stellard <tstellar@redhat.com> - 1.21.19-2
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Sat Jul 18 2020 Richard W.M. Jones <rjones@redhat.com> - 1.21.19-1
|
||||
- New upstream development version 1.21.19.
|
||||
- New nbdkit-cdi-plugin.
|
||||
|
Loading…
Reference in New Issue
Block a user