The package rpms/golang-bitbucket-ww-goautoneg.git has added or updated architecture
specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-bitbucket-ww-goautoneg.git....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit cfb0ba33164a5ce719dd972ca647a3230fbb322a
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Tue May 29 07:11:31 2018 +0200
Upload glide.lock and glide.yaml files
- related: #1247619
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..2f678ea
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,3 @@
+hash: e1fc7573c5dac2535105f75f8198ad4d6eedab8919b384baab5386a48b42eb98
+imports: []
+updated: '2018-05-29T05:05:24.412321+00:00'
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..08e716f
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: bitbucket/ww/goautoneg
+
diff --git a/golang-bitbucket-ww-goautoneg.spec b/golang-bitbucket-ww-goautoneg.spec
index a1c550e..3c6693b 100644
--- a/golang-bitbucket-ww-goautoneg.spec
+++ b/golang-bitbucket-ww-goautoneg.spec
@@ -1,17 +1,19 @@
#
https://bitbucket.org/ww/goautoneg
%global goipath
bitbucket.org/ww/goautoneg
-%global commit 75cd24fc2f2c2a2088577d12123ddee5f54e0675
-%global scm hg
+%global commit 75cd24fc2f2c2a2088577d12123ddee5f54e0675
+%global scm hg
-%gometa -i
+%gometa
Name: %{goname}
Version: 0
-Release: 0.16%{?dist}
+Release: 0.17%{?dist}
Summary: HTTP Content-Type Autonegotiation
License: BSD
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.lock
+Source2: glide.yaml
Patch0: move-license-to-LICENSE.patch
%description
@@ -31,9 +33,10 @@ building other packages which use import path with
%prep
%forgesetup
%patch0 -p1
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall -e .go -e .txt
+%goinstall -e .go -e .txt glide.lock glide.yaml
%check
%gochecks
@@ -46,6 +49,10 @@ building other packages which use import path with
%doc README.txt
%changelog
+* Tue May 29 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.17.hg75cd24f
+- Upload glide.lock and glide.yaml files
+ related: #1247619
+
* Mon Mar 05 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.hg75cd24f
- Update to spec 3.0
commit 716e4cae39786a53d01739691fb58de903935923
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Mar 5 11:08:58 2018 +0100
Update to spec 3.0
diff --git a/.gitignore b/.gitignore
index e9caacc..46aaa45 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/75cd24fc2f2c.tar.gz
+/ww-goautoneg-75cd24fc2f2c.tar.bz2
diff --git a/golang-bitbucket-ww-goautoneg.spec b/golang-bitbucket-ww-goautoneg.spec
index 6718769..a1c550e 100644
--- a/golang-bitbucket-ww-goautoneg.spec
+++ b/golang-bitbucket-ww-goautoneg.spec
@@ -1,13 +1,13 @@
-%global provider_prefix
bitbucket.org/ww/goautoneg
-%global gobaseipath %{provider_prefix}
+#
https://bitbucket.org/ww/goautoneg
+%global goipath
bitbucket.org/ww/goautoneg
%global commit 75cd24fc2f2c2a2088577d12123ddee5f54e0675
-%global commitdate 20120707
+%global scm hg
-%gocraftmeta -i
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.15.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.16%{?dist}
Summary: HTTP Content-Type Autonegotiation
License: BSD
URL: %{gourl}
@@ -26,14 +26,14 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
-%gosetup
+%forgesetup
%patch0 -p1
%install
-%goinstall
+%goinstall -e .go -e .txt
%check
%gochecks
@@ -46,6 +46,9 @@ building other packages which use import path with
%doc README.txt
%changelog
+* Mon Mar 05 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.hg75cd24f
+- Update to spec 3.0
+
* Fri Feb 23 2018 Jan Chaloupka <jchaloup(a)redhat.com> -
0-0.15.20120707git75cd24fc2f2c
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index e5a2560..da64c1f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2f266210f76054644d678ca4221bd06f 75cd24fc2f2c.tar.gz
+SHA512 (ww-goautoneg-75cd24fc2f2c.tar.bz2) =
41665d22f23f6b228cb70ab1e51460da29ff6f0904cb16b28e5995a2d23f3381d0b2f8e0a6f344f3faa5055e8ba93003a8fe13d326e709c30676740a4d08f16e
commit cd6fafe761a33db96f6568167a468af4d2ca0073
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Fri Feb 23 15:00:32 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-bitbucket-ww-goautoneg.spec b/golang-bitbucket-ww-goautoneg.spec
index 61e0e36..6718769 100644
--- a/golang-bitbucket-ww-goautoneg.spec
+++ b/golang-bitbucket-ww-goautoneg.spec
@@ -1,167 +1,54 @@
-# If any of the following macros should be set otherwise,
-# you can wrap any of them with the following conditions:
-# - %%if 0%%{centos} == 7
-# - %%if 0%%{?rhel} == 7
-# - %%if 0%%{?fedora} == 23
-# Or just test for particular distribution:
-# - %%if 0%%{centos}
-# - %%if 0%%{?rhel}
-# - %%if 0%%{?fedora}
-#
-# Be aware, on centos, both %%rhel and %%centos are set. If you want to test
-# rhel specific macros, you can use %%if 0%%{?rhel} && 0%%{?centos} == 0
condition.
-# (Don't forget to replace double percentage symbol with single one in order to apply
a condition)
-
-# Generate devel rpm
-%global with_devel 1
-# Build project from bundled dependencies
-%global with_bundled 0
-# Build with debug info rpm
-%global with_debug 0
-# Run tests in check section
-%global with_check 1
-# Generate unit-test rpm
-%global with_unit_test 1
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider bitbucket
-%global provider_tld org
-%global project ww
-%global repo goautoneg
-#
https://bitbucket.org/ww/goautoneg
%global provider_prefix
bitbucket.org/ww/goautoneg
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global gobaseipath %{provider_prefix}
%global commit 75cd24fc2f2c2a2088577d12123ddee5f54e0675
-%global shortcommit %(c=%{commit}; echo ${c:0:12})
+%global commitdate 20120707
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.14.git%{shortcommit}%{?dist}
+Release: 0.15.%{commitdate}git%{shortcommit}%{?dist}
Summary: HTTP Content-Type Autonegotiation
License: BSD
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/get/%%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
Patch0: move-license-to-LICENSE.patch
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{project}-%{repo}-%{shortcommit}
+%gosetup
%patch0 -p1
-%build
-
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >>
devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >>
devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test.file-list
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-%endif
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README.txt
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test -f unit-test.file-list
-%license LICENSE
-%doc README.txt
-%endif
%changelog
+* Fri Feb 23 2018 Jan Chaloupka <jchaloup(a)redhat.com> -
0-0.15.20120707git75cd24fc2f2c
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.14.git75cd24fc2f2c
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild