The package rpms/golang-github-Masterminds-semver.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-github-Masterminds-semver.....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit df0296d55239d3c996d857318d6486968afb5cae
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 23:54:26 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 074830d..cb3cb2c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/semver-8d04313.tar.gz
+/semver-8d0431362b544d1a3536cca26684828866a7de09.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..9c69dc2
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: 0e8ece7b2fa7c10d57bbf5b71ef3ccd3228712fb61cb3e599c329f7ba0975b1b
+imports: []
+updated: '2018-06-17T21:54:08.010240+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..48138aa
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package:
github.com/Masterminds/semver
+
diff --git a/golang-github-Masterminds-semver.spec
b/golang-github-Masterminds-semver.spec
index 24cc549..1d1dcbb 100644
--- a/golang-github-Masterminds-semver.spec
+++ b/golang-github-Masterminds-semver.spec
@@ -1,20 +1,22 @@
#
http://github.com/Masterminds/semver
-%global provider_prefix
github.com/Masterminds/semver
-%global gobaseipath %{provider_prefix}
+
+%global goipath
github.com/Masterminds/semver
%global commit 8d0431362b544d1a3536cca26684828866a7de09
-%global commitdate 20160630
-%gocraftmeta -i
-Name: %{goname}
+%gometa -i
+
+Name: golang-github-Masterminds-semver
Version: 1.1.1
-Release: 0.6.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.7%{?dist}
Summary: Work with Semantic Versions in Go
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE.txt'
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -28,13 +30,13 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
-%gosetup
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
%gochecks
@@ -47,6 +49,9 @@ building other packages which use import path with
%doc CHANGELOG.md README.md
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.1.1-0.7.git8d04313
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> -
1.1.1-0.6.20160630git8d04313
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 83c4f6a..57d20d5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d34ca8d73c247e04a01736d24cc2a8bf semver-8d04313.tar.gz
+SHA512 (semver-8d0431362b544d1a3536cca26684828866a7de09.tar.gz) =
14073d02956f36711d346c7da4d24fff06358e49a7c952c9142a631a10ced6415f938ce504927e7f985ddf06f6f9d94cb1257b62977a0098a0760ba7bae5b288
commit d37a6aca02899f9be2fefe8ff309b6b1949bea0e
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:47:36 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-Masterminds-semver.spec
b/golang-github-Masterminds-semver.spec
index 8ca9954..24cc549 100644
--- a/golang-github-Masterminds-semver.spec
+++ b/golang-github-Masterminds-semver.spec
@@ -1,169 +1,55 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%else
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project Masterminds
-%global repo semver
-#
https://github.com/Masterminds/semver
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+#
http://github.com/Masterminds/semver
+%global provider_prefix
github.com/Masterminds/semver
+%global gobaseipath %{provider_prefix}
%global commit 8d0431362b544d1a3536cca26684828866a7de09
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160630
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 1.1.1
-Release: 0.5.git%{shortcommit}%{?dist}
+Release: 0.6.%{commitdate}git%{shortcommit}%{?dist}
Summary: Work with Semantic Versions in Go
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE.txt'
License: MIT
-URL: https://%{provider_prefix}
-Source0:
https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{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}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check} && ! 0%{?with_bundled}
-%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-devel
-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}
-
-%if 0%{?with_check} && ! 0%{?with_bundled}
-%endif
-
-
-%description unit-test-devel
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%gosetup
-%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 devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go" | grep -v
"Godeps/_workspace") ; do
- dirprefix=$(dirname $file)
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-
- while [ "$dirprefix" != "." ]; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >>
devel.file-list
- dirprefix=$(dirname $dirprefix)
- done
-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-devel.file-list
-for file in $(find . -iname "*_test.go" | grep -v
"Godeps/_workspace") ; do
- dirprefix=$(dirname $file)
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >>
unit-test-devel.file-list
-
- while [ "$dirprefix" != "." ]; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >>
devel.file-list
- dirprefix=$(dirname $dirprefix)
- done
-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.txt
%doc CHANGELOG.md README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test-devel -f unit-test-devel.file-list
-%license LICENSE.txt
-%doc CHANGELOG.md README.md
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> -
1.1.1-0.6.20160630git8d04313
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.1.1-0.5.git8d04313
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit d02e774d3f4d590c59f0fea52c1c433dd4572b02
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 13:53:01 2018 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/golang-github-Masterminds-semver.spec
b/golang-github-Masterminds-semver.spec
index 3f29661..8ca9954 100644
--- a/golang-github-Masterminds-semver.spec
+++ b/golang-github-Masterminds-semver.spec
@@ -30,7 +30,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 1.1.1
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5.git%{shortcommit}%{?dist}
Summary: Work with Semantic Versions in Go
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE.txt'
@@ -164,6 +164,9 @@ export
GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.1.1-0.5.git8d04313
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.1.1-0.4.git8d04313
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild