Architecture specific change in rpms/golang-github-alecthomas-template.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-alecthomas-template.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-alecthomas-template....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit e84441f59d5aaeea09fefe8413cb8daad76a54f6
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Sun Nov 11 22:02:48 2018 +0100
Update to new Go packaging
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index fdb7f13..234453d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/template-a0175ee.tar.gz
+/template-a0175ee3bccc567396460bf5acd36800cb10c49c.tar.gz
diff --git a/golang-github-alecthomas-template.spec b/golang-github-alecthomas-template.spec
index fb4af4c..af00091 100644
--- a/golang-github-alecthomas-template.spec
+++ b/golang-github-alecthomas-template.spec
@@ -1,111 +1,56 @@
-%global debug_package %{nil}
-
-%global provider github
-%global provider_tld com
-%global project alecthomas
-%global repo template
# https://github.com/alecthomas/template
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit a0175ee3bccc567396460bf5acd36800cb10c49c
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global goipath github.com/alecthomas/template
+%global commit a0175ee3bccc567396460bf5acd36800cb10c49c
+
+%gometa
-Name: golang-%{provider}-%{project}-%{repo}
+Name: %{goname}
Version: 0
-Release: 0.3.git%{shortcommit}%{?dist}
+Release: 0.4%{?dist}
Summary: Go's text/template package with newline elision
+# Detected licences
+# - BSD 3-clause "New" or "Revised" License at 'LICENSE'
License: BSD
-URL: https://%{provider_prefix}
-Source0: %{url}/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}.
+%{summary}
+
%package devel
-Summary: %{summary}
-BuildArch: noarch
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/parse) = %{version}-%{release}
+Summary: %{summary}
+BuildArch: noarch
%description devel
-%{summary}.
+%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
+%{goipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%forgeautosetup
-%build
%install
-# source codes for building projects
-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") ; 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
-
-# testing files for this project
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go" -or -iname "testdata"); 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
-
-sort -u -o devel.file-list devel.file-list
-sort -u -o unit-test-devel.file-list unit-test-devel.file-list
+%goinstall
-%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
+%check
+%gochecks
-%gotest %{import_path}
-%gotest %{import_path}/parse
%files devel -f devel.file-list
-%doc README.md
%license LICENSE
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-
-%files unit-test-devel -f unit-test-devel.file-list
%doc README.md
-%license LICENSE
+
%changelog
+* Sun Nov 11 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.4.20181111gita0175ee
+- Update to new Go packaging
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.gita0175ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources
index bc9c213..4cdd299 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (template-a0175ee.tar.gz) = 5ca546170725c3bdd4d9b27ca3976d6dc6376be8db685e6e26cfaef4a51560f78702b7babbe5ed0b2d934d0c32867bc69b11ae757071dc143a4453e6e7ffabdf
+SHA512 (template-a0175ee3bccc567396460bf5acd36800cb10c49c.tar.gz) = 5ca546170725c3bdd4d9b27ca3976d6dc6376be8db685e6e26cfaef4a51560f78702b7babbe5ed0b2d934d0c32867bc69b11ae757071dc143a4453e6e7ffabdf
5 years, 7 months
Architecture specific change in rpms/golang-github-alecthomas-repr.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-alecthomas-repr.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-alecthomas-repr.git....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit da6237388396d3b7b3340faa0dd2622c944300b2
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Sun Nov 11 21:38:48 2018 +0100
Bump to commit d37bc2a10ba1a7951e19dd5dc10f7d59b142d8d7
Update to new Go packaging
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index 8628c52..6622360 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/repr-d44565c.tar.gz
+/repr-d37bc2a10ba1a7951e19dd5dc10f7d59b142d8d7.tar.gz
diff --git a/golang-github-alecthomas-repr.spec b/golang-github-alecthomas-repr.spec
index 3572330..ffa157b 100644
--- a/golang-github-alecthomas-repr.spec
+++ b/golang-github-alecthomas-repr.spec
@@ -1,87 +1,59 @@
-%global debug_package %{nil}
-
-%global provider github
-%global provider_tld com
-%global project alecthomas
-%global repo repr
# https://github.com/alecthomas/repr
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit d44565ca483f0ed23c2ac9cda62c966b116e77a3
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global goipath github.com/alecthomas/repr
+%global commit d37bc2a10ba1a7951e19dd5dc10f7d59b142d8d7
+
+%gometa
-Name: golang-%{provider}-%{project}-%{repo}
+Name: %{goname}
Version: 0
-Release: 0.3.git%{shortcommit}%{?dist}
+Release: 0.4%{?dist}
Summary: Python's repr() for Go
+# Detected licences
+# - Expat License at 'COPYING'
License: MIT
-URL: https://%{provider_prefix}
-Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
-# 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}
+BuildRequires: golang(github.com/stretchr/testify/assert)
%description
-%{summary}.
+%{summary}
+
%package devel
-Summary: %{summary}
-BuildArch: noarch
-BuildRequires: golang(github.com/stretchr/testify/assert)
-Provides: golang(%{import_path}) = %{version}-%{release}
+Summary: %{summary}
+BuildArch: noarch
%description devel
-%{summary}.
+%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
+%{goipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%forgeautosetup
-%build
%install
-# source codes for building projects
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-install -m644 repr.go %{buildroot}%{gopath}/src/%{import_path}/
-install -m644 repr_test.go %{buildroot}%{gopath}/src/%{import_path}/
+%goinstall
-%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
+%check
+%gochecks
-%gotest %{import_path}
-%files devel
-%doc README.md
+%files devel -f devel.file-list
%license COPYING
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%{gopath}/src/%{import_path}/repr.go
+%doc README.md
-%files unit-test-devel
-%{gopath}/src/%{import_path}/repr_test.go
%changelog
+* Sun Nov 11 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.4.20181111gitd37bc2a
+- Bump to commit d37bc2a10ba1a7951e19dd5dc10f7d59b142d8d7
+- Update to new Go packaging
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.gitd44565c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
@@ -90,3 +62,4 @@ export GOPATH=%{buildroot}%{gopath}:%{gopath}
* Fri Aug 11 2017 mosquito <sensor.wen(a)gmail.com> - 0-0.1.gitd44565c
- Initial package build
+
diff --git a/sources b/sources
index 0cf8c19..b46d48b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (repr-d44565c.tar.gz) = c6e8398b2fd54672913fc9adbd2423c8bc7107d5646e5a072478caa0452ff57f4ebd427c1e9c5979270e11026b644912183ea8043af3a9ad3b4f72d04144d4a8
+SHA512 (repr-d37bc2a10ba1a7951e19dd5dc10f7d59b142d8d7.tar.gz) = d3231d3b7d17f89f229cda1aa7be7fb112d57eeba5d7cd4beff7f0b8e92662b2fe3a3037db95f857116166b2c2a06b867ea24b454d2c4b48399b036c67822e18
5 years, 7 months
Architecture specific change in rpms/golang-github-alecthomas-repr.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-alecthomas-repr.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-alecthomas-repr.git....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 7b6b175290b2ef16b97414a9b3bcb9e2040129dc
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Sun Nov 11 21:38:48 2018 +0100
Bump to commit d37bc2a10ba1a7951e19dd5dc10f7d59b142d8d7
Update to new Go packaging
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index 8628c52..6622360 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/repr-d44565c.tar.gz
+/repr-d37bc2a10ba1a7951e19dd5dc10f7d59b142d8d7.tar.gz
diff --git a/golang-github-alecthomas-repr.spec b/golang-github-alecthomas-repr.spec
index 3572330..ffa157b 100644
--- a/golang-github-alecthomas-repr.spec
+++ b/golang-github-alecthomas-repr.spec
@@ -1,87 +1,59 @@
-%global debug_package %{nil}
-
-%global provider github
-%global provider_tld com
-%global project alecthomas
-%global repo repr
# https://github.com/alecthomas/repr
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit d44565ca483f0ed23c2ac9cda62c966b116e77a3
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global goipath github.com/alecthomas/repr
+%global commit d37bc2a10ba1a7951e19dd5dc10f7d59b142d8d7
+
+%gometa
-Name: golang-%{provider}-%{project}-%{repo}
+Name: %{goname}
Version: 0
-Release: 0.3.git%{shortcommit}%{?dist}
+Release: 0.4%{?dist}
Summary: Python's repr() for Go
+# Detected licences
+# - Expat License at 'COPYING'
License: MIT
-URL: https://%{provider_prefix}
-Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
-# 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}
+BuildRequires: golang(github.com/stretchr/testify/assert)
%description
-%{summary}.
+%{summary}
+
%package devel
-Summary: %{summary}
-BuildArch: noarch
-BuildRequires: golang(github.com/stretchr/testify/assert)
-Provides: golang(%{import_path}) = %{version}-%{release}
+Summary: %{summary}
+BuildArch: noarch
%description devel
-%{summary}.
+%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
+%{goipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%forgeautosetup
-%build
%install
-# source codes for building projects
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-install -m644 repr.go %{buildroot}%{gopath}/src/%{import_path}/
-install -m644 repr_test.go %{buildroot}%{gopath}/src/%{import_path}/
+%goinstall
-%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
+%check
+%gochecks
-%gotest %{import_path}
-%files devel
-%doc README.md
+%files devel -f devel.file-list
%license COPYING
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%{gopath}/src/%{import_path}/repr.go
+%doc README.md
-%files unit-test-devel
-%{gopath}/src/%{import_path}/repr_test.go
%changelog
+* Sun Nov 11 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.4.20181111gitd37bc2a
+- Bump to commit d37bc2a10ba1a7951e19dd5dc10f7d59b142d8d7
+- Update to new Go packaging
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.gitd44565c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
@@ -90,3 +62,4 @@ export GOPATH=%{buildroot}%{gopath}:%{gopath}
* Fri Aug 11 2017 mosquito <sensor.wen(a)gmail.com> - 0-0.1.gitd44565c
- Initial package build
+
diff --git a/sources b/sources
index 0cf8c19..b46d48b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (repr-d44565c.tar.gz) = c6e8398b2fd54672913fc9adbd2423c8bc7107d5646e5a072478caa0452ff57f4ebd427c1e9c5979270e11026b644912183ea8043af3a9ad3b4f72d04144d4a8
+SHA512 (repr-d37bc2a10ba1a7951e19dd5dc10f7d59b142d8d7.tar.gz) = d3231d3b7d17f89f229cda1aa7be7fb112d57eeba5d7cd4beff7f0b8e92662b2fe3a3037db95f857116166b2c2a06b867ea24b454d2c4b48399b036c67822e18
5 years, 7 months
Architecture specific change in rpms/golang-github-alecthomas-kingpin.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-alecthomas-kingpin.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-alecthomas-kingpin.....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 7d1279b6bdc0002c2141a2a8cacb87b17094c60c
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Sun Nov 11 21:15:13 2018 +0100
Release 2.2.6
Update to new Go packaging
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index 38df485..f5d5c9e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/kingpin-1087e65.tar.gz
+/kingpin-2.2.6.tar.gz
diff --git a/golang-github-alecthomas-kingpin.spec b/golang-github-alecthomas-kingpin.spec
index c909458..9cec597 100644
--- a/golang-github-alecthomas-kingpin.spec
+++ b/golang-github-alecthomas-kingpin.spec
@@ -1,122 +1,60 @@
-%global debug_package %{nil}
-
-%global provider github
-%global provider_tld com
-%global project alecthomas
-%global repo kingpin
# https://github.com/alecthomas/kingpin
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global import_path2 gopkg.in/%{project}/%{repo}.v2
-%global commit 1087e65c9441605df944fb12c33f0fe7072d18ca
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: golang-%{provider}-%{project}-%{repo}
-Version: 2.2.5
-Release: 3.git%{shortcommit}%{?dist}
+%global goipath gopkg.in/alecthomas/kingpin.v2
+%global forgeurl https://github.com/alecthomas/kingpin
+Version: 2.2.6
+
+%gometa
+
+Name: golang-github-alecthomas-kingpin
+Release: 1%{?dist}
Summary: A Go command line and flag parser
+# Detected licences
+# - Expat License at 'COPYING'
License: MIT
-URL: https://%{provider_prefix}
-Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
-# 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}
+BuildRequires: golang(github.com/alecthomas/template)
+BuildRequires: golang(github.com/alecthomas/units)
+BuildRequires: golang(github.com/stretchr/testify/assert)
%description
%{summary}.
+
%package devel
-Summary: %{summary}
-BuildArch: noarch
-BuildRequires: golang(github.com/alecthomas/template)
-BuildRequires: golang(github.com/alecthomas/units)
-BuildRequires: golang(github.com/alecthomas/assert)
-Requires: golang(github.com/alecthomas/template)
-Requires: golang(github.com/alecthomas/units)
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path2}) = %{version}-%{release}
+Summary: %{summary}
+BuildArch: noarch
%description devel
%{summary}.
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-
+%{goipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%forgeautosetup
-%build
%install
-# source codes for building projects
-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" \! -path "./_examples/*") ; 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
-
-# Add symlink to older name
-install -d -p %{buildroot}%{gopath}/src/gopkg.in/alecthomas/
-echo "%%dir %%{gopath}/src/gopkg.in/alecthomas/." >> devel.file-list
-ln -s %{gopath}/src/%{import_path}/ %{buildroot}%{gopath}/src/%{import_path2}
-echo "%%{gopath}/src/%{import_path2}" >> devel.file-list
-
-# testing files for this project
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.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
-
-sort -u -o devel.file-list devel.file-list
-sort -u -o unit-test-devel.file-list unit-test-devel.file-list
+%goinstall
-%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
+%check
+%gochecks
-%gotest %{import_path}
%files devel -f devel.file-list
-%doc README.md _examples
%license COPYING
-%dir %{gopath}/src/%{import_path}/cmd
+%doc README.md _examples
-%files unit-test-devel -f unit-test-devel.file-list
-%doc README.md
-%license COPYING
%changelog
+* Sun Nov 11 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 2.2.6-1
+- Release 2.2.6
+- Update to new Go packaging
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.2.5-3.git1087e65
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources
index 23e0359..81ba87c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (kingpin-1087e65.tar.gz) = 6a546ed2ecc15d8b7d319a59fa4f4c96564b12e12e8440c07a2744f933ca5d68de7aa42f734688d92bc187200de55a467b50405ad5831e77fcd4661314cd8a47
+SHA512 (kingpin-2.2.6.tar.gz) = 09c6bb5782639efc7068ed7606fe22c463b2397dc95a89c27ba567a58da10660bfea60d7836b63dcedf7db702f79fe7247575c33a503990f5ba6ca92e29b06b3
5 years, 7 months
Architecture specific change in rpms/golang-github-alecthomas-kingpin.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-alecthomas-kingpin.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-alecthomas-kingpin.....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 34761f4c3ea1a0017c1405d3b967d6e8aac68609
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Sun Nov 11 21:15:13 2018 +0100
Release 2.2.6
Update to new Go packaging
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index 38df485..f5d5c9e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/kingpin-1087e65.tar.gz
+/kingpin-2.2.6.tar.gz
diff --git a/golang-github-alecthomas-kingpin.spec b/golang-github-alecthomas-kingpin.spec
index c909458..9cec597 100644
--- a/golang-github-alecthomas-kingpin.spec
+++ b/golang-github-alecthomas-kingpin.spec
@@ -1,122 +1,60 @@
-%global debug_package %{nil}
-
-%global provider github
-%global provider_tld com
-%global project alecthomas
-%global repo kingpin
# https://github.com/alecthomas/kingpin
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global import_path2 gopkg.in/%{project}/%{repo}.v2
-%global commit 1087e65c9441605df944fb12c33f0fe7072d18ca
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: golang-%{provider}-%{project}-%{repo}
-Version: 2.2.5
-Release: 3.git%{shortcommit}%{?dist}
+%global goipath gopkg.in/alecthomas/kingpin.v2
+%global forgeurl https://github.com/alecthomas/kingpin
+Version: 2.2.6
+
+%gometa
+
+Name: golang-github-alecthomas-kingpin
+Release: 1%{?dist}
Summary: A Go command line and flag parser
+# Detected licences
+# - Expat License at 'COPYING'
License: MIT
-URL: https://%{provider_prefix}
-Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
-# 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}
+BuildRequires: golang(github.com/alecthomas/template)
+BuildRequires: golang(github.com/alecthomas/units)
+BuildRequires: golang(github.com/stretchr/testify/assert)
%description
%{summary}.
+
%package devel
-Summary: %{summary}
-BuildArch: noarch
-BuildRequires: golang(github.com/alecthomas/template)
-BuildRequires: golang(github.com/alecthomas/units)
-BuildRequires: golang(github.com/alecthomas/assert)
-Requires: golang(github.com/alecthomas/template)
-Requires: golang(github.com/alecthomas/units)
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path2}) = %{version}-%{release}
+Summary: %{summary}
+BuildArch: noarch
%description devel
%{summary}.
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-
+%{goipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%forgeautosetup
-%build
%install
-# source codes for building projects
-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" \! -path "./_examples/*") ; 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
-
-# Add symlink to older name
-install -d -p %{buildroot}%{gopath}/src/gopkg.in/alecthomas/
-echo "%%dir %%{gopath}/src/gopkg.in/alecthomas/." >> devel.file-list
-ln -s %{gopath}/src/%{import_path}/ %{buildroot}%{gopath}/src/%{import_path2}
-echo "%%{gopath}/src/%{import_path2}" >> devel.file-list
-
-# testing files for this project
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.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
-
-sort -u -o devel.file-list devel.file-list
-sort -u -o unit-test-devel.file-list unit-test-devel.file-list
+%goinstall
-%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
+%check
+%gochecks
-%gotest %{import_path}
%files devel -f devel.file-list
-%doc README.md _examples
%license COPYING
-%dir %{gopath}/src/%{import_path}/cmd
+%doc README.md _examples
-%files unit-test-devel -f unit-test-devel.file-list
-%doc README.md
-%license COPYING
%changelog
+* Sun Nov 11 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 2.2.6-1
+- Release 2.2.6
+- Update to new Go packaging
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.2.5-3.git1087e65
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources
index 23e0359..81ba87c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (kingpin-1087e65.tar.gz) = 6a546ed2ecc15d8b7d319a59fa4f4c96564b12e12e8440c07a2744f933ca5d68de7aa42f734688d92bc187200de55a467b50405ad5831e77fcd4661314cd8a47
+SHA512 (kingpin-2.2.6.tar.gz) = 09c6bb5782639efc7068ed7606fe22c463b2397dc95a89c27ba567a58da10660bfea60d7836b63dcedf7db702f79fe7247575c33a503990f5ba6ca92e29b06b3
5 years, 7 months
Architecture specific change in rpms/golang-github-alecthomas-colour.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-alecthomas-colour.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-alecthomas-colour.g....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit cac023b0c4f22f72a7ff140bd45a0ff21a1ab304
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Sun Nov 11 20:09:58 2018 +0100
Bump to commit 60882d9e27213e8552dcff6328914fe4c2b44bc9
Update to new Go packaging
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index d9cddb2..bb667ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/colour-60882d9.tar.gz
+/colour-60882d9e27213e8552dcff6328914fe4c2b44bc9.tar.gz
diff --git a/golang-github-alecthomas-colour.spec b/golang-github-alecthomas-colour.spec
index 4d1c19e..8fb65c7 100644
--- a/golang-github-alecthomas-colour.spec
+++ b/golang-github-alecthomas-colour.spec
@@ -1,88 +1,59 @@
-%global debug_package %{nil}
-
-%global provider github
-%global provider_tld com
-%global project alecthomas
-%global repo colour
# https://github.com/alecthomas/colour
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 60882d9e27213e8552dcff6328914fe4c2b44bc9
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global goipath github.com/alecthomas/colour
+%global commit 60882d9e27213e8552dcff6328914fe4c2b44bc9
+
+%gometa
-Name: golang-%{provider}-%{project}-%{repo}
+Name: %{goname}
Version: 0
-Release: 0.3.git%{shortcommit}%{?dist}
+Release: 0.4%{?dist}
Summary: Quake-style colour formatting for Unix terminals
+# Detected licences
+# - Expat License at 'COPYING'
License: MIT
-URL: https://%{provider_prefix}
-Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
-# 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}
+BuildRequires: golang(github.com/mattn/go-isatty)
%description
-%{summary}.
+%{summary}
+
%package devel
-Summary: %{summary}
-BuildArch: noarch
-BuildRequires: golang(github.com/mattn/go-isatty)
-Requires: golang(github.com/mattn/go-isatty)
-Provides: golang(%{import_path}) = %{version}-%{release}
+Summary: %{summary}
+BuildArch: noarch
%description devel
-%{summary}.
+%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
+%{goipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%forgeautosetup
-%build
%install
-# source codes for building projects
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-install -m644 colour.go %{buildroot}%{gopath}/src/%{import_path}/
-install -m644 colour_test.go %{buildroot}%{gopath}/src/%{import_path}/
+%goinstall
-%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
+%check
+%gochecks
-%gotest %{import_path}
-%files devel
-%doc README.md
+%files devel -f devel.file-list
%license COPYING
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%{gopath}/src/%{import_path}/colour.go
+%doc README.md
-%files unit-test-devel
-%{gopath}/src/%{import_path}/colour_test.go
%changelog
+* Sun Nov 11 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.4.20181111git60882d9
+- Bump to commit 60882d9e27213e8552dcff6328914fe4c2b44bc9
+- Update to new Go packaging
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.git60882d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
@@ -91,3 +62,4 @@ export GOPATH=%{buildroot}%{gopath}:%{gopath}
* Fri Aug 11 2017 mosquito <sensor.wen(a)gmail.com> - 0-0.1.git60882d9
- Initial package build
+
diff --git a/sources b/sources
index 72e50c1..0139ba9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (colour-60882d9.tar.gz) = e428ba9fdc2fcf097ec9892241cbca65631924dfe66a08ec4131e7cfba24125145600f03b753b7bc4452b06f0c7380560d9165ebeb7dddb30d35db512c825796
+SHA512 (colour-60882d9e27213e8552dcff6328914fe4c2b44bc9.tar.gz) = e428ba9fdc2fcf097ec9892241cbca65631924dfe66a08ec4131e7cfba24125145600f03b753b7bc4452b06f0c7380560d9165ebeb7dddb30d35db512c825796
5 years, 7 months
Architecture specific change in rpms/golang-github-alecthomas-colour.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-alecthomas-colour.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-alecthomas-colour.g....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit ba6fdf8fad1093a4c1d7cd75740509375f7aecc2
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Sun Nov 11 20:09:58 2018 +0100
Bump to commit 60882d9e27213e8552dcff6328914fe4c2b44bc9
Update to new Go packaging
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index d9cddb2..bb667ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/colour-60882d9.tar.gz
+/colour-60882d9e27213e8552dcff6328914fe4c2b44bc9.tar.gz
diff --git a/golang-github-alecthomas-colour.spec b/golang-github-alecthomas-colour.spec
index 4d1c19e..8fb65c7 100644
--- a/golang-github-alecthomas-colour.spec
+++ b/golang-github-alecthomas-colour.spec
@@ -1,88 +1,59 @@
-%global debug_package %{nil}
-
-%global provider github
-%global provider_tld com
-%global project alecthomas
-%global repo colour
# https://github.com/alecthomas/colour
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 60882d9e27213e8552dcff6328914fe4c2b44bc9
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global goipath github.com/alecthomas/colour
+%global commit 60882d9e27213e8552dcff6328914fe4c2b44bc9
+
+%gometa
-Name: golang-%{provider}-%{project}-%{repo}
+Name: %{goname}
Version: 0
-Release: 0.3.git%{shortcommit}%{?dist}
+Release: 0.4%{?dist}
Summary: Quake-style colour formatting for Unix terminals
+# Detected licences
+# - Expat License at 'COPYING'
License: MIT
-URL: https://%{provider_prefix}
-Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
-# 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}
+BuildRequires: golang(github.com/mattn/go-isatty)
%description
-%{summary}.
+%{summary}
+
%package devel
-Summary: %{summary}
-BuildArch: noarch
-BuildRequires: golang(github.com/mattn/go-isatty)
-Requires: golang(github.com/mattn/go-isatty)
-Provides: golang(%{import_path}) = %{version}-%{release}
+Summary: %{summary}
+BuildArch: noarch
%description devel
-%{summary}.
+%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
+%{goipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%forgeautosetup
-%build
%install
-# source codes for building projects
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-install -m644 colour.go %{buildroot}%{gopath}/src/%{import_path}/
-install -m644 colour_test.go %{buildroot}%{gopath}/src/%{import_path}/
+%goinstall
-%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
+%check
+%gochecks
-%gotest %{import_path}
-%files devel
-%doc README.md
+%files devel -f devel.file-list
%license COPYING
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%{gopath}/src/%{import_path}/colour.go
+%doc README.md
-%files unit-test-devel
-%{gopath}/src/%{import_path}/colour_test.go
%changelog
+* Sun Nov 11 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.4.20181111git60882d9
+- Bump to commit 60882d9e27213e8552dcff6328914fe4c2b44bc9
+- Update to new Go packaging
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.git60882d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
@@ -91,3 +62,4 @@ export GOPATH=%{buildroot}%{gopath}:%{gopath}
* Fri Aug 11 2017 mosquito <sensor.wen(a)gmail.com> - 0-0.1.git60882d9
- Initial package build
+
diff --git a/sources b/sources
index 72e50c1..0139ba9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (colour-60882d9.tar.gz) = e428ba9fdc2fcf097ec9892241cbca65631924dfe66a08ec4131e7cfba24125145600f03b753b7bc4452b06f0c7380560d9165ebeb7dddb30d35db512c825796
+SHA512 (colour-60882d9e27213e8552dcff6328914fe4c2b44bc9.tar.gz) = e428ba9fdc2fcf097ec9892241cbca65631924dfe66a08ec4131e7cfba24125145600f03b753b7bc4452b06f0c7380560d9165ebeb7dddb30d35db512c825796
5 years, 7 months
Architecture specific change in rpms/golang-github-alecthomas-assert.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-alecthomas-assert.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-alecthomas-assert.g....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 2340841358877fac05d37b1ac0d8c6227269a0ee
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Sun Nov 11 19:36:20 2018 +0100
Bump to commit 405dbfeb8e38effee6e723317226e93fff912d06
Update to new Go packaging
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index b8ab034..c8fcac2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/assert-561411b.tar.gz
+/assert-405dbfeb8e38effee6e723317226e93fff912d06.tar.gz
diff --git a/golang-github-alecthomas-assert.spec b/golang-github-alecthomas-assert.spec
index 921243d..1940fae 100644
--- a/golang-github-alecthomas-assert.spec
+++ b/golang-github-alecthomas-assert.spec
@@ -1,113 +1,67 @@
-%global debug_package %{nil}
-
-%global provider github
-%global provider_tld com
-%global project alecthomas
-%global repo assert
# https://github.com/alecthomas/assert
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 561411bbb7e98b005e520f4c0f491c2d23782048
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global goipath github.com/alecthomas/assert
+%global commit 405dbfeb8e38effee6e723317226e93fff912d06
+
+%global common_description %{expand:
+This is a fork of stretchr's assertion library that does two things:
+
+ - It makes spotting differences in equality much easier. It uses repr and
+ diffmatchpatch to display structural differences in colour.
+ - Aborts tests on first assertion failure (the same behaviour as
+ stretchr/testify/require).}
-Name: golang-%{provider}-%{project}-%{repo}
+%gometa
+
+Name: %{goname}
Version: 0
-Release: 0.3.git%{shortcommit}%{?dist}
-Summary: Units - Helpful unit multipliers and functions for Go
+Release: 0.4%{?dist}
+Summary: Go assertion library
License: MIT
-URL: https://%{provider_prefix}
-Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
-# 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}
+BuildRequires: golang(github.com/alecthomas/colour)
+BuildRequires: golang(github.com/alecthomas/repr)
+BuildRequires: golang(github.com/sergi/go-diff/diffmatchpatch)
+BuildRequires: golang(github.com/stretchr/testify/require)
%description
-%{summary}.
+%{common_description}
+
%package devel
-Summary: %{summary}
-BuildArch: noarch
-BuildRequires: golang(github.com/alecthomas/colour)
-BuildRequires: golang(github.com/alecthomas/repr)
-BuildRequires: golang(github.com/sergi/go-diff/diffmatchpatch)
-BuildRequires: golang(github.com/stretchr/testify/require)
-Requires: golang(github.com/alecthomas/colour)
-Requires: golang(github.com/alecthomas/repr)
-Requires: golang(github.com/sergi/go-diff/diffmatchpatch)
-Provides: golang(%{import_path}) = %{version}-%{release}
+Summary: %{summary}
+BuildArch: noarch
%description devel
-%{summary}.
+%{common_description}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
+%{goipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%forgeautosetup
-%build
%install
-# source codes for building projects
-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") ; 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
-
-# testing files for this project
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.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
-
-sort -u -o devel.file-list devel.file-list
+%goinstall
-%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
+%check
+%gochecks
-%gotest %{import_path}/_example ||:
%files devel -f devel.file-list
%doc README.md
-%license LICENCE.txt
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%files unit-test-devel -f unit-test-devel.file-list
%changelog
+* Sun Nov 11 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.4.20181111git405dbfe
+- Bump to commit 405dbfeb8e38effee6e723317226e93fff912d06
+- Update to new Go packaging
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.git561411b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
@@ -116,3 +70,4 @@ export GOPATH=%{buildroot}%{gopath}:%{gopath}
* Fri Aug 11 2017 mosquito <sensor.wen(a)gmail.com> - 0-0.1.git561411b
- Initial package build
+
diff --git a/sources b/sources
index 5fb3a90..01abcee 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (assert-561411b.tar.gz) = 5ac18f829d31f58015617860cc662917b542a0daccf30e9a37108ebc806f77abf442d3109a4657c018afbd1155f70d675e29b2a43028b00bd36b442a2762bca3
+SHA512 (assert-405dbfeb8e38effee6e723317226e93fff912d06.tar.gz) = 182f141d83bb9b1d7d94cf3b1beb2e7c4074f9be3bd0250e3423fe64e6182f34b54b36e517397aa88440e42fe116973ed435bde6b8343df299db6ebb32591331
5 years, 7 months
Architecture specific change in rpms/golang-github-alecthomas-assert.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-alecthomas-assert.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-alecthomas-assert.g....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 1a7fb00cb4c379dbb032fbadca95aab64b439007
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Sun Nov 11 19:36:20 2018 +0100
Bump to commit 405dbfeb8e38effee6e723317226e93fff912d06
Update to new Go packaging
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index b8ab034..c8fcac2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/assert-561411b.tar.gz
+/assert-405dbfeb8e38effee6e723317226e93fff912d06.tar.gz
diff --git a/golang-github-alecthomas-assert.spec b/golang-github-alecthomas-assert.spec
index 921243d..1940fae 100644
--- a/golang-github-alecthomas-assert.spec
+++ b/golang-github-alecthomas-assert.spec
@@ -1,113 +1,67 @@
-%global debug_package %{nil}
-
-%global provider github
-%global provider_tld com
-%global project alecthomas
-%global repo assert
# https://github.com/alecthomas/assert
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 561411bbb7e98b005e520f4c0f491c2d23782048
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global goipath github.com/alecthomas/assert
+%global commit 405dbfeb8e38effee6e723317226e93fff912d06
+
+%global common_description %{expand:
+This is a fork of stretchr's assertion library that does two things:
+
+ - It makes spotting differences in equality much easier. It uses repr and
+ diffmatchpatch to display structural differences in colour.
+ - Aborts tests on first assertion failure (the same behaviour as
+ stretchr/testify/require).}
-Name: golang-%{provider}-%{project}-%{repo}
+%gometa
+
+Name: %{goname}
Version: 0
-Release: 0.3.git%{shortcommit}%{?dist}
-Summary: Units - Helpful unit multipliers and functions for Go
+Release: 0.4%{?dist}
+Summary: Go assertion library
License: MIT
-URL: https://%{provider_prefix}
-Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
-# 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}
+BuildRequires: golang(github.com/alecthomas/colour)
+BuildRequires: golang(github.com/alecthomas/repr)
+BuildRequires: golang(github.com/sergi/go-diff/diffmatchpatch)
+BuildRequires: golang(github.com/stretchr/testify/require)
%description
-%{summary}.
+%{common_description}
+
%package devel
-Summary: %{summary}
-BuildArch: noarch
-BuildRequires: golang(github.com/alecthomas/colour)
-BuildRequires: golang(github.com/alecthomas/repr)
-BuildRequires: golang(github.com/sergi/go-diff/diffmatchpatch)
-BuildRequires: golang(github.com/stretchr/testify/require)
-Requires: golang(github.com/alecthomas/colour)
-Requires: golang(github.com/alecthomas/repr)
-Requires: golang(github.com/sergi/go-diff/diffmatchpatch)
-Provides: golang(%{import_path}) = %{version}-%{release}
+Summary: %{summary}
+BuildArch: noarch
%description devel
-%{summary}.
+%{common_description}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
+%{goipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%forgeautosetup
-%build
%install
-# source codes for building projects
-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") ; 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
-
-# testing files for this project
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.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
-
-sort -u -o devel.file-list devel.file-list
+%goinstall
-%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
+%check
+%gochecks
-%gotest %{import_path}/_example ||:
%files devel -f devel.file-list
%doc README.md
-%license LICENCE.txt
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%files unit-test-devel -f unit-test-devel.file-list
%changelog
+* Sun Nov 11 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.4.20181111git405dbfe
+- Bump to commit 405dbfeb8e38effee6e723317226e93fff912d06
+- Update to new Go packaging
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.git561411b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
@@ -116,3 +70,4 @@ export GOPATH=%{buildroot}%{gopath}:%{gopath}
* Fri Aug 11 2017 mosquito <sensor.wen(a)gmail.com> - 0-0.1.git561411b
- Initial package build
+
diff --git a/sources b/sources
index 5fb3a90..01abcee 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (assert-561411b.tar.gz) = 5ac18f829d31f58015617860cc662917b542a0daccf30e9a37108ebc806f77abf442d3109a4657c018afbd1155f70d675e29b2a43028b00bd36b442a2762bca3
+SHA512 (assert-405dbfeb8e38effee6e723317226e93fff912d06.tar.gz) = 182f141d83bb9b1d7d94cf3b1beb2e7c4074f9be3bd0250e3423fe64e6182f34b54b36e517397aa88440e42fe116973ed435bde6b8343df299db6ebb32591331
5 years, 7 months
Architecture specific change in rpms/golang-github-10gen-openssl.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-10gen-openssl.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-10gen-openssl.git/c....
Change:
-ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64le s390x
Thanks.
Full change:
============
commit e2a8a9379991d1f19041d008b7457e8914d42bd2
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Sun Nov 11 16:27:56 2018 +0100
Bump to commit 58f60a8e59ba35b53e6821bda7003c4ea626dbf9
Update to new Go packaging
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index f5d4b41..5ec8901 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/openssl-4c6dbaf.tar.gz
/openssl-cbe9e82.tar.gz
+/openssl-58f60a8e59ba35b53e6821bda7003c4ea626dbf9.tar.gz
diff --git a/change-import-path-prefix.patch b/change-import-path-prefix.patch
deleted file mode 100644
index 1ba0aa0..0000000
--- a/change-import-path-prefix.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From a8085828f1f8ddb5c897c1eb8b959861751e2d76 Mon Sep 17 00:00:00 2001
-From: Jan Chaloupka <jchaloup(a)redhat.com>
-Date: Mon, 15 Jun 2015 16:53:44 +0200
-Subject: [PATCH] change import path prefix
-
----
- conn.go | 2 +-
- ssl_test.go | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/conn.go b/conn.go
-index 55a4b6c..4ff6fb6 100644
---- a/conn.go
-+++ b/conn.go
-@@ -42,7 +42,7 @@ import (
- "time"
- "unsafe"
-
-- "github.com/spacemonkeygo/openssl/utils"
-+ "github.com/10gen/openssl/utils"
- )
-
- var (
-diff --git a/ssl_test.go b/ssl_test.go
-index f83225d..0c088c2 100644
---- a/ssl_test.go
-+++ b/ssl_test.go
-@@ -25,7 +25,7 @@ import (
- "testing"
- "time"
-
-- "github.com/spacemonkeygo/openssl/utils"
-+ "github.com/10gen/openssl/utils"
- )
-
- var (
---
-1.9.3
-
diff --git a/golang-github-10gen-openssl.spec b/golang-github-10gen-openssl.spec
index bf9b841..03d3bd5 100644
--- a/golang-github-10gen-openssl.spec
+++ b/golang-github-10gen-openssl.spec
@@ -1,169 +1,67 @@
-%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
+# Run tests in check section
+# Deactivating test: tests randomly fail in Koji
+%bcond_with check
-%global provider github
-%global provider_tld com
-%global project 10gen
-%global repo openssl
# https://github.com/10gen/openssl
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit cbe9e82b6ddfb1d9958d328877404157d313c649
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global goipath github.com/10gen/openssl
+%global commit 58f60a8e59ba35b53e6821bda7003c4ea626dbf9
-Name: golang-%{provider}-%{project}-%{repo}
+%gometa
+
+Name: %{goname}
Version: 0
-Release: 0.17.git%{shortcommit}%{?dist}
-Summary: OpenSSL bindings for Go (forked from github.com/spacemonkeygo/openssl)
+Release: 0.18%{?dist}
+Summary: OpenSSL bindings for Go
+# Detected licences
+# - *No copyright* Apache License (v2.0) at 'LICENSE'
License: ASL 2.0
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-Patch1: use-system-openssl.patch
+URL: %{gourl}
+Source0: %{gosource}
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64le s390x
-# 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}
+BuildRequires: golang(github.com/spacemonkeygo/spacelog)
+BuildRequires: openssl-devel
%description
-%{summary}
+%{summary}.
+
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-
-%if 0%{?with_check}
-BuildRequires: golang(github.com/spacemonkeygo/spacelog)
-%endif
-
-Requires: openssl-devel
-Requires: golang(github.com/spacemonkeygo/spacelog)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/utils) = %{version}-%{release}
+Requires: openssl-devel
%description devel
-%{summary}
+%{summary}.
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
+%{goipath} prefix.
-%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}
-BuildRequires: openssl-devel
-%endif
-Requires: openssl-devel
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for %{project}/%{repo}.
-%endif
%prep
-%setup -q -n %{repo}-%{commit}
-%patch1 -p1
+%forgeautosetup
-%build
%install
-# as per commit 'removing code incompatible with openssl 0.9.8e',
-# NewGCMDecryptionCipherCtx function no longer exists
-rm -rf ciphers_test.go
-
-# 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
-# copy *.c and *.h files
-cp -pav *.c *.h %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%{gopath}/src/%%{import_path}/*.c" >> devel.file-list
-echo "%%{gopath}/src/%%{import_path}/*.h" >> 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
+%goinstall
-# 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
+%if %{with check}
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}:/usr/include:/usr/lib64
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}:/usr/include:/usr/lib64
+%gochecks
%endif
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-%gotest %{import_path}
-%endif
-
-#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
+%doc README.md AUTHORS
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test -f unit-test.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Sun Nov 11 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.18.20181111git58f60a8
+- Bump to commit 58f60a8e59ba35b53e6821bda7003c4ea626dbf9
+- Update to new Go packaging
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.17.gitcbe9e82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
@@ -222,4 +120,3 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}:/usr/inc
* Mon Jun 15 2015 Marek Skalicky <mskalick(a)redhat.com> - 0-0.1.git4c6dbaf
- First package for Fedora
resolves: #1232234
-
diff --git a/sources b/sources
index d093b4c..c08e9f1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (openssl-cbe9e82.tar.gz) = 3941b2545257335f276105115f11dc9a0b1c42279fd15cb7a22e962b7de2f79cdf03c949b7d35bb14e580b290601d0eb2dc1465a9f87df28dfe022c32453ae44
+SHA512 (openssl-58f60a8e59ba35b53e6821bda7003c4ea626dbf9.tar.gz) = 7f15e24d04e1d0ec7237219bb94c714c799b1e291fcf30d81b69ca846efe906f46422eaaeb7e52843451774d6cda94eb4a6a2b039622838bb79a4640e5de88ce
diff --git a/use-system-openssl.patch b/use-system-openssl.patch
deleted file mode 100644
index cf49c1b..0000000
--- a/use-system-openssl.patch
+++ /dev/null
@@ -1,165 +0,0 @@
-diff --git a/bio.go b/bio.go
-index 9fe32aa..18c1fd7 100644
---- a/bio.go
-+++ b/bio.go
-@@ -15,6 +15,7 @@
- package openssl
-
- // #include "shim.h"
-+// #cgo LDFLAGS: -lssl
- import "C"
-
- import (
-diff --git a/build.go b/build.go
-index d286163..ef405cb 100644
---- a/build.go
-+++ b/build.go
-@@ -21,4 +21,5 @@ package openssl
- // #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN -I"c:/openssl/include"
- // #cgo windows LDFLAGS: -lssleay32 -llibeay32 -lcrypt32 -L "c:/openssl/bin"
- // #cgo darwin LDFLAGS: -framework CoreFoundation -framework Foundation -framework Security
-+// #cgo LDFLAGS: -lssl
- import "C"
-diff --git a/cert.go b/cert.go
-index d3df635..1659fc7 100644
---- a/cert.go
-+++ b/cert.go
-@@ -15,6 +15,7 @@
- package openssl
-
- // #include "shim.h"
-+// #cgo LDFLAGS: -lssl
- import "C"
-
- import (
-diff --git a/ciphers.go b/ciphers.go
-index e4f5771..a60908e 100644
---- a/ciphers.go
-+++ b/ciphers.go
-@@ -15,6 +15,7 @@
- package openssl
-
- // #include "shim.h"
-+// #cgo LDFLAGS: -lssl
- import "C"
-
- import (
-diff --git a/conn.go b/conn.go
-index 2d2f208..0445848 100644
---- a/conn.go
-+++ b/conn.go
-@@ -15,6 +15,7 @@
- package openssl
-
- // #include "shim.h"
-+// #cgo LDFLAGS: -lssl
- import "C"
-
- import (
-diff --git a/ctx.go b/ctx.go
-index a092c3a..b76efa0 100644
---- a/ctx.go
-+++ b/ctx.go
-@@ -26,6 +26,7 @@ static void sk_X509_NAME_pop_free_not_a_macro(STACK_OF_X509_NAME_not_a_macro st)
-
- extern int password_cb(char *buf, int size, int rwflag, void *password);
-
-+#cgo LDFLAGS: -lssl
- */
- import "C"
-
-diff --git a/dhparam.go b/dhparam.go
-index 294d064..963ba16 100644
---- a/dhparam.go
-+++ b/dhparam.go
-@@ -15,6 +15,7 @@
- package openssl
-
- // #include "shim.h"
-+// #cgo LDFLAGS: -lssl
- import "C"
-
- import (
-diff --git a/engine.go b/engine.go
-index 78aef95..b1a4b7b 100644
---- a/engine.go
-+++ b/engine.go
-@@ -16,6 +16,7 @@ package openssl
-
- /*
- #include "openssl/engine.h"
-+#cgo LDFLAGS: -lssl
- */
- import "C"
-
-diff --git a/hostname.go b/hostname.go
-index f0b36db..577fa14 100644
---- a/hostname.go
-+++ b/hostname.go
-@@ -30,6 +30,7 @@ extern int X509_check_email(X509 *x, const unsigned char *chk, size_t chklen,
- extern int X509_check_ip(X509 *x, const unsigned char *chk, size_t chklen,
- unsigned int flags);
- #endif
-+#cgo LDFLAGS: -lssl
- */
- import "C"
-
-diff --git a/init.go b/init.go
-index ac2aa04..ffa43b2 100644
---- a/init.go
-+++ b/init.go
-@@ -46,6 +46,7 @@ Making a client connection is straightforward too:
- package openssl
-
- // #include "shim.h"
-+// #cgo LDFLAGS: -lssl
- import "C"
-
- import (
-diff --git a/init_posix.go b/init_posix.go
-index 9e52b4e..abe6912 100644
---- a/init_posix.go
-+++ b/init_posix.go
-@@ -66,5 +66,6 @@ unsigned long go_thread_id_callback() {
- return (unsigned long) pthread_self();
- }
- #endif
-+#cgo LDFLAGS: -lssl
- */
- import "C"
-diff --git a/key.go b/key.go
-index 4e39a38..d1939b1 100644
---- a/key.go
-+++ b/key.go
-@@ -15,6 +15,7 @@
- package openssl
-
- // #include "shim.h"
-+// #cgo LDFLAGS: -lssl
- import "C"
-
- import (
-diff --git a/sha1.go b/sha1.go
-index c227bee..1c50b0e 100644
---- a/sha1.go
-+++ b/sha1.go
-@@ -15,6 +15,7 @@
- package openssl
-
- // #include "shim.h"
-+// #cgo LDFLAGS: -lssl
- import "C"
-
- import (
-diff --git a/sha256.go b/sha256.go
-index d25c7a9..cf81917 100644
---- a/sha256.go
-+++ b/sha256.go
-@@ -15,6 +15,7 @@
- package openssl
-
- // #include "shim.h"
-+// #cgo LDFLAGS: -lssl
- import "C"
-
- import (
5 years, 7 months