ACK: [PATCH 2/4] fedora: Add fedora internal versioning number in fwts.spec
Alex Hung
alex.hung at canonical.com
Mon Jan 23 07:17:55 UTC 2017
On 2017-01-20 04:15 AM, Prarit Bhargava wrote:
> There is no way to differentiate builds when changes are made to the
> fwts.spec or individual fedora only patches are applied.
>
> Add a fedora internal versioning number.
>
> Signed-off-by: Prarit Bhargava <prarit at redhat.com>
> ---
> fedora/fwts.spec | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/fedora/fwts.spec b/fedora/fwts.spec
> index fc5bcea3e60a..9343b8ee701c 100644
> --- a/fedora/fwts.spec
> +++ b/fedora/fwts.spec
> @@ -1,7 +1,8 @@
> -# Only these 3 values need to change for package version control
> +# Only these 4 values need to change for package version control
> %global major 16
> %global minor 12
> %global subminor 00
> +%global fedora_version 0
>
> %global tarversion V%{major}.%{minor}.%{subminor}
>
> @@ -9,7 +10,7 @@ Summary: Firmware Test Suite
>
> Name: fwts
> Version: %{major}
> -Release: %{minor}.%{subminor}%{?dist}
> +Release: %{minor}.%{subminor}.%{fedora_version}%{?dist}
> License: GPLv2, LGPL
> Source0: http://fwts.ubuntu.com/release/fwts-%{tarversion}.tar.gz
> BuildRequires: acpica-tools glib-devel glib2-devel glib json-c-devel libtool automake autoconf dkms kernel-devel git bison flex
> @@ -76,8 +77,9 @@ install -m 644 data/syntaxcheck.json $RPM_BUILD_ROOT/usr/local/share/fwts
> /usr/local/share/fwts/*
>
> %changelog
> -* Tue Jan 17 2017 Prarit Bhargava <prarit at redhat.com> 16.12.00
> +* Thu Jan 19 2017 Prarit Bhargava <prarit at redhat.com> 16.12.00.0
> - fix location of klog.json
> +- add fedora version to differentiate between fedora builds
>
> * Thu Jan 12 2017 Prarit Bhargava <prarit at redhat.com> 16.12.00
> - initial specfile creation
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list