The package rpms/golang-github-abbot-go-http-auth.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-abbot-go-http-auth.....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit b394099042239b3586bdc405fea7c2d2f79b3790
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Fri Jun 8 10:46:01 2018 +0200
Upload glide.lock and glide.yaml files
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..1b573d4
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,3 @@
+hash: 03526ecd49ce2bac2a3d8daf9f34ef89f7fee05791c0bc03a23534bd93bf1295
+imports: []
+updated: '2018-06-08T08:43:29.517771+00:00'
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..be72de1
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package:
github.com/abbot/go-http-auth
+
diff --git a/golang-github-abbot-go-http-auth.spec
b/golang-github-abbot-go-http-auth.spec
index ad11f62..c809681 100644
--- a/golang-github-abbot-go-http-auth.spec
+++ b/golang-github-abbot-go-http-auth.spec
@@ -6,11 +6,13 @@
Name: golang-github-abbot-go-http-auth
Version: 0
-Release: 0.14%{?dist}
+Release: 0.15%{?dist}
Summary: Basic and Digest HTTP Authentication for golang http
License: ASL 2.0
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.lock
+Source2: glide.yaml
%description
This is an implementation of HTTP Basic
@@ -30,9 +32,10 @@ building other packages which use import path with
%prep
%gosetup
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall test.htdigest test.htpasswd
+%goinstall test.htdigest test.htpasswd glide.lock glide.yaml
%check
%gochecks
@@ -45,6 +48,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Fri Jun 08 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.15.gitc0ef453
+- Upload glide.lock and glide.yaml files
+
* Mon Mar 05 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.14.gitc0ef453
- Update to spec 3.0
commit f5c25593ed95b9750fe669f431d717f432b8da69
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Mar 5 14:36:08 2018 +0100
Fix the package name
diff --git a/golang-github-abbot-go-http-auth.spec
b/golang-github-abbot-go-http-auth.spec
index 96e5228..ad11f62 100644
--- a/golang-github-abbot-go-http-auth.spec
+++ b/golang-github-abbot-go-http-auth.spec
@@ -4,7 +4,7 @@
%gometa -i
-Name: %{goname}
+Name: golang-github-abbot-go-http-auth
Version: 0
Release: 0.14%{?dist}
Summary: Basic and Digest HTTP Authentication for golang http
commit 7fdc14a9b450e35c7fa244ea6817c4d119892cb6
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Mar 5 13:04:15 2018 +0100
Update to spec 3.0
diff --git a/.gitignore b/.gitignore
index cbfe4f8..908a251 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go-http-auth-c0ef453.tar.gz
+/go-http-auth-c0ef4539dfab4d21c8ef20ba2924f9fc6f186d35.tar.gz
diff --git a/golang-github-abbot-go-http-auth.spec
b/golang-github-abbot-go-http-auth.spec
index abb8d22..96e5228 100644
--- a/golang-github-abbot-go-http-auth.spec
+++ b/golang-github-abbot-go-http-auth.spec
@@ -1,14 +1,12 @@
#
https://github.com/abbot/go-http-auth
-%global provider_prefix
github.com/abbot/go-http-auth
-%global gobaseipath %{provider_prefix}
+%global goipath
github.com/abbot/go-http-auth
%global commit c0ef4539dfab4d21c8ef20ba2924f9fc6f186d35
-%global commitdate 20140619
-%gocraftmeta -i
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.13.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.14%{?dist}
Summary: Basic and Digest HTTP Authentication for golang http
License: ASL 2.0
URL: %{gourl}
@@ -28,7 +26,7 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
@@ -47,6 +45,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Mon Mar 05 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.14.gitc0ef453
+- Update to spec 3.0
+
* Mon Feb 26 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.20140619gitc0ef453
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 8f8bf03..182e38d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3d640895a47c2d885fba9a2142ac5dd2 go-http-auth-c0ef453.tar.gz
+SHA512 (go-http-auth-c0ef4539dfab4d21c8ef20ba2924f9fc6f186d35.tar.gz) =
0e8c688e3a137aca342b6b1430b2269ba9bb96a5780704e6198036997d26778299fa86213c237c8528e1e4ce802dabe4e2e7f5de2868da30ebe01b7c8752360e
commit 5ee77b70fc9c8f69804a8e61bb51acc348983db5
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Feb 26 10:48:43 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-abbot-go-http-auth.spec
b/golang-github-abbot-go-http-auth.spec
index 4eeed9d..abb8d22 100644
--- a/golang-github-abbot-go-http-auth.spec
+++ b/golang-github-abbot-go-http-auth.spec
@@ -1,161 +1,55 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%else
-%global with_devel 0
-%global with_bundled 0
-%global with_debug 0
-%global with_check 0
-%global with_unit_test 0
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project abbot
-%global repo go-http-auth
#
https://github.com/abbot/go-http-auth
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix
github.com/abbot/go-http-auth
+%global gobaseipath %{provider_prefix}
%global commit c0ef4539dfab4d21c8ef20ba2924f9fc6f186d35
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20140619
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.12.git%{shortcommit}%{?dist}
+Release: 0.13.%{commitdate}git%{shortcommit}%{?dist}
Summary: Basic and Digest HTTP Authentication for golang http
License: ASL 2.0
-URL: https://%{provider_prefix}
-Source0:
https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
This is an implementation of HTTP Basic
and HTTP Digest authentication in Go language.
It is designed as a simple wrapper for http.RequestHandler functions.
-%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}
-
-%build
+%gosetup
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; 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
-cp -pav test.htdigest %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%{gopath}/src/%%{import_path}/test.htdigest" >>
unit-test.file-list
-cp -pav test.htpasswd %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%{gopath}/src/%%{import_path}/test.htpasswd" >>
unit-test.file-list
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall test.htdigest test.htpasswd
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-%endif
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README.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 LICENSE
-%doc README.md
-%endif
%changelog
+* Mon Feb 26 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.20140619gitc0ef453
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.12.gitc0ef453
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -199,5 +93,3 @@ export
GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
* Thu Dec 18 2014 jchaloup <jchaloup(a)redhat.com> - 0-0.1.gitc0ef453
- First package for Fedora
resolves: #1175673
-
-