Small refactorings in the spec file.
This commit is contained in:
parent
1490385403
commit
948daff1f0
14
nbdkit.spec
14
nbdkit.spec
@ -19,6 +19,12 @@
|
||||
# If we should verify tarball signature with GPGv2.
|
||||
%global verify_tarball_signature 1
|
||||
|
||||
# If there are patches which touch autotools files, set this to 1.
|
||||
%global patches_touch_autotools %{nil}
|
||||
|
||||
# The source directory.
|
||||
%global source_directory 1.5-development
|
||||
|
||||
Name: nbdkit
|
||||
Version: 1.5.0
|
||||
Release: 3%{?dist}
|
||||
@ -27,9 +33,9 @@ Summary: NBD server
|
||||
License: BSD
|
||||
URL: https://github.com/libguestfs/nbdkit
|
||||
|
||||
Source0: http://libguestfs.org/download/nbdkit/1.5-development/%{name}-%{version}.tar.gz
|
||||
Source0: http://libguestfs.org/download/nbdkit/%{source_directory}/%{name}-%{version}.tar.gz
|
||||
%if 0%{verify_tarball_signature}
|
||||
Source1: http://libguestfs.org/download/nbdkit/1.5-development/%{name}-%{version}.tar.gz.sig
|
||||
Source1: http://libguestfs.org/download/nbdkit/%{source_directory}/%{name}-%{version}.tar.gz.sig
|
||||
# Keyring used to verify tarball signature.
|
||||
Source2: libguestfs.keyring
|
||||
%endif
|
||||
@ -46,8 +52,6 @@ Patch0009: 0009-docs-Break-up-some-over-long-lines-in-documentation.patch
|
||||
Patch0010: 0010-docs-Add-podwrapper-from-libguestfs.patch
|
||||
Patch0011: 0011-Rework-README-file.patch
|
||||
Patch0012: 0012-null-pattern-random-Make-these-plugins-work-on-32-bi.patch
|
||||
|
||||
%global patches_touch_autotools 1
|
||||
%if 0%{patches_touch_autotools}
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
%endif
|
||||
@ -777,6 +781,8 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
- Small refactorings in the spec file.
|
||||
|
||||
* Sun Jul 15 2018 Richard W.M. Jones <rjones@redhat.com> - 1.5.0-3
|
||||
- Add all upstream patches since 1.5.0.
|
||||
- New pattern plugin.
|
||||
|
Loading…
Reference in New Issue
Block a user