Architecture specific change in rpms/golang-github-pelletier-go-toml.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-pelletier-go-toml.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-pelletier-go-toml.g....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 5ed6cb71e5ba7c202593a5b5d5ba6ee03a58b703
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Mar 18 11:02:20 2018 +0100
Bump to b8b5e7696574464b2f9bf303a7b37781bb52889f
related: #1464882
diff --git a/.gitignore b/.gitignore
index 529a71b..1e94f88 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go-toml-5ccdfb1.tar.gz
+/go-toml-b8b5e7696574464b2f9bf303a7b37781bb52889f.tar.gz
diff --git a/Fix-go1.10-build-errors.patch b/Fix-go1.10-build-errors.patch
new file mode 100644
index 0000000..eb9da54
--- /dev/null
+++ b/Fix-go1.10-build-errors.patch
@@ -0,0 +1,26 @@
+From bb87f2dfb946aecbf8f31b9094c46c5184ae849b Mon Sep 17 00:00:00 2001
+From: Jan Chaloupka <jchaloup(a)redhat.com>
+Date: Sun, 18 Mar 2018 11:25:20 +0100
+Subject: [PATCH] Fix go1.10 build errors
+
+---
+ cmd/tomljson/main.go | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/cmd/tomljson/main.go b/cmd/tomljson/main.go
+index b2d6fc6..0611c55 100644
+--- a/cmd/tomljson/main.go
++++ b/cmd/tomljson/main.go
+@@ -22,8 +22,7 @@ Writing to STDIN and reading from STDOUT:
+ cat file.toml | tomljson > file.json
+
+ Reading from a file name:
+- tomljson file.toml
+-`)
++ tomljson file.toml`)
+ }
+ flag.Parse()
+ os.Exit(processMain(flag.Args(), os.Stdin, os.Stdout, os.Stderr))
+--
+2.7.5
+
diff --git a/golang-github-pelletier-go-toml.spec b/golang-github-pelletier-go-toml.spec
index f5b4b16..fca03a2 100644
--- a/golang-github-pelletier-go-toml.spec
+++ b/golang-github-pelletier-go-toml.spec
@@ -1,190 +1,60 @@
-# 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 github
-%global provider_tld com
-%global project pelletier
-%global repo go-toml
-# https://github.com/pelletier/go-toml
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 5ccdfb18c776b740aecaf085c4d9a2779199c279
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: golang-%{provider}-%{project}-%{repo}
+# http://github.com/pelletier/go-toml
+%global goipath github.com/pelletier/go-toml
+%global commit b8b5e7696574464b2f9bf303a7b37781bb52889f
+
+%gometa -i
+
+Name: %{goname}
Version: 1.0.0
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5%{?dist}
Summary: Go library for the TOML language
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE'
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 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}
-
-
+URL: %{gourl}
+Source0: %{gosource}
+Patch0: Fix-go1.10-build-errors.patch
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check} && ! 0%{?with_bundled}
-BuildRequires: golang(github.com/pelletier/go-buffruneio)
-%endif
-
-Requires: golang(github.com/pelletier/go-buffruneio)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/query) = %{version}-%{release}
+BuildRequires: golang(github.com/BurntSushi/toml)
+BuildRequires: golang(gopkg.in/yaml.v2)
+BuildRequires: golang(github.com/davecgh/go-spew/spew)
%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}
-BuildRequires: golang(github.com/davecgh/go-spew/spew)
-%endif
-
-Requires: golang(github.com/davecgh/go-spew/spew)
-
-%description unit-test-devel
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{goipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%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 devel.file-list
-for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ; 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" -or -iname "*.toml") ; 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
-# No dependency directories so far
-
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-%gotest %{import_path}/cmd/tomljson
-%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.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
-%endif
%changelog
+* Sun Mar 18 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.0.0-0.5.gitb8b5e76
+- Bump to b8b5e7696574464b2f9bf303a7b37781bb52889f
+ related: #1464882
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-0.4.git5ccdfb1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 0169d21..5f18888 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (go-toml-5ccdfb1.tar.gz) = 0b990c6f83d37772c2b3783f896a3d90f148d3a535274e675ac5a44b15014953c21d50838d5100a21bca3f5264bab0413f997229cdfde3ae4f5334a850ce762e
+SHA512 (go-toml-b8b5e7696574464b2f9bf303a7b37781bb52889f.tar.gz) = cb4a170a9f1601e7a4b1e8a77766eaf9ba5c41dab3434999ce34203945930f5aabc0604494343516b46169406497a0c9daf7902af8237f867612233634be7627
commit e9a90b1ffcd22e9935d40809f9c4dcf2aa5f1339
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:46:28 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-pelletier-go-toml.spec b/golang-github-pelletier-go-toml.spec
index 3ff49f6..f5b4b16 100644
--- a/golang-github-pelletier-go-toml.spec
+++ b/golang-github-pelletier-go-toml.spec
@@ -42,7 +42,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 1.0.0
-Release: 0.3.git%{shortcommit}%{?dist}
+Release: 0.4.git%{shortcommit}%{?dist}
Summary: Go library for the TOML language
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE'
@@ -185,6 +185,9 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-0.4.git5ccdfb1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-0.3.git5ccdfb1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6 years, 2 months
Architecture specific change in rpms/golang-github-BurntSushi-toml.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-BurntSushi-toml.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-BurntSushi-toml.git....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 0e40572e1b78d71ce537fcf673e7863221d30c86
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Mar 18 11:21:29 2018 +0100
Update to 0.3.0
- resolves: #1423641
diff --git a/.gitignore b/.gitignore
index 6eb40ae..0423b37 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/toml-2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2.tar.gz
+/toml-0.3.0.tar.gz
diff --git a/golang-github-BurntSushi-toml.spec b/golang-github-BurntSushi-toml.spec
index f733971..87faac2 100644
--- a/golang-github-BurntSushi-toml.spec
+++ b/golang-github-BurntSushi-toml.spec
@@ -1,12 +1,12 @@
# http://github.com/BurntSushi/toml
%global goipath github.com/BurntSushi/toml
-%global commit 2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2
+%global gcommit b26d9c308763d68093482582cea63d69be07a0f0
%gometa -i
-Name: %{goname}
-Version: 0
-Release: 0.15%{?dist}
+Name: golang-github-BurntSushi-toml
+Version: 0.3.0
+Release: 1%{?dist}
Summary: TOML parser and encoder for Go with reflection
License: BSD
URL: %{gourl}
@@ -54,6 +54,10 @@ install -p -m 755 _bin/tomlv %{buildroot}%{_bindir}/tomlv
%doc README.md
%changelog
+* Sun Mar 18 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.3.0-1
+- Update to 0.3.0
+ resolves: #1423641
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.15.20140718git2ceedfe
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index a26e6e5..c69b96e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (toml-2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2.tar.gz) = e3a1c394dfbb2ebc5a085ae823daaa99411dabcc109ecf19be895f837f37fbc34221589fa5805c3d5b3de6ce647040b2f40157d02634e5d6a73751ded2653735
+SHA512 (toml-0.3.0.tar.gz) = 3f3cc441787c41029c4b4944e6437919abbd31d3d53b361ce22f6237d76655357936bab90ee8f3340ea9550cbe90f3a369b3209321e8bb6bbeca0892babca6fe
commit 97be16406b1dc21c8adf513d4e81eabe69a4e9d1
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Mar 18 11:09:26 2018 +0100
Bump to spec 3.0
diff --git a/.gitignore b/.gitignore
index 740c719..6eb40ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/toml-2ceedfe.tar.gz
+/toml-2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2.tar.gz
diff --git a/golang-github-BurntSushi-toml.spec b/golang-github-BurntSushi-toml.spec
index 70f240c..f733971 100644
--- a/golang-github-BurntSushi-toml.spec
+++ b/golang-github-BurntSushi-toml.spec
@@ -1,19 +1,16 @@
-# https://github.com/BurntSushi/toml
-%global provider_prefix github.com/BurntSushi/toml
-%global gobaseipath %{provider_prefix}
+# http://github.com/BurntSushi/toml
+%global goipath github.com/BurntSushi/toml
%global commit 2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2
-%global commitdate 20140718
-%gocraftmeta -i
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.15.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.15%{?dist}
Summary: TOML parser and encoder for Go with reflection
License: BSD
URL: %{gourl}
Source0: %{gosource}
-Provides: tomlv = %{version}-%{release}
%description
%{summary}
@@ -27,16 +24,16 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
-%build
%gobuildroot
-%gobuild -o _bin/tomlv %{gobaseipath}/cmd/tomlv
+%gobuild -o _bin/tomlv %{goipath}/cmd/tomlv
%install
+%goinstall
install -d %{buildroot}/%{_bindir}
install -p -m 755 _bin/tomlv %{buildroot}%{_bindir}/tomlv
diff --git a/sources b/sources
index 46a4080..a26e6e5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-33f8de4555688e2e833c80d8f2657130 toml-2ceedfe.tar.gz
+SHA512 (toml-2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2.tar.gz) = e3a1c394dfbb2ebc5a085ae823daaa99411dabcc109ecf19be895f837f37fbc34221589fa5805c3d5b3de6ce647040b2f40157d02634e5d6a73751ded2653735
commit a1924e13a39d7d95bac273b91729401631456d36
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 10:54:25 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-BurntSushi-toml.spec b/golang-github-BurntSushi-toml.spec
index f845914..70f240c 100644
--- a/golang-github-BurntSushi-toml.spec
+++ b/golang-github-BurntSushi-toml.spec
@@ -1,166 +1,49 @@
-# 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 1
-# 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
-
-%if ! 0%{?gobuild:1}
-%define gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x %{?**};
-%endif
-
-%global provider github
-%global provider_tld com
-%global project BurntSushi
-%global repo toml
# https://github.com/BurntSushi/toml
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/BurntSushi/toml
+%global gobaseipath %{provider_prefix}
%global commit 2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20140718
-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: TOML parser and encoder for Go with reflection
License: BSD
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
Provides: tomlv = %{version}-%{release}
-# 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 go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-%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 %{repo}-%{commit}
+%gosetup
%build
-mkdir -p src/github.com/BurntSushi
-ln -s ../../../ src/github.com/BurntSushi/toml
-
-%if ! 0%{?with_bundled}
-export GOPATH=$(pwd):%{gopath}
-%else
-export GOPATH=$(pwd):$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%gobuild -o bin/tomlv %{import_path}/cmd/tomlv
+%gobuildroot
+%gobuild -o _bin/tomlv %{gobaseipath}/cmd/tomlv
%install
install -d %{buildroot}/%{_bindir}
-install -p -m 755 bin/tomlv %{buildroot}%{_bindir}/tomlv
-
-# 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 -pav $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 -pav $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
-
-%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
+install -p -m 755 _bin/tomlv %{buildroot}%{_bindir}/tomlv
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
+%goinstall
-%gotest %{import_path}
-%endif
+%check
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -169,19 +52,14 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%license COPYING README.md
%{_bindir}/tomlv
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license COPYING README.md
%doc README.md
-%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 COPYING
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.15.20140718git2ceedfe
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.14.git2ceedfe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 2 months
Architecture specific change in rpms/golang-github-BurntSushi-toml.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-BurntSushi-toml.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-BurntSushi-toml.git....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 0e40572e1b78d71ce537fcf673e7863221d30c86
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Mar 18 11:21:29 2018 +0100
Update to 0.3.0
- resolves: #1423641
diff --git a/.gitignore b/.gitignore
index 6eb40ae..0423b37 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/toml-2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2.tar.gz
+/toml-0.3.0.tar.gz
diff --git a/golang-github-BurntSushi-toml.spec b/golang-github-BurntSushi-toml.spec
index f733971..87faac2 100644
--- a/golang-github-BurntSushi-toml.spec
+++ b/golang-github-BurntSushi-toml.spec
@@ -1,12 +1,12 @@
# http://github.com/BurntSushi/toml
%global goipath github.com/BurntSushi/toml
-%global commit 2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2
+%global gcommit b26d9c308763d68093482582cea63d69be07a0f0
%gometa -i
-Name: %{goname}
-Version: 0
-Release: 0.15%{?dist}
+Name: golang-github-BurntSushi-toml
+Version: 0.3.0
+Release: 1%{?dist}
Summary: TOML parser and encoder for Go with reflection
License: BSD
URL: %{gourl}
@@ -54,6 +54,10 @@ install -p -m 755 _bin/tomlv %{buildroot}%{_bindir}/tomlv
%doc README.md
%changelog
+* Sun Mar 18 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.3.0-1
+- Update to 0.3.0
+ resolves: #1423641
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.15.20140718git2ceedfe
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index a26e6e5..c69b96e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (toml-2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2.tar.gz) = e3a1c394dfbb2ebc5a085ae823daaa99411dabcc109ecf19be895f837f37fbc34221589fa5805c3d5b3de6ce647040b2f40157d02634e5d6a73751ded2653735
+SHA512 (toml-0.3.0.tar.gz) = 3f3cc441787c41029c4b4944e6437919abbd31d3d53b361ce22f6237d76655357936bab90ee8f3340ea9550cbe90f3a369b3209321e8bb6bbeca0892babca6fe
commit 97be16406b1dc21c8adf513d4e81eabe69a4e9d1
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Mar 18 11:09:26 2018 +0100
Bump to spec 3.0
diff --git a/.gitignore b/.gitignore
index 740c719..6eb40ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/toml-2ceedfe.tar.gz
+/toml-2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2.tar.gz
diff --git a/golang-github-BurntSushi-toml.spec b/golang-github-BurntSushi-toml.spec
index 70f240c..f733971 100644
--- a/golang-github-BurntSushi-toml.spec
+++ b/golang-github-BurntSushi-toml.spec
@@ -1,19 +1,16 @@
-# https://github.com/BurntSushi/toml
-%global provider_prefix github.com/BurntSushi/toml
-%global gobaseipath %{provider_prefix}
+# http://github.com/BurntSushi/toml
+%global goipath github.com/BurntSushi/toml
%global commit 2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2
-%global commitdate 20140718
-%gocraftmeta -i
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.15.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.15%{?dist}
Summary: TOML parser and encoder for Go with reflection
License: BSD
URL: %{gourl}
Source0: %{gosource}
-Provides: tomlv = %{version}-%{release}
%description
%{summary}
@@ -27,16 +24,16 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
-%build
%gobuildroot
-%gobuild -o _bin/tomlv %{gobaseipath}/cmd/tomlv
+%gobuild -o _bin/tomlv %{goipath}/cmd/tomlv
%install
+%goinstall
install -d %{buildroot}/%{_bindir}
install -p -m 755 _bin/tomlv %{buildroot}%{_bindir}/tomlv
diff --git a/sources b/sources
index 46a4080..a26e6e5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-33f8de4555688e2e833c80d8f2657130 toml-2ceedfe.tar.gz
+SHA512 (toml-2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2.tar.gz) = e3a1c394dfbb2ebc5a085ae823daaa99411dabcc109ecf19be895f837f37fbc34221589fa5805c3d5b3de6ce647040b2f40157d02634e5d6a73751ded2653735
commit a1924e13a39d7d95bac273b91729401631456d36
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 10:54:25 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-BurntSushi-toml.spec b/golang-github-BurntSushi-toml.spec
index f845914..70f240c 100644
--- a/golang-github-BurntSushi-toml.spec
+++ b/golang-github-BurntSushi-toml.spec
@@ -1,166 +1,49 @@
-# 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 1
-# 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
-
-%if ! 0%{?gobuild:1}
-%define gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x %{?**};
-%endif
-
-%global provider github
-%global provider_tld com
-%global project BurntSushi
-%global repo toml
# https://github.com/BurntSushi/toml
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/BurntSushi/toml
+%global gobaseipath %{provider_prefix}
%global commit 2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20140718
-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: TOML parser and encoder for Go with reflection
License: BSD
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
Provides: tomlv = %{version}-%{release}
-# 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 go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-%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 %{repo}-%{commit}
+%gosetup
%build
-mkdir -p src/github.com/BurntSushi
-ln -s ../../../ src/github.com/BurntSushi/toml
-
-%if ! 0%{?with_bundled}
-export GOPATH=$(pwd):%{gopath}
-%else
-export GOPATH=$(pwd):$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%gobuild -o bin/tomlv %{import_path}/cmd/tomlv
+%gobuildroot
+%gobuild -o _bin/tomlv %{gobaseipath}/cmd/tomlv
%install
install -d %{buildroot}/%{_bindir}
-install -p -m 755 bin/tomlv %{buildroot}%{_bindir}/tomlv
-
-# 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 -pav $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 -pav $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
-
-%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
+install -p -m 755 _bin/tomlv %{buildroot}%{_bindir}/tomlv
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
+%goinstall
-%gotest %{import_path}
-%endif
+%check
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -169,19 +52,14 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%license COPYING README.md
%{_bindir}/tomlv
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license COPYING README.md
%doc README.md
-%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 COPYING
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.15.20140718git2ceedfe
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.14.git2ceedfe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 0a0c739bc02ea0c3175368b8a96e258ced1408ac
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 13:51:38 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-BurntSushi-toml.spec b/golang-github-BurntSushi-toml.spec
index ed7bceb..f845914 100644
--- a/golang-github-BurntSushi-toml.spec
+++ b/golang-github-BurntSushi-toml.spec
@@ -45,7 +45,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.13.git%{shortcommit}%{?dist}
+Release: 0.14.git%{shortcommit}%{?dist}
Summary: TOML parser and encoder for Go with reflection
License: BSD
URL: https://%{provider_prefix}
@@ -182,6 +182,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.14.git2ceedfe
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.13.git2ceedfe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6 years, 2 months
Architecture specific change in rpms/golang-github-pkg-errors.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-pkg-errors.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-pkg-errors.git/comm....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 8d1e35e3d462efc0f7ee69d7ca9fb8ec4eff4f79
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Mar 18 00:27:27 2018 +0100
Bump to 645ef00459ed84a119197bfb8d8205042c6df63d
diff --git a/.gitignore b/.gitignore
index e8cacaa..d33670b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/errors-a887431f7f6ef7687b556dbf718d9f351d4858a0.tar.gz
+/errors-645ef00459ed84a119197bfb8d8205042c6df63d.tar.gz
diff --git a/golang-github-pkg-errors.spec b/golang-github-pkg-errors.spec
index b49f0ef..c47de62 100644
--- a/golang-github-pkg-errors.spec
+++ b/golang-github-pkg-errors.spec
@@ -1,12 +1,12 @@
# http://github.com/pkg/errors
%global goipath github.com/pkg/errors
-%global commit a887431f7f6ef7687b556dbf718d9f351d4858a0
+%global commit 645ef00459ed84a119197bfb8d8205042c6df63d
%gometa -i
Name: %{goname}
Version: 0.7.1
-Release: 0.7%{?dist}
+Release: 0.8%{?dist}
Summary: Simple error handling primitives
# Detected licences
# - BSD (2 clause) at 'LICENSE'
@@ -45,6 +45,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Sat Mar 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.7.1-0.8.git645ef00
+- Bump to 645ef00459ed84a119197bfb8d8205042c6df63d
+
* Sat Mar 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.7.1-0.7.gita887431
- Update to spec 3.0
diff --git a/sources b/sources
index f9eaf35..dd67aea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (errors-a887431f7f6ef7687b556dbf718d9f351d4858a0.tar.gz) = f38bb3dc51829e57b31045e52494a14deaa1df585843dfe5deea94d31ee17e90a36dfa8cbafd6ad3e2323d8d65614e01d0ea8c91e5993f05cba5265b0caf087b
+SHA512 (errors-645ef00459ed84a119197bfb8d8205042c6df63d.tar.gz) = fa82643f622150b44b198451c1e41e042fd7ceefad9d68e32238d48c9a29c6fb14780fca9d9a7dec660365062d4089c638196960fac056b685e7543410774228
commit 294d6f13869d6d4611138e5ce107488ec4fab766
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Mar 18 00:16:10 2018 +0100
Update to spec 3.0
diff --git a/.gitignore b/.gitignore
index 1063411..e8cacaa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/errors-a887431.tar.gz
+/errors-a887431f7f6ef7687b556dbf718d9f351d4858a0.tar.gz
diff --git a/golang-github-pkg-errors.spec b/golang-github-pkg-errors.spec
index 8fc1e74..b49f0ef 100644
--- a/golang-github-pkg-errors.spec
+++ b/golang-github-pkg-errors.spec
@@ -1,185 +1,53 @@
-# 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 github
-%global provider_tld com
-%global project pkg
-%global repo errors
-# https://github.com/pkg/errors
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/pkg/errors
+%global goipath github.com/pkg/errors
%global commit a887431f7f6ef7687b556dbf718d9f351d4858a0
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-%{provider}-%{project}-%{repo}
+%gometa -i
+
+Name: %{goname}
Version: 0.7.1
-Release: 0.6.git%{shortcommit}%{?dist}
+Release: 0.7%{?dist}
Summary: Simple error handling primitives
# Detected licences
# - BSD (2 clause) at 'LICENSE'
License: BSD
-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 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}
-
-
+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
+%{goipath} 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" -or -iname "*.s" \) \! -iname "*_test.go") ; 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") ; 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
-# No dependency directories so far
-
-export GOPATH=%{buildroot}/%{gopath}:%{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.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
-%doc README.md
-%endif
%changelog
+* Sat Mar 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.7.1-0.7.gita887431
+- Update to spec 3.0
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-0.6.gita887431
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index f9cca33..f9eaf35 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (errors-a887431.tar.gz) = f38bb3dc51829e57b31045e52494a14deaa1df585843dfe5deea94d31ee17e90a36dfa8cbafd6ad3e2323d8d65614e01d0ea8c91e5993f05cba5265b0caf087b
+SHA512 (errors-a887431f7f6ef7687b556dbf718d9f351d4858a0.tar.gz) = f38bb3dc51829e57b31045e52494a14deaa1df585843dfe5deea94d31ee17e90a36dfa8cbafd6ad3e2323d8d65614e01d0ea8c91e5993f05cba5265b0caf087b
6 years, 2 months
Architecture specific change in rpms/golang-github-pkg-errors.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-pkg-errors.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-pkg-errors.git/comm....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 8d1e35e3d462efc0f7ee69d7ca9fb8ec4eff4f79
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Mar 18 00:27:27 2018 +0100
Bump to 645ef00459ed84a119197bfb8d8205042c6df63d
diff --git a/.gitignore b/.gitignore
index e8cacaa..d33670b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/errors-a887431f7f6ef7687b556dbf718d9f351d4858a0.tar.gz
+/errors-645ef00459ed84a119197bfb8d8205042c6df63d.tar.gz
diff --git a/golang-github-pkg-errors.spec b/golang-github-pkg-errors.spec
index b49f0ef..c47de62 100644
--- a/golang-github-pkg-errors.spec
+++ b/golang-github-pkg-errors.spec
@@ -1,12 +1,12 @@
# http://github.com/pkg/errors
%global goipath github.com/pkg/errors
-%global commit a887431f7f6ef7687b556dbf718d9f351d4858a0
+%global commit 645ef00459ed84a119197bfb8d8205042c6df63d
%gometa -i
Name: %{goname}
Version: 0.7.1
-Release: 0.7%{?dist}
+Release: 0.8%{?dist}
Summary: Simple error handling primitives
# Detected licences
# - BSD (2 clause) at 'LICENSE'
@@ -45,6 +45,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Sat Mar 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.7.1-0.8.git645ef00
+- Bump to 645ef00459ed84a119197bfb8d8205042c6df63d
+
* Sat Mar 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.7.1-0.7.gita887431
- Update to spec 3.0
diff --git a/sources b/sources
index f9eaf35..dd67aea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (errors-a887431f7f6ef7687b556dbf718d9f351d4858a0.tar.gz) = f38bb3dc51829e57b31045e52494a14deaa1df585843dfe5deea94d31ee17e90a36dfa8cbafd6ad3e2323d8d65614e01d0ea8c91e5993f05cba5265b0caf087b
+SHA512 (errors-645ef00459ed84a119197bfb8d8205042c6df63d.tar.gz) = fa82643f622150b44b198451c1e41e042fd7ceefad9d68e32238d48c9a29c6fb14780fca9d9a7dec660365062d4089c638196960fac056b685e7543410774228
commit 294d6f13869d6d4611138e5ce107488ec4fab766
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Mar 18 00:16:10 2018 +0100
Update to spec 3.0
diff --git a/.gitignore b/.gitignore
index 1063411..e8cacaa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/errors-a887431.tar.gz
+/errors-a887431f7f6ef7687b556dbf718d9f351d4858a0.tar.gz
diff --git a/golang-github-pkg-errors.spec b/golang-github-pkg-errors.spec
index 8fc1e74..b49f0ef 100644
--- a/golang-github-pkg-errors.spec
+++ b/golang-github-pkg-errors.spec
@@ -1,185 +1,53 @@
-# 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 github
-%global provider_tld com
-%global project pkg
-%global repo errors
-# https://github.com/pkg/errors
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/pkg/errors
+%global goipath github.com/pkg/errors
%global commit a887431f7f6ef7687b556dbf718d9f351d4858a0
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-%{provider}-%{project}-%{repo}
+%gometa -i
+
+Name: %{goname}
Version: 0.7.1
-Release: 0.6.git%{shortcommit}%{?dist}
+Release: 0.7%{?dist}
Summary: Simple error handling primitives
# Detected licences
# - BSD (2 clause) at 'LICENSE'
License: BSD
-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 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}
-
-
+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
+%{goipath} 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" -or -iname "*.s" \) \! -iname "*_test.go") ; 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") ; 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
-# No dependency directories so far
-
-export GOPATH=%{buildroot}/%{gopath}:%{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.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
-%doc README.md
-%endif
%changelog
+* Sat Mar 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.7.1-0.7.gita887431
+- Update to spec 3.0
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-0.6.gita887431
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index f9cca33..f9eaf35 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (errors-a887431.tar.gz) = f38bb3dc51829e57b31045e52494a14deaa1df585843dfe5deea94d31ee17e90a36dfa8cbafd6ad3e2323d8d65614e01d0ea8c91e5993f05cba5265b0caf087b
+SHA512 (errors-a887431f7f6ef7687b556dbf718d9f351d4858a0.tar.gz) = f38bb3dc51829e57b31045e52494a14deaa1df585843dfe5deea94d31ee17e90a36dfa8cbafd6ad3e2323d8d65614e01d0ea8c91e5993f05cba5265b0caf087b
6 years, 2 months
Architecture specific change in rpms/golang-github-pkg-errors.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-pkg-errors.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-pkg-errors.git/comm....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 8d1e35e3d462efc0f7ee69d7ca9fb8ec4eff4f79
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Mar 18 00:27:27 2018 +0100
Bump to 645ef00459ed84a119197bfb8d8205042c6df63d
diff --git a/.gitignore b/.gitignore
index e8cacaa..d33670b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/errors-a887431f7f6ef7687b556dbf718d9f351d4858a0.tar.gz
+/errors-645ef00459ed84a119197bfb8d8205042c6df63d.tar.gz
diff --git a/golang-github-pkg-errors.spec b/golang-github-pkg-errors.spec
index b49f0ef..c47de62 100644
--- a/golang-github-pkg-errors.spec
+++ b/golang-github-pkg-errors.spec
@@ -1,12 +1,12 @@
# http://github.com/pkg/errors
%global goipath github.com/pkg/errors
-%global commit a887431f7f6ef7687b556dbf718d9f351d4858a0
+%global commit 645ef00459ed84a119197bfb8d8205042c6df63d
%gometa -i
Name: %{goname}
Version: 0.7.1
-Release: 0.7%{?dist}
+Release: 0.8%{?dist}
Summary: Simple error handling primitives
# Detected licences
# - BSD (2 clause) at 'LICENSE'
@@ -45,6 +45,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Sat Mar 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.7.1-0.8.git645ef00
+- Bump to 645ef00459ed84a119197bfb8d8205042c6df63d
+
* Sat Mar 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.7.1-0.7.gita887431
- Update to spec 3.0
diff --git a/sources b/sources
index f9eaf35..dd67aea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (errors-a887431f7f6ef7687b556dbf718d9f351d4858a0.tar.gz) = f38bb3dc51829e57b31045e52494a14deaa1df585843dfe5deea94d31ee17e90a36dfa8cbafd6ad3e2323d8d65614e01d0ea8c91e5993f05cba5265b0caf087b
+SHA512 (errors-645ef00459ed84a119197bfb8d8205042c6df63d.tar.gz) = fa82643f622150b44b198451c1e41e042fd7ceefad9d68e32238d48c9a29c6fb14780fca9d9a7dec660365062d4089c638196960fac056b685e7543410774228
commit 294d6f13869d6d4611138e5ce107488ec4fab766
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Mar 18 00:16:10 2018 +0100
Update to spec 3.0
diff --git a/.gitignore b/.gitignore
index 1063411..e8cacaa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/errors-a887431.tar.gz
+/errors-a887431f7f6ef7687b556dbf718d9f351d4858a0.tar.gz
diff --git a/golang-github-pkg-errors.spec b/golang-github-pkg-errors.spec
index 8fc1e74..b49f0ef 100644
--- a/golang-github-pkg-errors.spec
+++ b/golang-github-pkg-errors.spec
@@ -1,185 +1,53 @@
-# 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 github
-%global provider_tld com
-%global project pkg
-%global repo errors
-# https://github.com/pkg/errors
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/pkg/errors
+%global goipath github.com/pkg/errors
%global commit a887431f7f6ef7687b556dbf718d9f351d4858a0
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-%{provider}-%{project}-%{repo}
+%gometa -i
+
+Name: %{goname}
Version: 0.7.1
-Release: 0.6.git%{shortcommit}%{?dist}
+Release: 0.7%{?dist}
Summary: Simple error handling primitives
# Detected licences
# - BSD (2 clause) at 'LICENSE'
License: BSD
-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 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}
-
-
+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
+%{goipath} 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" -or -iname "*.s" \) \! -iname "*_test.go") ; 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") ; 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
-# No dependency directories so far
-
-export GOPATH=%{buildroot}/%{gopath}:%{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.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
-%doc README.md
-%endif
%changelog
+* Sat Mar 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.7.1-0.7.gita887431
+- Update to spec 3.0
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-0.6.gita887431
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index f9cca33..f9eaf35 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (errors-a887431.tar.gz) = f38bb3dc51829e57b31045e52494a14deaa1df585843dfe5deea94d31ee17e90a36dfa8cbafd6ad3e2323d8d65614e01d0ea8c91e5993f05cba5265b0caf087b
+SHA512 (errors-a887431f7f6ef7687b556dbf718d9f351d4858a0.tar.gz) = f38bb3dc51829e57b31045e52494a14deaa1df585843dfe5deea94d31ee17e90a36dfa8cbafd6ad3e2323d8d65614e01d0ea8c91e5993f05cba5265b0caf087b
commit d86ed914cdd52a873e0a6cb2b4c705b8629d2d18
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:47:09 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-pkg-errors.spec b/golang-github-pkg-errors.spec
index 6fb38b8..8fc1e74 100644
--- a/golang-github-pkg-errors.spec
+++ b/golang-github-pkg-errors.spec
@@ -42,7 +42,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0.7.1
-Release: 0.5.git%{shortcommit}%{?dist}
+Release: 0.6.git%{shortcommit}%{?dist}
Summary: Simple error handling primitives
# Detected licences
# - BSD (2 clause) at 'LICENSE'
@@ -180,6 +180,9 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-0.6.gita887431
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-0.5.gita887431
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6 years, 2 months
Architecture specific change in rpms/botan2.git
by githook-noreply@fedoraproject.org
The package rpms/botan2.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/botan2.git/commit/?id=f2ee753acb4....
Change:
-ExcludeArch: ppc64le
Thanks.
Full change:
============
commit 6072734e203e522d8a4ddb902e150b5fddc044f4
Author: Thomas Moschny <thm(a)fedoraproject.org>
Date: Sat Mar 17 18:41:14 2018 +0100
Add patch to fix test suite if SIMD instructions are not available (see gh#1495).
diff --git a/botan2.spec b/botan2.spec
index 6164e93..eb7cd4c 100644
--- a/botan2.spec
+++ b/botan2.spec
@@ -12,6 +12,7 @@ Patch0: 01-remove-rpath-gcc.patch
Patch1: put-isa-flags-after-cxxflags.patch
Patch2: python-try-sonames.patch
Patch3: avoid-problematic-altivec-construct.patch
+Patch4: fix-testsuite-on-non-SIMD-machines.patch
BuildRequires: gcc-c++
BuildRequires: python3
@@ -68,8 +69,10 @@ This package contains the Python3 binding for %{name}.
%patch1 -p1
# see gh#1497, backported commits ab87904, 5a0598b
%patch2 -p1
-# see gh#1498, backported commit 0ebad38
+# see gh#1498, backported and updated commit 0ebad38
%patch3 -p1
+# follow-up for gh#1495, backported commit b19cc5c
+%patch4 -p1
%build
@@ -143,6 +146,7 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./botan-test
%changelog
* Sat Mar 17 2018 Thomas Moschny <thomas.moschny(a)gmx.de> - 2.4.0-8
- Add patch to fix test suite failures on ppc64le (see gh#1498).
+- Add patch to fix test suite if SIMD instructions are not available (see gh#1495).
* Thu Mar 15 2018 Thomas Moschny <thomas.moschny(a)gmx.de> - 2.4.0-7
- Add patch to the Python module, supporting loading via
diff --git a/fix-testsuite-on-non-SIMD-machines.patch b/fix-testsuite-on-non-SIMD-machines.patch
new file mode 100644
index 0000000..e69de29
commit f2ee753acb4a60d7504b1330325220e6905fe6e9
Author: Thomas Moschny <thm(a)fedoraproject.org>
Date: Sat Mar 17 18:38:59 2018 +0100
Add patch to fix test suite failures on ppc64le (see gh#1498).
diff --git a/avoid-problematic-altivec-construct.patch b/avoid-problematic-altivec-construct.patch
new file mode 100644
index 0000000..4bd108f
--- /dev/null
+++ b/avoid-problematic-altivec-construct.patch
@@ -0,0 +1,35 @@
+From f53d7593801544f6167514eba9755216eb836d84 Mon Sep 17 00:00:00 2001
+From: Jack Lloyd <jack(a)randombit.net>
+Date: Fri, 16 Mar 2018 12:47:13 -0400
+Subject: [PATCH] Avoid a problematic construct for AltiVec byteswap
+
+Seems to cause problems with GCC 8 on ppc64le. GH #1498
+---
+ src/lib/utils/simd/simd_32.h | 11 ++++++++---
+ 1 file changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/src/lib/utils/simd/simd_32.h b/src/lib/utils/simd/simd_32.h
+index d9a41c8..efa0006 100644
+--- a/src/lib/utils/simd/simd_32.h
++++ b/src/lib/utils/simd/simd_32.h
+@@ -593,9 +593,14 @@ class SIMD_4x32 final
+
+ #elif defined(BOTAN_SIMD_USE_ALTIVEC)
+
+- __vector unsigned char perm = vec_lvsl(0, static_cast<uint32_t*>(nullptr));
+- perm = vec_xor(perm, vec_splat_u8(3));
+- return SIMD_4x32(vec_perm(m_vmx, m_vmx, perm));
++ union {
++ __vector unsigned int V;
++ uint32_t R[4];
++ } vec;
++
++ vec.V = m_vmx;
++ bswap_4(vec.R);
++ return SIMD_4x32(vec.R[0], vec.R[1], vec.R[2], vec.R[3]);
+
+ #elif defined(BOTAN_SIMD_USE_NEON)
+
+--
+2.9.5
+
diff --git a/botan2.spec b/botan2.spec
index eade832..6164e93 100644
--- a/botan2.spec
+++ b/botan2.spec
@@ -2,7 +2,7 @@
Name: botan2
Version: 2.4.0
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Crypto and TLS for C++11
License: BSD
@@ -11,8 +11,8 @@ Source0: https://botan.randombit.net/releases/Botan-%{version}.tgz
Patch0: 01-remove-rpath-gcc.patch
Patch1: put-isa-flags-after-cxxflags.patch
Patch2: python-try-sonames.patch
+Patch3: avoid-problematic-altivec-construct.patch
-ExcludeArch: ppc64le
BuildRequires: gcc-c++
BuildRequires: python3
BuildRequires: python3-devel
@@ -68,6 +68,8 @@ This package contains the Python3 binding for %{name}.
%patch1 -p1
# see gh#1497, backported commits ab87904, 5a0598b
%patch2 -p1
+# see gh#1498, backported commit 0ebad38
+%patch3 -p1
%build
@@ -139,6 +141,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./botan-test
%changelog
+* Sat Mar 17 2018 Thomas Moschny <thomas.moschny(a)gmx.de> - 2.4.0-8
+- Add patch to fix test suite failures on ppc64le (see gh#1498).
+
* Thu Mar 15 2018 Thomas Moschny <thomas.moschny(a)gmx.de> - 2.4.0-7
- Add patch to the Python module, supporting loading via
libbotan-2.so.X.
6 years, 2 months
Architecture specific change in rpms/love.git
by githook-noreply@fedoraproject.org
The package rpms/love.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/love.git/commit/?id=4dcc2884491e3....
Change:
+ExcludeArch: ppc64le
Thanks.
Full change:
============
commit 4dcc2884491e35a8fdde56195c0445ad367231c4
Author: Mystro256 <alexjnewt(a)hotmail.com>
Date: Sat Mar 17 12:40:47 2018 -0400
Exclude ppc64le for f27 and before (broken/not supported)
diff --git a/love.spec b/love.spec
index 0c99390..f558cea 100644
--- a/love.spec
+++ b/love.spec
@@ -22,6 +22,11 @@ Source0: https://bitbucket.org/rude/%{name}/get/%{version}.tar.gz
Patch1: %{name}-%{version}-luajit2.1.0beta3.patch
%endif
+#ppc64le is not supported prior to f28, excluding for legacy:
+%if 0%{?fedora} < 28
+ExcludeArch: ppc64le
+%endif
+
BuildRequires: desktop-file-utils
BuildRequires: DevIL-devel
BuildRequires: flac-devel
@@ -112,6 +117,9 @@ rm -f %{buildroot}%{_libdir}/lib%{name}.la
%{_libdir}/lib%{name}.*
%changelog
+* Sat Mar 17 2018 Jeremy Newton <alexjnewt AT hotmail DOT com>
+- Disable PPC64le for builds prior to f28
+
* Thu Mar 15 2018 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.10.2-11
- Enable PPC64le
6 years, 2 months
Architecture specific change in rpms/love.git
by githook-noreply@fedoraproject.org
The package rpms/love.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/love.git/commit/?id=4dcc2884491e3....
Change:
+ExcludeArch: ppc64le
Thanks.
Full change:
============
commit 4dcc2884491e35a8fdde56195c0445ad367231c4
Author: Mystro256 <alexjnewt(a)hotmail.com>
Date: Sat Mar 17 12:40:47 2018 -0400
Exclude ppc64le for f27 and before (broken/not supported)
diff --git a/love.spec b/love.spec
index 0c99390..f558cea 100644
--- a/love.spec
+++ b/love.spec
@@ -22,6 +22,11 @@ Source0: https://bitbucket.org/rude/%{name}/get/%{version}.tar.gz
Patch1: %{name}-%{version}-luajit2.1.0beta3.patch
%endif
+#ppc64le is not supported prior to f28, excluding for legacy:
+%if 0%{?fedora} < 28
+ExcludeArch: ppc64le
+%endif
+
BuildRequires: desktop-file-utils
BuildRequires: DevIL-devel
BuildRequires: flac-devel
@@ -112,6 +117,9 @@ rm -f %{buildroot}%{_libdir}/lib%{name}.la
%{_libdir}/lib%{name}.*
%changelog
+* Sat Mar 17 2018 Jeremy Newton <alexjnewt AT hotmail DOT com>
+- Disable PPC64le for builds prior to f28
+
* Thu Mar 15 2018 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.10.2-11
- Enable PPC64le
6 years, 2 months