Architecture specific change in rpms/golang-github-DATA-DOG-go-sqlmock.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-DATA-DOG-go-sqlmock.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-DATA-DOG-go-sqlmock....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit b30732e92b9733bc18259bb57d5eb92045d090bf
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sat Jun 9 17:30:16 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 60fc388..46d16e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go-sqlmock-ed4836e.tar.gz
+/go-sqlmock-ed4836e31d3e9e77420e442ed9b864df55370ee0.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..d991557
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: 7e94c8075323a07d26b80a134fd1f7c3ea89ed4dcdd3483a86bd7c92274f7e8a
+imports: []
+updated: '2018-06-09T15:27:13.589561+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..1bb346f
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/DATA-DOG/go-sqlmock
+
diff --git a/golang-github-DATA-DOG-go-sqlmock.spec b/golang-github-DATA-DOG-go-sqlmock.spec
index 5f42b40..16db425 100644
--- a/golang-github-DATA-DOG-go-sqlmock.spec
+++ b/golang-github-DATA-DOG-go-sqlmock.spec
@@ -1,18 +1,18 @@
-# https://github.com/DATA-DOG/go-sqlmock
-%global provider_prefix github.com/DATA-DOG/go-sqlmock
-%global gobaseipath %{provider_prefix}
+# http://github.com/DATA-DOG/go-sqlmock
+%global goipath github.com/DATA-DOG/go-sqlmock
%global commit ed4836e31d3e9e77420e442ed9b864df55370ee0
-%global commitdate 20150709
-%gocraftmeta -i
+%gometa -i
-Name: %{goname}
+Name: golang-github-DATA-DOG-go-sqlmock
Version: 0.1.0
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Sql mock driver for golang to test database interactions
License: BSD
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.lock
+Source2: glide.yaml
%description
%{summary}
@@ -26,13 +26,14 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
%gochecks
@@ -45,6 +46,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Sat Jun 09 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.1.0-11.gited4836e
+- Upload glide files
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.1.0-10
- rebuilt
diff --git a/sources b/sources
index 4e5bb67..cc61bb2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-20c0937fd29c93e3bfbc16c1ecd91073 go-sqlmock-ed4836e.tar.gz
+SHA512 (go-sqlmock-ed4836e31d3e9e77420e442ed9b864df55370ee0.tar.gz) = c6dc7d262c0cceb074e9494dd14c5e1341f96f45ed3e2bbd18520632793459dbc8532f6bd6f822c6bb6a6f66bd58c528cec8caf59af96cd994ad58f92bd20b88
commit 40f730a8407bd271e768bd19e0a08f072263207f
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 13:53:26 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-DATA-DOG-go-sqlmock.spec b/golang-github-DATA-DOG-go-sqlmock.spec
index 90d12af..5f42b40 100644
--- a/golang-github-DATA-DOG-go-sqlmock.spec
+++ b/golang-github-DATA-DOG-go-sqlmock.spec
@@ -1,152 +1,53 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%else
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project DATA-DOG
-%global repo go-sqlmock
# https://github.com/DATA-DOG/go-sqlmock
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/DATA-DOG/go-sqlmock
+%global gobaseipath %{provider_prefix}
%global commit ed4836e31d3e9e77420e442ed9b864df55370ee0
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150709
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0.1.0
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Sql mock driver for golang to test database interactions
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 %{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}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{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
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-%endif
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README.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
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.1.0-10
+- rebuilt
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -176,4 +77,3 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
- First package for Fedora
resolves: #1270037
-
5 years, 11 months
Architecture specific change in rpms/golang-github-DATA-DOG-go-sqlmock.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-DATA-DOG-go-sqlmock.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-DATA-DOG-go-sqlmock....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit b30732e92b9733bc18259bb57d5eb92045d090bf
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sat Jun 9 17:30:16 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 60fc388..46d16e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go-sqlmock-ed4836e.tar.gz
+/go-sqlmock-ed4836e31d3e9e77420e442ed9b864df55370ee0.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..d991557
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: 7e94c8075323a07d26b80a134fd1f7c3ea89ed4dcdd3483a86bd7c92274f7e8a
+imports: []
+updated: '2018-06-09T15:27:13.589561+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..1bb346f
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/DATA-DOG/go-sqlmock
+
diff --git a/golang-github-DATA-DOG-go-sqlmock.spec b/golang-github-DATA-DOG-go-sqlmock.spec
index 5f42b40..16db425 100644
--- a/golang-github-DATA-DOG-go-sqlmock.spec
+++ b/golang-github-DATA-DOG-go-sqlmock.spec
@@ -1,18 +1,18 @@
-# https://github.com/DATA-DOG/go-sqlmock
-%global provider_prefix github.com/DATA-DOG/go-sqlmock
-%global gobaseipath %{provider_prefix}
+# http://github.com/DATA-DOG/go-sqlmock
+%global goipath github.com/DATA-DOG/go-sqlmock
%global commit ed4836e31d3e9e77420e442ed9b864df55370ee0
-%global commitdate 20150709
-%gocraftmeta -i
+%gometa -i
-Name: %{goname}
+Name: golang-github-DATA-DOG-go-sqlmock
Version: 0.1.0
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Sql mock driver for golang to test database interactions
License: BSD
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.lock
+Source2: glide.yaml
%description
%{summary}
@@ -26,13 +26,14 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
%gochecks
@@ -45,6 +46,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Sat Jun 09 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.1.0-11.gited4836e
+- Upload glide files
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.1.0-10
- rebuilt
diff --git a/sources b/sources
index 4e5bb67..cc61bb2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-20c0937fd29c93e3bfbc16c1ecd91073 go-sqlmock-ed4836e.tar.gz
+SHA512 (go-sqlmock-ed4836e31d3e9e77420e442ed9b864df55370ee0.tar.gz) = c6dc7d262c0cceb074e9494dd14c5e1341f96f45ed3e2bbd18520632793459dbc8532f6bd6f822c6bb6a6f66bd58c528cec8caf59af96cd994ad58f92bd20b88
commit 40f730a8407bd271e768bd19e0a08f072263207f
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 13:53:26 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-DATA-DOG-go-sqlmock.spec b/golang-github-DATA-DOG-go-sqlmock.spec
index 90d12af..5f42b40 100644
--- a/golang-github-DATA-DOG-go-sqlmock.spec
+++ b/golang-github-DATA-DOG-go-sqlmock.spec
@@ -1,152 +1,53 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%else
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project DATA-DOG
-%global repo go-sqlmock
# https://github.com/DATA-DOG/go-sqlmock
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/DATA-DOG/go-sqlmock
+%global gobaseipath %{provider_prefix}
%global commit ed4836e31d3e9e77420e442ed9b864df55370ee0
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150709
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0.1.0
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Sql mock driver for golang to test database interactions
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 %{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}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{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
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-%endif
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README.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
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.1.0-10
+- rebuilt
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -176,4 +77,3 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
- First package for Fedora
resolves: #1270037
-
commit c53c5b0701cd2e9d8edc8ffe914c81595484d7ac
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 13:52:26 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-DATA-DOG-go-sqlmock.spec b/golang-github-DATA-DOG-go-sqlmock.spec
index 118e427..90d12af 100644
--- a/golang-github-DATA-DOG-go-sqlmock.spec
+++ b/golang-github-DATA-DOG-go-sqlmock.spec
@@ -30,7 +30,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0.1.0
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Sql mock driver for golang to test database interactions
License: BSD
URL: https://%{provider_prefix}
@@ -147,6 +147,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-d2g-dhcp4.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-d2g-dhcp4.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-d2g-dhcp4.git/commi....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 065e5f436d3f79a53295006211be8ac71ecd8b6e
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sat Jun 9 17:24:17 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index cd54932..8cf678b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/dhcp4-f0e4d29.tar.gz
+/dhcp4-f0e4d29ff0231dce36e250b2ed9ff08412584bca.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..1caea76
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: c36c1a84ea2c90293cf823f84a691b5f6b24ff11fb0b1696e1fc95d5b6e0cb9c
+imports: []
+updated: '2018-06-09T15:23:09.207000+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..8ab934f
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/d2g/dhcp4
+
diff --git a/golang-github-d2g-dhcp4.spec b/golang-github-d2g-dhcp4.spec
index 52b904c..2c9cdac 100644
--- a/golang-github-d2g-dhcp4.spec
+++ b/golang-github-d2g-dhcp4.spec
@@ -1,20 +1,20 @@
-# https://github.com/d2g/dhcp4
-%global provider_prefix github.com/d2g/dhcp4
-%global gobaseipath %{provider_prefix}
+# http://github.com/d2g/dhcp4
+%global goipath github.com/d2g/dhcp4
%global commit f0e4d29ff0231dce36e250b2ed9ff08412584bca
-%global commitdate 20150413
-%gocraftmeta -i
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.6.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.7%{?dist}
Summary: DHCP4 library written in Go
# Detected licences
# - BSD (3 clause) at 'LICENSE'
License: BSD
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.lock
+Source2: glide.yaml
%description
%{summary}
@@ -28,13 +28,14 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
%gochecks
@@ -47,6 +48,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Sat Jun 09 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.7.gitf0e4d29
+- Upload glide files
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.6.20150413gitf0e4d29
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 6a1b220..d3f9dc9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (dhcp4-f0e4d29.tar.gz) = 3a5c5287198fba9241b46482e02bd0329709b671e17b5a60cbd99859706d41587ff0ebc1f36ad699600069d48f71b9f4cd193fb26c816e3d008e1aef812a35a3
+SHA512 (dhcp4-f0e4d29ff0231dce36e250b2ed9ff08412584bca.tar.gz) = 3a5c5287198fba9241b46482e02bd0329709b671e17b5a60cbd99859706d41587ff0ebc1f36ad699600069d48f71b9f4cd193fb26c816e3d008e1aef812a35a3
commit beb6a6dd812125b17b89b907361b9a1cf1a7ca01
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 13:36:18 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-d2g-dhcp4.spec b/golang-github-d2g-dhcp4.spec
index dc9d66b..52b904c 100644
--- a/golang-github-d2g-dhcp4.spec
+++ b/golang-github-d2g-dhcp4.spec
@@ -1,185 +1,55 @@
-# 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
-# No tests so far
-%global with_unit_test 0
-
-%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 d2g
-%global repo dhcp4
# https://github.com/d2g/dhcp4
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/d2g/dhcp4
+%global gobaseipath %{provider_prefix}
%global commit f0e4d29ff0231dce36e250b2ed9ff08412584bca
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150413
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.5.git%{shortcommit}%{?dist}
+Release: 0.6.%{commitdate}git%{shortcommit}%{?dist}
Summary: DHCP4 library written in Go
# Detected licences
# - BSD (3 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
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%gosetup
-%build
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . \( -iname "*.go" -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
-
-%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
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.6.20150413gitf0e4d29
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.5.gitf0e4d29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-d2g-dhcp4.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-d2g-dhcp4.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-d2g-dhcp4.git/commi....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 065e5f436d3f79a53295006211be8ac71ecd8b6e
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sat Jun 9 17:24:17 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index cd54932..8cf678b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/dhcp4-f0e4d29.tar.gz
+/dhcp4-f0e4d29ff0231dce36e250b2ed9ff08412584bca.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..1caea76
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: c36c1a84ea2c90293cf823f84a691b5f6b24ff11fb0b1696e1fc95d5b6e0cb9c
+imports: []
+updated: '2018-06-09T15:23:09.207000+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..8ab934f
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/d2g/dhcp4
+
diff --git a/golang-github-d2g-dhcp4.spec b/golang-github-d2g-dhcp4.spec
index 52b904c..2c9cdac 100644
--- a/golang-github-d2g-dhcp4.spec
+++ b/golang-github-d2g-dhcp4.spec
@@ -1,20 +1,20 @@
-# https://github.com/d2g/dhcp4
-%global provider_prefix github.com/d2g/dhcp4
-%global gobaseipath %{provider_prefix}
+# http://github.com/d2g/dhcp4
+%global goipath github.com/d2g/dhcp4
%global commit f0e4d29ff0231dce36e250b2ed9ff08412584bca
-%global commitdate 20150413
-%gocraftmeta -i
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.6.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.7%{?dist}
Summary: DHCP4 library written in Go
# Detected licences
# - BSD (3 clause) at 'LICENSE'
License: BSD
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.lock
+Source2: glide.yaml
%description
%{summary}
@@ -28,13 +28,14 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
%gochecks
@@ -47,6 +48,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Sat Jun 09 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.7.gitf0e4d29
+- Upload glide files
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.6.20150413gitf0e4d29
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 6a1b220..d3f9dc9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (dhcp4-f0e4d29.tar.gz) = 3a5c5287198fba9241b46482e02bd0329709b671e17b5a60cbd99859706d41587ff0ebc1f36ad699600069d48f71b9f4cd193fb26c816e3d008e1aef812a35a3
+SHA512 (dhcp4-f0e4d29ff0231dce36e250b2ed9ff08412584bca.tar.gz) = 3a5c5287198fba9241b46482e02bd0329709b671e17b5a60cbd99859706d41587ff0ebc1f36ad699600069d48f71b9f4cd193fb26c816e3d008e1aef812a35a3
commit beb6a6dd812125b17b89b907361b9a1cf1a7ca01
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 13:36:18 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-d2g-dhcp4.spec b/golang-github-d2g-dhcp4.spec
index dc9d66b..52b904c 100644
--- a/golang-github-d2g-dhcp4.spec
+++ b/golang-github-d2g-dhcp4.spec
@@ -1,185 +1,55 @@
-# 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
-# No tests so far
-%global with_unit_test 0
-
-%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 d2g
-%global repo dhcp4
# https://github.com/d2g/dhcp4
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/d2g/dhcp4
+%global gobaseipath %{provider_prefix}
%global commit f0e4d29ff0231dce36e250b2ed9ff08412584bca
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150413
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.5.git%{shortcommit}%{?dist}
+Release: 0.6.%{commitdate}git%{shortcommit}%{?dist}
Summary: DHCP4 library written in Go
# Detected licences
# - BSD (3 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
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%gosetup
-%build
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . \( -iname "*.go" -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
-
-%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
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.6.20150413gitf0e4d29
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.5.gitf0e4d29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit d784c4a1dddcafab4fc9260d115c14c30872d372
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:09:01 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/golang-github-d2g-dhcp4.spec b/golang-github-d2g-dhcp4.spec
index 85c1e98..dc9d66b 100644
--- a/golang-github-d2g-dhcp4.spec
+++ b/golang-github-d2g-dhcp4.spec
@@ -43,7 +43,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5.git%{shortcommit}%{?dist}
Summary: DHCP4 library written in Go
# Detected licences
# - BSD (3 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-0.5.gitf0e4d29
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.4.gitf0e4d29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-coreos-go-systemd.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-coreos-go-systemd.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-coreos-go-systemd.g....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit a35c9770328585ed4fabade37a1e52542a3e29b3
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sat Jun 9 17:09:28 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index ff9cb02..6c86da2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go-systemd-48702e0.tar.gz
+/go-systemd-48702e0da86bd25e76cfef347e2adeb434a0d0a6.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..6e75ff7
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,10 @@
+hash: 4727dee27c124d992bcd42c768500d78d04b6bd7cc05c767bc628fbbe1ef0d04
+imports:
+- name: github.com/godbus/dbus
+ version: 850816941114ebdf6d68a20595de37db822a5e8a
+- name: github.com/coreos/pkg
+ subpackages:
+ - dlopen
+ version: 447b7ec906e523386d9c53be15b55a8ae86ea944
+updated: '2018-06-09T15:08:05.915807+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..6519b88
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,9 @@
+import:
+- package: github.com/godbus/dbus
+ version: 850816941114ebdf6d68a20595de37db822a5e8a
+- package: github.com/coreos/pkg
+ subpackages:
+ - dlopen
+ version: 447b7ec906e523386d9c53be15b55a8ae86ea944
+package: github.com/coreos/go-systemd
+
diff --git a/golang-github-coreos-go-systemd.spec b/golang-github-coreos-go-systemd.spec
index 08eaf83..be69779 100644
--- a/golang-github-coreos-go-systemd.spec
+++ b/golang-github-coreos-go-systemd.spec
@@ -1,18 +1,18 @@
-# https://github.com/coreos/go-systemd
-%global provider_prefix github.com/coreos/go-systemd
-%global gobaseipath %{provider_prefix}
+# http://github.com/coreos/go-systemd
+%global goipath github.com/coreos/go-systemd
%global commit 48702e0da86bd25e76cfef347e2adeb434a0d0a6
-%global commitdate 20161114
-%gocraftmeta -i
+%gometa -i
-Name: %{goname}
+Name: golang-github-coreos-go-systemd
Version: 10
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Go bindings to systemd socket activation, journal and D-BUS APIs
License: ASL 2.0
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.lock
+Source2: glide.yaml
%description
%{summary}
@@ -22,7 +22,6 @@ Summary: %{summary}
BuildArch: noarch
BuildRequires: systemd-devel
-Requires: systemd-devel
BuildRequires: golang(github.com/godbus/dbus)
BuildRequires: golang(github.com/coreos/pkg/dlopen)
@@ -32,17 +31,17 @@ BuildRequires: golang(github.com/coreos/pkg/dlopen)
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall examples
+%goinstall examples glide.lock glide.yaml
%check
-# dial unix /var/run/dbus/system_bus_socket: connect: no such file or directory
-%gochecks %{gobaseipath}/{dbus,login1,machine1,sdjournal}
+%gochecks -d dbus -d login1 -d machine1 -d sdjournal
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -52,6 +51,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Sat Jun 09 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 10-9.git48702e0
+- Upload glide files
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 10-8
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 32b36d9..5e9a170 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (go-systemd-48702e0.tar.gz) = 2ed041cacc9b296d3502c8f22e865f385094c26e8db0bc16f60c429c7b67ddd35aedd812af33e31293f86822672db788dd8762cb97148ca8da667f505e2f0f59
+SHA512 (go-systemd-48702e0da86bd25e76cfef347e2adeb434a0d0a6.tar.gz) = 2ed041cacc9b296d3502c8f22e865f385094c26e8db0bc16f60c429c7b67ddd35aedd812af33e31293f86822672db788dd8762cb97148ca8da667f505e2f0f59
commit d3b20fb2cc4af4ab937c27fcd472406fa53bd8bc
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 13:03:20 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-coreos-go-systemd.spec b/golang-github-coreos-go-systemd.spec
index ba5bfac..08eaf83 100644
--- a/golang-github-coreos-go-systemd.spec
+++ b/golang-github-coreos-go-systemd.spec
@@ -1,187 +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
-# Cyclic deps between coreos/pkg and coreos/go-systemd
-%global with_check 0
-# 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 coreos
-%global repo go-systemd
# https://github.com/coreos/go-systemd
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/coreos/go-systemd
+%global gobaseipath %{provider_prefix}
%global commit 48702e0da86bd25e76cfef347e2adeb434a0d0a6
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20161114
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 10
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Go bindings to systemd socket activation, journal and D-BUS APIs
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 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}
+BuildRequires: systemd-devel
+Requires: systemd-devel
+
BuildRequires: golang(github.com/godbus/dbus)
BuildRequires: golang(github.com/coreos/pkg/dlopen)
-%endif
-
-Requires: golang(github.com/godbus/dbus)
-Requires: golang(github.com/coreos/pkg/dlopen)
-
-Provides: golang(%{import_path}/activation) = %{version}-%{release}
-Provides: golang(%{import_path}/daemon) = %{version}-%{release}
-Provides: golang(%{import_path}/dbus) = %{version}-%{release}
-Provides: golang(%{import_path}/journal) = %{version}-%{release}
-Provides: golang(%{import_path}/login1) = %{version}-%{release}
-Provides: golang(%{import_path}/machine1) = %{version}-%{release}
-Provides: golang(%{import_path}/sdjournal) = %{version}-%{release}
-Provides: golang(%{import_path}/unit) = %{version}-%{release}
-Provides: golang(%{import_path}/util) = %{version}-%{release}
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{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
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall examples
%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
-
-# needs port binding
-#%gotest %{import_path}/activation
-# need /var/run/dbus/system_bus_socket
-#%gotest %{import_path}/dbus
-# need /var/run/dbus/system_bus_socket
-#%gotest %{import_path}/login1
-# dbus_test.go:28: dial unix /var/run/dbus/system_bus_socket: connect: no such file or directory
-#%gotest %{import_path}/machine1
-# FAIL: TestSerialize, incorrent output
-#%gotest %{import_path}/unit
-%endif
+# dial unix /var/run/dbus/system_bus_socket: connect: no such file or directory
+%gochecks %{gobaseipath}/{dbus,login1,machine1,sdjournal}
#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
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 10-8
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 10-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-coreos-go-systemd.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-coreos-go-systemd.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-coreos-go-systemd.g....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit a35c9770328585ed4fabade37a1e52542a3e29b3
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sat Jun 9 17:09:28 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index ff9cb02..6c86da2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go-systemd-48702e0.tar.gz
+/go-systemd-48702e0da86bd25e76cfef347e2adeb434a0d0a6.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..6e75ff7
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,10 @@
+hash: 4727dee27c124d992bcd42c768500d78d04b6bd7cc05c767bc628fbbe1ef0d04
+imports:
+- name: github.com/godbus/dbus
+ version: 850816941114ebdf6d68a20595de37db822a5e8a
+- name: github.com/coreos/pkg
+ subpackages:
+ - dlopen
+ version: 447b7ec906e523386d9c53be15b55a8ae86ea944
+updated: '2018-06-09T15:08:05.915807+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..6519b88
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,9 @@
+import:
+- package: github.com/godbus/dbus
+ version: 850816941114ebdf6d68a20595de37db822a5e8a
+- package: github.com/coreos/pkg
+ subpackages:
+ - dlopen
+ version: 447b7ec906e523386d9c53be15b55a8ae86ea944
+package: github.com/coreos/go-systemd
+
diff --git a/golang-github-coreos-go-systemd.spec b/golang-github-coreos-go-systemd.spec
index 08eaf83..be69779 100644
--- a/golang-github-coreos-go-systemd.spec
+++ b/golang-github-coreos-go-systemd.spec
@@ -1,18 +1,18 @@
-# https://github.com/coreos/go-systemd
-%global provider_prefix github.com/coreos/go-systemd
-%global gobaseipath %{provider_prefix}
+# http://github.com/coreos/go-systemd
+%global goipath github.com/coreos/go-systemd
%global commit 48702e0da86bd25e76cfef347e2adeb434a0d0a6
-%global commitdate 20161114
-%gocraftmeta -i
+%gometa -i
-Name: %{goname}
+Name: golang-github-coreos-go-systemd
Version: 10
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Go bindings to systemd socket activation, journal and D-BUS APIs
License: ASL 2.0
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.lock
+Source2: glide.yaml
%description
%{summary}
@@ -22,7 +22,6 @@ Summary: %{summary}
BuildArch: noarch
BuildRequires: systemd-devel
-Requires: systemd-devel
BuildRequires: golang(github.com/godbus/dbus)
BuildRequires: golang(github.com/coreos/pkg/dlopen)
@@ -32,17 +31,17 @@ BuildRequires: golang(github.com/coreos/pkg/dlopen)
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall examples
+%goinstall examples glide.lock glide.yaml
%check
-# dial unix /var/run/dbus/system_bus_socket: connect: no such file or directory
-%gochecks %{gobaseipath}/{dbus,login1,machine1,sdjournal}
+%gochecks -d dbus -d login1 -d machine1 -d sdjournal
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -52,6 +51,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Sat Jun 09 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 10-9.git48702e0
+- Upload glide files
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 10-8
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 32b36d9..5e9a170 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (go-systemd-48702e0.tar.gz) = 2ed041cacc9b296d3502c8f22e865f385094c26e8db0bc16f60c429c7b67ddd35aedd812af33e31293f86822672db788dd8762cb97148ca8da667f505e2f0f59
+SHA512 (go-systemd-48702e0da86bd25e76cfef347e2adeb434a0d0a6.tar.gz) = 2ed041cacc9b296d3502c8f22e865f385094c26e8db0bc16f60c429c7b67ddd35aedd812af33e31293f86822672db788dd8762cb97148ca8da667f505e2f0f59
commit d3b20fb2cc4af4ab937c27fcd472406fa53bd8bc
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 13:03:20 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-coreos-go-systemd.spec b/golang-github-coreos-go-systemd.spec
index ba5bfac..08eaf83 100644
--- a/golang-github-coreos-go-systemd.spec
+++ b/golang-github-coreos-go-systemd.spec
@@ -1,187 +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
-# Cyclic deps between coreos/pkg and coreos/go-systemd
-%global with_check 0
-# 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 coreos
-%global repo go-systemd
# https://github.com/coreos/go-systemd
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/coreos/go-systemd
+%global gobaseipath %{provider_prefix}
%global commit 48702e0da86bd25e76cfef347e2adeb434a0d0a6
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20161114
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 10
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Go bindings to systemd socket activation, journal and D-BUS APIs
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 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}
+BuildRequires: systemd-devel
+Requires: systemd-devel
+
BuildRequires: golang(github.com/godbus/dbus)
BuildRequires: golang(github.com/coreos/pkg/dlopen)
-%endif
-
-Requires: golang(github.com/godbus/dbus)
-Requires: golang(github.com/coreos/pkg/dlopen)
-
-Provides: golang(%{import_path}/activation) = %{version}-%{release}
-Provides: golang(%{import_path}/daemon) = %{version}-%{release}
-Provides: golang(%{import_path}/dbus) = %{version}-%{release}
-Provides: golang(%{import_path}/journal) = %{version}-%{release}
-Provides: golang(%{import_path}/login1) = %{version}-%{release}
-Provides: golang(%{import_path}/machine1) = %{version}-%{release}
-Provides: golang(%{import_path}/sdjournal) = %{version}-%{release}
-Provides: golang(%{import_path}/unit) = %{version}-%{release}
-Provides: golang(%{import_path}/util) = %{version}-%{release}
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{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
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall examples
%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
-
-# needs port binding
-#%gotest %{import_path}/activation
-# need /var/run/dbus/system_bus_socket
-#%gotest %{import_path}/dbus
-# need /var/run/dbus/system_bus_socket
-#%gotest %{import_path}/login1
-# dbus_test.go:28: dial unix /var/run/dbus/system_bus_socket: connect: no such file or directory
-#%gotest %{import_path}/machine1
-# FAIL: TestSerialize, incorrent output
-#%gotest %{import_path}/unit
-%endif
+# dial unix /var/run/dbus/system_bus_socket: connect: no such file or directory
+%gochecks %{gobaseipath}/{dbus,login1,machine1,sdjournal}
#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
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 10-8
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 10-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit e32848c655e24cac24eb5a15c08e5617885b1829
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:06:17 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-coreos-go-systemd.spec b/golang-github-coreos-go-systemd.spec
index d6ca7ff..ba5bfac 100644
--- a/golang-github-coreos-go-systemd.spec
+++ b/golang-github-coreos-go-systemd.spec
@@ -42,7 +42,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 10
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Go bindings to systemd socket activation, journal and D-BUS APIs
License: ASL 2.0
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> - 10-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 10-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-coreos-go-semver.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-coreos-go-semver.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-coreos-go-semver.gi....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit ee90b0b3f23c5ca3ef8e7af07fe6168366c46543
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sat Jun 9 17:02:48 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 417e3cc..0fffae2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go-semver-8ab6407.tar.gz
+/go-semver-8ab6407b697782a06568d4b7f1db25550ec2e4c6.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..c77c678
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: c659a4a0f4191cb58f3d28e54af9239571a9c2222e2bad64cf3f0a049e273c43
+imports: []
+updated: '2018-06-09T15:01:24.664708+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..cf82a4e
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/coreos/go-semver
+
diff --git a/golang-github-coreos-go-semver.spec b/golang-github-coreos-go-semver.spec
index 21fe10b..7315ddc 100644
--- a/golang-github-coreos-go-semver.spec
+++ b/golang-github-coreos-go-semver.spec
@@ -1,18 +1,18 @@
-# https://github.com/coreos/go-semver
-%global provider_prefix github.com/coreos/go-semver
-%global gobaseipath %{provider_prefix}
+# http://github.com/coreos/go-semver
+%global goipath github.com/coreos/go-semver
%global commit 8ab6407b697782a06568d4b7f1db25550ec2e4c6
-%global commitdate 20160714
-%gocraftmeta -i
+%gometa -i
-Name: %{goname}
+Name: golang-github-coreos-go-semver
Version: 0
-Release: 0.16.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.17%{?dist}
Summary: Go semantic versioning library
License: ASL 2.0
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.lock
+Source2: glide.yaml
%description
%{summary}
@@ -28,16 +28,17 @@ BuildRequires: golang(gopkg.in/yaml.v2)
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
-%gochecks %{gobaseipath}/semver
+%gochecks -d semver
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -47,6 +48,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Sat Jun 09 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.17.git8ab6407
+- Upload glide files
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.20160714git8ab6407
- Autogenerate some parts using the new macros
@@ -94,7 +98,7 @@ building other packages which use import path with
- update to latest master
* Wed Feb 04 2015 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 0-0.2.git6fe83cc
-- Own gobaseipath dir and not just gobaseipath/semver
+- Own goipath dir and not just goipath/semver
* Tue Dec 09 2014 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 0-0.1.git6fe83cc
- Resolves: rhbz#1174021 - Initial package
diff --git a/sources b/sources
index e4fed9a..4f4e7a3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (go-semver-8ab6407.tar.gz) = b49ecaf51a4707dbc290e52f604786f3cc89b0316df558d3b83d793423de0d69e2ead6c04ad5b4af222182daf75af3994901d9efe1672bdfb68d3010aa6d52be
+SHA512 (go-semver-8ab6407b697782a06568d4b7f1db25550ec2e4c6.tar.gz) = b49ecaf51a4707dbc290e52f604786f3cc89b0316df558d3b83d793423de0d69e2ead6c04ad5b4af222182daf75af3994901d9efe1672bdfb68d3010aa6d52be
commit d076d56c632ff531ae6e559a5674a1ea44603cc7
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 13:00:45 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-coreos-go-semver.spec b/golang-github-coreos-go-semver.spec
index 0d28b91..21fe10b 100644
--- a/golang-github-coreos-go-semver.spec
+++ b/golang-github-coreos-go-semver.spec
@@ -1,166 +1,55 @@
-# 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 coreos
-%global repo go-semver
# https://github.com/coreos/go-semver
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/coreos/go-semver
+%global gobaseipath %{provider_prefix}
%global commit 8ab6407b697782a06568d4b7f1db25550ec2e4c6
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160714
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.15.git%{shortcommit}%{?dist}
+Release: 0.16.%{commitdate}git%{shortcommit}%{?dist}
Summary: Go semantic versioning library
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 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}
-%endif
-
-
-Provides: golang(%{import_path}/semver) = %{version}-%{release}
+BuildRequires: golang(gopkg.in/yaml.v2)
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-BuildRequires: golang(gopkg.in/yaml.v2)
-%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
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}/semver
-%endif
+%gochecks %{gobaseipath}/semver
#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
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.20160714git8ab6407
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.15.git8ab6407
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -205,7 +94,7 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
- update to latest master
* Wed Feb 04 2015 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 0-0.2.git6fe83cc
-- Own import_path dir and not just import_path/semver
+- Own gobaseipath dir and not just gobaseipath/semver
* Tue Dec 09 2014 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 0-0.1.git6fe83cc
- Resolves: rhbz#1174021 - Initial package
5 years, 11 months
Architecture specific change in rpms/golang-github-coreos-go-semver.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-coreos-go-semver.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-coreos-go-semver.gi....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit ee90b0b3f23c5ca3ef8e7af07fe6168366c46543
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sat Jun 9 17:02:48 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 417e3cc..0fffae2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go-semver-8ab6407.tar.gz
+/go-semver-8ab6407b697782a06568d4b7f1db25550ec2e4c6.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..c77c678
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: c659a4a0f4191cb58f3d28e54af9239571a9c2222e2bad64cf3f0a049e273c43
+imports: []
+updated: '2018-06-09T15:01:24.664708+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..cf82a4e
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/coreos/go-semver
+
diff --git a/golang-github-coreos-go-semver.spec b/golang-github-coreos-go-semver.spec
index 21fe10b..7315ddc 100644
--- a/golang-github-coreos-go-semver.spec
+++ b/golang-github-coreos-go-semver.spec
@@ -1,18 +1,18 @@
-# https://github.com/coreos/go-semver
-%global provider_prefix github.com/coreos/go-semver
-%global gobaseipath %{provider_prefix}
+# http://github.com/coreos/go-semver
+%global goipath github.com/coreos/go-semver
%global commit 8ab6407b697782a06568d4b7f1db25550ec2e4c6
-%global commitdate 20160714
-%gocraftmeta -i
+%gometa -i
-Name: %{goname}
+Name: golang-github-coreos-go-semver
Version: 0
-Release: 0.16.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.17%{?dist}
Summary: Go semantic versioning library
License: ASL 2.0
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.lock
+Source2: glide.yaml
%description
%{summary}
@@ -28,16 +28,17 @@ BuildRequires: golang(gopkg.in/yaml.v2)
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
-%gochecks %{gobaseipath}/semver
+%gochecks -d semver
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -47,6 +48,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Sat Jun 09 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.17.git8ab6407
+- Upload glide files
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.20160714git8ab6407
- Autogenerate some parts using the new macros
@@ -94,7 +98,7 @@ building other packages which use import path with
- update to latest master
* Wed Feb 04 2015 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 0-0.2.git6fe83cc
-- Own gobaseipath dir and not just gobaseipath/semver
+- Own goipath dir and not just goipath/semver
* Tue Dec 09 2014 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 0-0.1.git6fe83cc
- Resolves: rhbz#1174021 - Initial package
diff --git a/sources b/sources
index e4fed9a..4f4e7a3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (go-semver-8ab6407.tar.gz) = b49ecaf51a4707dbc290e52f604786f3cc89b0316df558d3b83d793423de0d69e2ead6c04ad5b4af222182daf75af3994901d9efe1672bdfb68d3010aa6d52be
+SHA512 (go-semver-8ab6407b697782a06568d4b7f1db25550ec2e4c6.tar.gz) = b49ecaf51a4707dbc290e52f604786f3cc89b0316df558d3b83d793423de0d69e2ead6c04ad5b4af222182daf75af3994901d9efe1672bdfb68d3010aa6d52be
commit d076d56c632ff531ae6e559a5674a1ea44603cc7
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 13:00:45 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-coreos-go-semver.spec b/golang-github-coreos-go-semver.spec
index 0d28b91..21fe10b 100644
--- a/golang-github-coreos-go-semver.spec
+++ b/golang-github-coreos-go-semver.spec
@@ -1,166 +1,55 @@
-# 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 coreos
-%global repo go-semver
# https://github.com/coreos/go-semver
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/coreos/go-semver
+%global gobaseipath %{provider_prefix}
%global commit 8ab6407b697782a06568d4b7f1db25550ec2e4c6
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160714
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.15.git%{shortcommit}%{?dist}
+Release: 0.16.%{commitdate}git%{shortcommit}%{?dist}
Summary: Go semantic versioning library
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 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}
-%endif
-
-
-Provides: golang(%{import_path}/semver) = %{version}-%{release}
+BuildRequires: golang(gopkg.in/yaml.v2)
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-BuildRequires: golang(gopkg.in/yaml.v2)
-%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
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}/semver
-%endif
+%gochecks %{gobaseipath}/semver
#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
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.20160714git8ab6407
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.15.git8ab6407
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -205,7 +94,7 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
- update to latest master
* Wed Feb 04 2015 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 0-0.2.git6fe83cc
-- Own import_path dir and not just import_path/semver
+- Own gobaseipath dir and not just gobaseipath/semver
* Tue Dec 09 2014 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 0-0.1.git6fe83cc
- Resolves: rhbz#1174021 - Initial package
commit 9cf7593fc99c435a4a4ebf32e8d146d898271276
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:06:05 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-coreos-go-semver.spec b/golang-github-coreos-go-semver.spec
index 417d532..0d28b91 100644
--- a/golang-github-coreos-go-semver.spec
+++ b/golang-github-coreos-go-semver.spec
@@ -41,7 +41,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.14.git%{shortcommit}%{?dist}
+Release: 0.15.git%{shortcommit}%{?dist}
Summary: Go semantic versioning library
License: ASL 2.0
URL: https://%{provider_prefix}
@@ -161,6 +161,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.15.git8ab6407
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Fri Sep 22 2017 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.14.git8ab6407
- Bump to upstream 8ab6407b697782a06568d4b7f1db25550ec2e4c6
related: #1248718
5 years, 11 months
Architecture specific change in rpms/golang-github-coreos-go-oidc.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-coreos-go-oidc.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-coreos-go-oidc.git/....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 53d1fcd618384cd6392e70b43bdd546c6a48ea3d
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sat Jun 9 16:56:42 2018 +0200
Upload glide file
diff --git a/.gitignore b/.gitignore
index 69b9dad..c8138c4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go-oidc-ee7cb1f.tar.gz
+/go-oidc-ee7cb1fb480df22f7d8c4c90199e438e454ca3b6.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..baec712
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,13 @@
+hash: ae36ba46841c6492f2d592c70db05b3fbaa8774d97407ee25532c1f97200c5cb
+imports:
+- name: github.com/jonboulle/clockwork
+ version: 3f831b65b61282ba6bece21b91beea2edc4c887a
+- name: github.com/coreos/pkg
+ subpackages:
+ - httputil
+ - timeutil
+ - health
+ - capnslog
+ version: 7373797ee9cd9f7bcfa6a19632c2f66a1183ebb3
+updated: '2018-06-09T14:53:02.180659+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..504cb44
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,12 @@
+import:
+- package: github.com/jonboulle/clockwork
+ version: 3f831b65b61282ba6bece21b91beea2edc4c887a
+- package: github.com/coreos/pkg
+ subpackages:
+ - httputil
+ - timeutil
+ - health
+ - capnslog
+ version: 7373797ee9cd9f7bcfa6a19632c2f66a1183ebb3
+package: github.com/coreos/go-oidc
+
diff --git a/golang-github-coreos-go-oidc.spec b/golang-github-coreos-go-oidc.spec
index fcea5f1..2b86d9f 100644
--- a/golang-github-coreos-go-oidc.spec
+++ b/golang-github-coreos-go-oidc.spec
@@ -1,18 +1,18 @@
-# https://github.com/coreos/go-oidc
-%global provider_prefix github.com/coreos/go-oidc
-%global gobaseipath %{provider_prefix}
+# http://github.com/coreos/go-oidc
+%global goipath github.com/coreos/go-oidc
%global commit ee7cb1fb480df22f7d8c4c90199e438e454ca3b6
-%global commitdate 20150808
-%gocraftmeta -i
+%gometa -i
-Name: %{goname}
+Name: golang-github-coreos-go-oidc
Version: 0
-Release: 0.9.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.10%{?dist}
Summary: Go libraries for implementing OIDC clients and servers
License: ASL 2.0
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.lock
+Source2: glide.yaml
%description
%{summary}
@@ -31,16 +31,17 @@ BuildRequires: golang(github.com/jonboulle/clockwork)
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
-%gochecks %{gobaseipath}/http
+%gochecks -d http
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -50,6 +51,9 @@ building other packages which use import path with
%doc README.md CONTRIBUTING.md
%changelog
+* Sat Jun 09 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.gitee7cb1f
+- Upload glide file
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.20150808gitee7cb1f
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 60ae1fc..71253cc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1b44cb794744d6341c4aa0c582d6a1ca go-oidc-ee7cb1f.tar.gz
+SHA512 (go-oidc-ee7cb1fb480df22f7d8c4c90199e438e454ca3b6.tar.gz) = 1c44d73e6e3139889c8f36dd08187ecd9cfe379e79537c8eec69a622c578fe7d0dd035cb612f1fc782810112c88747f0e0ef87b82b9bba626ebbbc2d0f57b728
commit 821062810201064332407b4a152fa0676d4e4105
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 12:55:47 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-coreos-go-oidc.spec b/golang-github-coreos-go-oidc.spec
index e4f2da4..fcea5f1 100644
--- a/golang-github-coreos-go-oidc.spec
+++ b/golang-github-coreos-go-oidc.spec
@@ -1,169 +1,58 @@
-%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 coreos
-%global repo go-oidc
# https://github.com/coreos/go-oidc
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/coreos/go-oidc
+%global gobaseipath %{provider_prefix}
%global commit ee7cb1fb480df22f7d8c4c90199e438e454ca3b6
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150808
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.8.git%{shortcommit}%{?dist}
+Release: 0.9.%{commitdate}git%{shortcommit}%{?dist}
Summary: Go libraries for implementing OIDC clients and servers
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
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires: golang(github.com/coreos/pkg/capnslog)
BuildRequires: golang(github.com/coreos/pkg/health)
BuildRequires: golang(github.com/coreos/pkg/timeutil)
BuildRequires: golang(github.com/jonboulle/clockwork)
-%endif
-
-Requires: golang(github.com/coreos/pkg/capnslog)
-Requires: golang(github.com/coreos/pkg/health)
-Requires: golang(github.com/coreos/pkg/timeutil)
-Requires: golang(github.com/jonboulle/clockwork)
-
-Provides: golang(%{import_path}/http) = %{version}-%{release}
-Provides: golang(%{import_path}/jose) = %{version}-%{release}
-Provides: golang(%{import_path}/key) = %{version}-%{release}
-Provides: golang(%{import_path}/oauth2) = %{version}-%{release}
-Provides: golang(%{import_path}/oidc) = %{version}-%{release}
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{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
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}/http
-%gotest %{import_path}/jose
-%gotest %{import_path}/key
-%gotest %{import_path}/oauth2
-%gotest %{import_path}/oidc
-%endif
+%gochecks %{gobaseipath}/http
#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 CONTRIBUTING.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 CONTRIBUTING.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.20150808gitee7cb1f
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.8.gitee7cb1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-coreos-go-oidc.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-coreos-go-oidc.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-coreos-go-oidc.git/....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 53d1fcd618384cd6392e70b43bdd546c6a48ea3d
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sat Jun 9 16:56:42 2018 +0200
Upload glide file
diff --git a/.gitignore b/.gitignore
index 69b9dad..c8138c4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go-oidc-ee7cb1f.tar.gz
+/go-oidc-ee7cb1fb480df22f7d8c4c90199e438e454ca3b6.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..baec712
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,13 @@
+hash: ae36ba46841c6492f2d592c70db05b3fbaa8774d97407ee25532c1f97200c5cb
+imports:
+- name: github.com/jonboulle/clockwork
+ version: 3f831b65b61282ba6bece21b91beea2edc4c887a
+- name: github.com/coreos/pkg
+ subpackages:
+ - httputil
+ - timeutil
+ - health
+ - capnslog
+ version: 7373797ee9cd9f7bcfa6a19632c2f66a1183ebb3
+updated: '2018-06-09T14:53:02.180659+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..504cb44
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,12 @@
+import:
+- package: github.com/jonboulle/clockwork
+ version: 3f831b65b61282ba6bece21b91beea2edc4c887a
+- package: github.com/coreos/pkg
+ subpackages:
+ - httputil
+ - timeutil
+ - health
+ - capnslog
+ version: 7373797ee9cd9f7bcfa6a19632c2f66a1183ebb3
+package: github.com/coreos/go-oidc
+
diff --git a/golang-github-coreos-go-oidc.spec b/golang-github-coreos-go-oidc.spec
index fcea5f1..2b86d9f 100644
--- a/golang-github-coreos-go-oidc.spec
+++ b/golang-github-coreos-go-oidc.spec
@@ -1,18 +1,18 @@
-# https://github.com/coreos/go-oidc
-%global provider_prefix github.com/coreos/go-oidc
-%global gobaseipath %{provider_prefix}
+# http://github.com/coreos/go-oidc
+%global goipath github.com/coreos/go-oidc
%global commit ee7cb1fb480df22f7d8c4c90199e438e454ca3b6
-%global commitdate 20150808
-%gocraftmeta -i
+%gometa -i
-Name: %{goname}
+Name: golang-github-coreos-go-oidc
Version: 0
-Release: 0.9.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.10%{?dist}
Summary: Go libraries for implementing OIDC clients and servers
License: ASL 2.0
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.lock
+Source2: glide.yaml
%description
%{summary}
@@ -31,16 +31,17 @@ BuildRequires: golang(github.com/jonboulle/clockwork)
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
-%gochecks %{gobaseipath}/http
+%gochecks -d http
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -50,6 +51,9 @@ building other packages which use import path with
%doc README.md CONTRIBUTING.md
%changelog
+* Sat Jun 09 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.gitee7cb1f
+- Upload glide file
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.20150808gitee7cb1f
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 60ae1fc..71253cc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1b44cb794744d6341c4aa0c582d6a1ca go-oidc-ee7cb1f.tar.gz
+SHA512 (go-oidc-ee7cb1fb480df22f7d8c4c90199e438e454ca3b6.tar.gz) = 1c44d73e6e3139889c8f36dd08187ecd9cfe379e79537c8eec69a622c578fe7d0dd035cb612f1fc782810112c88747f0e0ef87b82b9bba626ebbbc2d0f57b728
commit 821062810201064332407b4a152fa0676d4e4105
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 12:55:47 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-coreos-go-oidc.spec b/golang-github-coreos-go-oidc.spec
index e4f2da4..fcea5f1 100644
--- a/golang-github-coreos-go-oidc.spec
+++ b/golang-github-coreos-go-oidc.spec
@@ -1,169 +1,58 @@
-%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 coreos
-%global repo go-oidc
# https://github.com/coreos/go-oidc
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/coreos/go-oidc
+%global gobaseipath %{provider_prefix}
%global commit ee7cb1fb480df22f7d8c4c90199e438e454ca3b6
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150808
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.8.git%{shortcommit}%{?dist}
+Release: 0.9.%{commitdate}git%{shortcommit}%{?dist}
Summary: Go libraries for implementing OIDC clients and servers
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
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires: golang(github.com/coreos/pkg/capnslog)
BuildRequires: golang(github.com/coreos/pkg/health)
BuildRequires: golang(github.com/coreos/pkg/timeutil)
BuildRequires: golang(github.com/jonboulle/clockwork)
-%endif
-
-Requires: golang(github.com/coreos/pkg/capnslog)
-Requires: golang(github.com/coreos/pkg/health)
-Requires: golang(github.com/coreos/pkg/timeutil)
-Requires: golang(github.com/jonboulle/clockwork)
-
-Provides: golang(%{import_path}/http) = %{version}-%{release}
-Provides: golang(%{import_path}/jose) = %{version}-%{release}
-Provides: golang(%{import_path}/key) = %{version}-%{release}
-Provides: golang(%{import_path}/oauth2) = %{version}-%{release}
-Provides: golang(%{import_path}/oidc) = %{version}-%{release}
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{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
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}/http
-%gotest %{import_path}/jose
-%gotest %{import_path}/key
-%gotest %{import_path}/oauth2
-%gotest %{import_path}/oidc
-%endif
+%gochecks %{gobaseipath}/http
#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 CONTRIBUTING.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 CONTRIBUTING.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.20150808gitee7cb1f
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.8.gitee7cb1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 95f8f9d0a6810d1ed6995360390b7be8f5436864
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:05:54 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-coreos-go-oidc.spec b/golang-github-coreos-go-oidc.spec
index d06292a..e4f2da4 100644
--- a/golang-github-coreos-go-oidc.spec
+++ b/golang-github-coreos-go-oidc.spec
@@ -30,7 +30,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.7.git%{shortcommit}%{?dist}
+Release: 0.8.git%{shortcommit}%{?dist}
Summary: Go libraries for implementing OIDC clients and servers
License: ASL 2.0
URL: https://%{provider_prefix}
@@ -164,6 +164,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.8.gitee7cb1f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.7.gitee7cb1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months