Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
List overview
Download
Arch-excludes
November 2018
----- 2024 -----
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
arch-excludes@lists.fedoraproject.org
2 participants
295 discussions
Start a n
N
ew thread
Architecture specific change in rpms/golang-github-chrismalek-oktasdk-go.git
by githook-noreply@fedoraproject.org
13 Nov '18
13 Nov '18
The package rpms/golang-github-chrismalek-oktasdk-go.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-chrismalek-oktasdk-go…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}} Thanks. Full change: ============ commit 4e666ebf295004eee21e16b0dd1d6a2e582acbbb Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Tue Nov 13 23:08:10 2018 +0100 Bump to commit c38de6febf6bc5d93004d830b0a8ad6a3423a725 Update to new Go packaging Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index 537ad20..81433e8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /oktasdk-go-ae553c9.tar.gz +/oktasdk-go-c38de6febf6bc5d93004d830b0a8ad6a3423a725.tar.gz diff --git a/golang-github-chrismalek-oktasdk-go.spec b/golang-github-chrismalek-oktasdk-go.spec index 60c1cde..78c43d2 100644 --- a/golang-github-chrismalek-oktasdk-go.spec +++ b/golang-github-chrismalek-oktasdk-go.spec @@ -1,186 +1,59 @@ -# 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 chrismalek -%global repo oktasdk-go #
https://github.com/chrismalek/oktasdk-go
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit ae553c909ca06a4c34eb41ee435e83871a7c2496 -%global commitdate 20170911 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global goipath
github.com/chrismalek/oktasdk-go
+%global commit c38de6febf6bc5d93004d830b0a8ad6a3423a725 -Name: golang-%{provider}-%{project}-%{repo} +%gometa + +Name: golang-github-chrismalek-oktasdk-go Version: 0 -Release: 0.3.%{commitdate}git%{shortcommit}%{?dist} -Summary: OKTA REST API Client for Go (Golang) +Release: 0.4%{?dist} +Summary: OKTA REST API Client for Go +# Detected licences +# - Expat License at 'LICENSE.txt' License: MIT -URL: https://%{provider_prefix} -Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz - -# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 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} +BuildRequires:
golang(github.com/google/go-querystring/query)
%description %{summary} -%if 0%{?with_devel} + %package devel Summary: %{summary} BuildArch: noarch -%if 0%{?with_check} && ! 0%{?with_bundled} -BuildRequires:
golang(github.com/google/go-querystring/query)
-%endif - -Requires:
golang(github.com/google/go-querystring/query)
- -Provides: golang(%{import_path}/okta) = %{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 +%{goipath} prefix. -%description unit-test-devel -%{summary} - -This package contains unit tests for project -providing packages with %{import_path} prefix. -%endif - %prep -%setup -q -n %{repo}-%{commit} - -%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 - -%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 +%forgeautosetup -export GOPATH=%{buildroot}/%{gopath}:%{gopath} -%endif -%if ! 0%{?gotest:1} -%global gotest go test -%endif +%install +%goinstall -%gotest %{import_path}/okta -%endif -#define license tag if not already defined -%{!?_licensedir:%global license %doc} +%check +%gochecks -%if 0%{?with_devel} %files devel -f devel.file-list %license LICENSE.txt %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.txt -%doc readme.md -%endif %changelog +* Mon Nov 12 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.4.20181113gitc38de6f +- Bump to commit c38de6febf6bc5d93004d830b0a8ad6a3423a725 +- Update to new Go packaging + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.20170911gitae553c9 - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources index 697aeb5..88a59ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (oktasdk-go-ae553c9.tar.gz) = e1e340415929464cb759999e9d2a11783bd02ea0b3bc030553d7cfc7324c2293ad3458c13f8047e069d26f8ff313c58a34fbf33264dc039064b1333eac8cb3a5 +SHA512 (oktasdk-go-c38de6febf6bc5d93004d830b0a8ad6a3423a725.tar.gz) = e6d19e86ae5449b427e0023ab1d174440ded70c5d8feb01f0223c392b2e3a5874f111e3331c06ada178547b92ab100d14691d132cf5274ef2965603912d0fe6d
1
0
0
0
Architecture specific change in rpms/golang-github-BurntSushi-xgbutil.git
by githook-noreply@fedoraproject.org
13 Nov '18
13 Nov '18
The package rpms/golang-github-BurntSushi-xgbutil.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-BurntSushi-xgbutil.gi…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} Thanks. Full change: ============ commit 23dffff16475cd4ba949a516532d11718f93f8d5 Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Tue Nov 13 21:11:07 2018 +0100 Update to new Go packaging Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index bfbb0e5..e4b6a7e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /xgbutil-f7c97ce.tar.gz +/xgbutil-f7c97cef3b4e6c88280a5a7091c3314e815ca243.tar.gz diff --git a/golang-github-BurntSushi-xgbutil.spec b/golang-github-BurntSushi-xgbutil.spec index ff30889..b4a6b33 100644 --- a/golang-github-BurntSushi-xgbutil.spec +++ b/golang-github-BurntSushi-xgbutil.spec @@ -1,102 +1,63 @@ -%global debug_package %{nil} - -%global provider github -%global provider_tld com -%global project BurntSushi -%global repo xgbutil #
https://github.com/BurntSushi/xgbutil
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit f7c97cef3b4e6c88280a5a7091c3314e815ca243 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global goipath
github.com/BurntSushi/xgbutil
+%global commit f7c97cef3b4e6c88280a5a7091c3314e815ca243 + +%gometa -Name: golang-%{provider}-%{project}-%{repo} +Name: golang-github-BurntSushi-xgbutil Version: 0 -Release: 0.3.git%{shortcommit}%{?dist} -Summary: XGB is the X protocol Go language Binding +Release: 0.4%{?dist} +Summary: A utility library to make use of the X Go Binding easier +# Detected licences +# - do What The Fuck you want to Public License (v2) at 'COPYING' License: WTFPL -URL: https://%{provider_prefix} -Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz +URL: %{gourl} +Source0: %{gosource} -# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} -# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. -BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} +BuildRequires:
golang(github.com/BurntSushi/freetype-go/freetype)
+BuildRequires:
golang(github.com/BurntSushi/freetype-go/freetype/truetype)
+BuildRequires:
golang(github.com/BurntSushi/graphics-go/graphics)
+BuildRequires:
golang(github.com/BurntSushi/xgb)
+BuildRequires:
golang(github.com/BurntSushi/xgb/shape)
+BuildRequires:
golang(github.com/BurntSushi/xgb/xinerama)
+BuildRequires:
golang(github.com/BurntSushi/xgb/xproto)
%description %{summary}. + %package devel -Summary: %{summary} -BuildArch: noarch -BuildRequires:
golang(github.com/BurntSushi/freetype-go/freetype)
-BuildRequires:
golang(github.com/BurntSushi/freetype-go/freetype/truetype)
-BuildRequires:
golang(github.com/BurntSushi/graphics-go/graphics)
-BuildRequires:
golang(github.com/BurntSushi/xgb)
-BuildRequires:
golang(github.com/BurntSushi/xgb/shape)
-BuildRequires:
golang(github.com/BurntSushi/xgb/xinerama)
-BuildRequires:
golang(github.com/BurntSushi/xgb/xproto)
-Requires:
golang(github.com/BurntSushi/freetype-go/freetype)
-Requires:
golang(github.com/BurntSushi/freetype-go/freetype/truetype)
-Requires:
golang(github.com/BurntSushi/graphics-go/graphics)
-Requires:
golang(github.com/BurntSushi/xgb)
-Requires:
golang(github.com/BurntSushi/xgb/shape)
-Requires:
golang(github.com/BurntSushi/xgb/xinerama)
-Requires:
golang(github.com/BurntSushi/xgb/xproto)
-Provides: golang(%{import_path}) = %{version}-%{release} -Provides: golang(%{import_path}/ewmh) = %{version}-%{release} -Provides: golang(%{import_path}/gopher) = %{version}-%{release} -Provides: golang(%{import_path}/icccm) = %{version}-%{release} -Provides: golang(%{import_path}/keybind) = %{version}-%{release} -Provides: golang(%{import_path}/motif) = %{version}-%{release} -Provides: golang(%{import_path}/mousebind) = %{version}-%{release} -Provides: golang(%{import_path}/xcursor) = %{version}-%{release} -Provides: golang(%{import_path}/xevent) = %{version}-%{release} -Provides: golang(%{import_path}/xgraphics) = %{version}-%{release} -Provides: golang(%{import_path}/xinerama) = %{version}-%{release} -Provides: golang(%{import_path}/xprop) = %{version}-%{release} -Provides: golang(%{import_path}/xrect) = %{version}-%{release} -Provides: golang(%{import_path}/xwindow) = %{version}-%{release} +Summary: %{summary} +BuildArch: noarch %description devel %{summary}. -xgbutil is a utility library designed to work with the X Go Binding. This -project's main goal is to make various X related tasks easier. For example, -binding keys, using the EWMH or ICCCM specs with the window manager, -moving/resizing windows, assigning function callbacks to particular events, -drawing images to a window, etc. - This package contains library source intended for building other packages which use import path with -%{import_path} prefix. +%{goipath} prefix. %prep -%setup -q -n %{repo}-%{commit} +%forgeautosetup -%build %install -# source codes for building projects -install -d -p %{buildroot}%{gopath}/src/%{import_path}/ -echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do - echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$(dirname $file) - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list -done - -sort -u -o devel.file-list devel.file-list +%goinstall + +%check +%gochecks + %files devel -f devel.file-list -%doc README %license COPYING -%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} +%doc README + %changelog +* Mon Nov 12 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.4.20181113gitf7c97ce +- Update to new Go packaging + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.gitf7c97ce - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
@@ -106,5 +67,5 @@ sort -u -o devel.file-list devel.file-list * Tue Aug 15 2017 mosquito <sensor.wen(a)gmail.com> - 0-0.1.gitf7c97ce - Add description -* Wed Dec 28 2016 Jaroslav <cz.guardian(a)gmail.com> Stepanek 0.0.1.gitf7c97ce +* Wed Dec 28 2016 Jaroslav <cz.guardian(a)gmail.com> Stepanek - 0.0.1.gitf7c97ce - Initial package build diff --git a/sources b/sources index 78daab0..b257a9b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xgbutil-f7c97ce.tar.gz) = 0e2e89093d074a002141ac51c6cd12a5b1a67cfe418475302b7a5d21676fd5cf0be929440574ce46a0a432eb8d92f079dffea4e028076a635c52f725afb14ea9 +SHA512 (xgbutil-f7c97cef3b4e6c88280a5a7091c3314e815ca243.tar.gz) = 0e2e89093d074a002141ac51c6cd12a5b1a67cfe418475302b7a5d21676fd5cf0be929440574ce46a0a432eb8d92f079dffea4e028076a635c52f725afb14ea9
1
0
0
0
Architecture specific change in rpms/golang-github-BurntSushi-xgbutil.git
by githook-noreply@fedoraproject.org
13 Nov '18
13 Nov '18
The package rpms/golang-github-BurntSushi-xgbutil.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-BurntSushi-xgbutil.gi…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} Thanks. Full change: ============ commit fff7ebaacf83b208c1db08bb31333d873118241f Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Tue Nov 13 21:11:07 2018 +0100 Update to new Go packaging Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index bfbb0e5..e4b6a7e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /xgbutil-f7c97ce.tar.gz +/xgbutil-f7c97cef3b4e6c88280a5a7091c3314e815ca243.tar.gz diff --git a/golang-github-BurntSushi-xgbutil.spec b/golang-github-BurntSushi-xgbutil.spec index ff30889..b4a6b33 100644 --- a/golang-github-BurntSushi-xgbutil.spec +++ b/golang-github-BurntSushi-xgbutil.spec @@ -1,102 +1,63 @@ -%global debug_package %{nil} - -%global provider github -%global provider_tld com -%global project BurntSushi -%global repo xgbutil #
https://github.com/BurntSushi/xgbutil
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit f7c97cef3b4e6c88280a5a7091c3314e815ca243 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global goipath
github.com/BurntSushi/xgbutil
+%global commit f7c97cef3b4e6c88280a5a7091c3314e815ca243 + +%gometa -Name: golang-%{provider}-%{project}-%{repo} +Name: golang-github-BurntSushi-xgbutil Version: 0 -Release: 0.3.git%{shortcommit}%{?dist} -Summary: XGB is the X protocol Go language Binding +Release: 0.4%{?dist} +Summary: A utility library to make use of the X Go Binding easier +# Detected licences +# - do What The Fuck you want to Public License (v2) at 'COPYING' License: WTFPL -URL: https://%{provider_prefix} -Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz +URL: %{gourl} +Source0: %{gosource} -# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} -# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. -BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} +BuildRequires:
golang(github.com/BurntSushi/freetype-go/freetype)
+BuildRequires:
golang(github.com/BurntSushi/freetype-go/freetype/truetype)
+BuildRequires:
golang(github.com/BurntSushi/graphics-go/graphics)
+BuildRequires:
golang(github.com/BurntSushi/xgb)
+BuildRequires:
golang(github.com/BurntSushi/xgb/shape)
+BuildRequires:
golang(github.com/BurntSushi/xgb/xinerama)
+BuildRequires:
golang(github.com/BurntSushi/xgb/xproto)
%description %{summary}. + %package devel -Summary: %{summary} -BuildArch: noarch -BuildRequires:
golang(github.com/BurntSushi/freetype-go/freetype)
-BuildRequires:
golang(github.com/BurntSushi/freetype-go/freetype/truetype)
-BuildRequires:
golang(github.com/BurntSushi/graphics-go/graphics)
-BuildRequires:
golang(github.com/BurntSushi/xgb)
-BuildRequires:
golang(github.com/BurntSushi/xgb/shape)
-BuildRequires:
golang(github.com/BurntSushi/xgb/xinerama)
-BuildRequires:
golang(github.com/BurntSushi/xgb/xproto)
-Requires:
golang(github.com/BurntSushi/freetype-go/freetype)
-Requires:
golang(github.com/BurntSushi/freetype-go/freetype/truetype)
-Requires:
golang(github.com/BurntSushi/graphics-go/graphics)
-Requires:
golang(github.com/BurntSushi/xgb)
-Requires:
golang(github.com/BurntSushi/xgb/shape)
-Requires:
golang(github.com/BurntSushi/xgb/xinerama)
-Requires:
golang(github.com/BurntSushi/xgb/xproto)
-Provides: golang(%{import_path}) = %{version}-%{release} -Provides: golang(%{import_path}/ewmh) = %{version}-%{release} -Provides: golang(%{import_path}/gopher) = %{version}-%{release} -Provides: golang(%{import_path}/icccm) = %{version}-%{release} -Provides: golang(%{import_path}/keybind) = %{version}-%{release} -Provides: golang(%{import_path}/motif) = %{version}-%{release} -Provides: golang(%{import_path}/mousebind) = %{version}-%{release} -Provides: golang(%{import_path}/xcursor) = %{version}-%{release} -Provides: golang(%{import_path}/xevent) = %{version}-%{release} -Provides: golang(%{import_path}/xgraphics) = %{version}-%{release} -Provides: golang(%{import_path}/xinerama) = %{version}-%{release} -Provides: golang(%{import_path}/xprop) = %{version}-%{release} -Provides: golang(%{import_path}/xrect) = %{version}-%{release} -Provides: golang(%{import_path}/xwindow) = %{version}-%{release} +Summary: %{summary} +BuildArch: noarch %description devel %{summary}. -xgbutil is a utility library designed to work with the X Go Binding. This -project's main goal is to make various X related tasks easier. For example, -binding keys, using the EWMH or ICCCM specs with the window manager, -moving/resizing windows, assigning function callbacks to particular events, -drawing images to a window, etc. - This package contains library source intended for building other packages which use import path with -%{import_path} prefix. +%{goipath} prefix. %prep -%setup -q -n %{repo}-%{commit} +%forgeautosetup -%build %install -# source codes for building projects -install -d -p %{buildroot}%{gopath}/src/%{import_path}/ -echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do - echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$(dirname $file) - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list -done - -sort -u -o devel.file-list devel.file-list +%goinstall + +%check +%gochecks + %files devel -f devel.file-list -%doc README %license COPYING -%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} +%doc README + %changelog +* Mon Nov 12 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.4.20181113gitf7c97ce +- Update to new Go packaging + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.gitf7c97ce - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
@@ -106,5 +67,5 @@ sort -u -o devel.file-list devel.file-list * Tue Aug 15 2017 mosquito <sensor.wen(a)gmail.com> - 0-0.1.gitf7c97ce - Add description -* Wed Dec 28 2016 Jaroslav <cz.guardian(a)gmail.com> Stepanek 0.0.1.gitf7c97ce +* Wed Dec 28 2016 Jaroslav <cz.guardian(a)gmail.com> Stepanek - 0.0.1.gitf7c97ce - Initial package build diff --git a/sources b/sources index 78daab0..b257a9b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xgbutil-f7c97ce.tar.gz) = 0e2e89093d074a002141ac51c6cd12a5b1a67cfe418475302b7a5d21676fd5cf0be929440574ce46a0a432eb8d92f079dffea4e028076a635c52f725afb14ea9 +SHA512 (xgbutil-f7c97cef3b4e6c88280a5a7091c3314e815ca243.tar.gz) = 0e2e89093d074a002141ac51c6cd12a5b1a67cfe418475302b7a5d21676fd5cf0be929440574ce46a0a432eb8d92f079dffea4e028076a635c52f725afb14ea9
1
0
0
0
Architecture specific change in rpms/kio-extras.git
by githook-noreply@fedoraproject.org
13 Nov '18
13 Nov '18
The package rpms/kio-extras.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/kio-extras.git/commit/?id=1b66c4c48…
. Change: -%ifarch %{qt5_qtwebengine_arches} Thanks. Full change: ============ commit 1b66c4c48b161d21fd00b04f3932d995e29866e4 Author: Rex Dieter <rdieter(a)gmail.com> Date: Tue Nov 13 14:10:52 2018 -0600 18.08.3 drop -htmlthumbnail: CVE-2018-19120 kio-extras: HTML Thumbnailer automatic remote file access (#1649421) diff --git a/.gitignore b/.gitignore index 89744e6..d76b06e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1 @@ -/kio-extras-17.12.3.tar.xz -/kio-extras-18.04.0.tar.xz -/kio-extras-18.04.1.tar.xz -/kio-extras-18.04.2.tar.xz -/kio-extras-18.04.3.tar.xz -/kio-extras-18.08.1.tar.xz -/kio-extras-18.08.2.tar.xz +/kio-extras-18.08.3.tar.xz diff --git a/0001-Avoid-crash-by-not-checking-free-space-for-smb.patch b/0001-Avoid-crash-by-not-checking-free-space-for-smb.patch deleted file mode 100644 index 3b674f2..0000000 --- a/0001-Avoid-crash-by-not-checking-free-space-for-smb.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 767415da97a7fae3c5578b9a4fb17a7be041d8ae Mon Sep 17 00:00:00 2001 -From: Kai Uwe Broulik <kde(a)privat.broulik.de> -Date: Fri, 31 Aug 2018 09:17:17 +0200 -Subject: [PATCH] Avoid crash by not checking free space for smb:// - -This isn't a real location but the overview of all found hosts. -smbc_opendir would succeed but then crash in smbc_fstatvfs - -Differential Revision:
https://phabricator.kde.org/D15142
- -(cherry picked from commit 000b1d910b71b491621c7cdbd934c277171c20bf) ---- - smb/kio_smb_browse.cpp | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/smb/kio_smb_browse.cpp b/smb/kio_smb_browse.cpp -index 47b2b328..1fa0e6fb 100644 ---- a/smb/kio_smb_browse.cpp -+++ b/smb/kio_smb_browse.cpp -@@ -492,6 +492,14 @@ void SMBSlave::fileSystemFreeSpace(const QUrl& url) - { - qCDebug(KIO_SMB) << url; - -+ // Avoid crashing in smbc_fstatvfs below when -+ // requesting free space for smb:// which doesn't -+ // make sense to do to begin with -+ if (url.host().isEmpty()) { -+ error(KIO::ERR_COULD_NOT_STAT, url.url()); -+ return; -+ } -+ - SMBUrl smbcUrl = url; - int handle = smbc_opendir(smbcUrl.toSmbcUrl()); - if (handle < 0) { --- -2.17.2 - diff --git a/kio-extras-17.12.0-nfs-libtirpc.patch b/kio-extras-17.12.0-nfs-libtirpc.patch deleted file mode 100644 index 55b6d05..0000000 --- a/kio-extras-17.12.0-nfs-libtirpc.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff -ur kio-extras-17.12.0/CMakeLists.txt kio-extras-17.12.0-nfs-libtirpc/CMakeLists.txt ---- kio-extras-17.12.0/CMakeLists.txt 2017-12-08 02:00:30.000000000 +0100 -+++ kio-extras-17.12.0-nfs-libtirpc/CMakeLists.txt 2018-01-10 19:56:58.179385571 +0100 -@@ -177,9 +177,11 @@ - if(Gperf_FOUND AND KF5KHtml_FOUND) - add_subdirectory( man ) - endif() -- check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) -- add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") -- if(HAVE_RPC_RPC_H) -+ pkg_check_modules(TIRPC libtirpc) -+ include_directories(${TIRPC_INCLUDE_DIRS}) -+ set(CMAKE_REQUIRED_LIBRARIES ${TIRPC_LIBRARIES}) -+ add_feature_info("NFS kioslave" TIRPC_FOUND "The RPC library is needed to build the NFS kioslave") -+ if(TIRPC_FOUND) - add_subdirectory( nfs ) - endif() - endif() -diff -ur kio-extras-17.12.0/nfs/CMakeLists.txt kio-extras-17.12.0-nfs-libtirpc/nfs/CMakeLists.txt ---- kio-extras-17.12.0/nfs/CMakeLists.txt 2017-12-05 00:08:51.000000000 +0100 -+++ kio-extras-17.12.0-nfs-libtirpc/nfs/CMakeLists.txt 2018-01-10 19:56:58.179385571 +0100 -@@ -10,6 +10,7 @@ - message(FATAL_ERROR "Could not find 64-bit XDR datatype functions!") - endif (NOT HAVE_XDR_U_INT64_T AND NOT HAVE_XDR_UINT64_T AND NOT HAVE_XDR_U_HYPER AND NOT HAVE_XDR_U_LONGLONG_T) - -+add_definitions(-D_DEFAULT_SOURCE) - if (HAVE_XDR_U_INT64_T) - add_definitions(-DHAVE_XDR_U_INT64_T) - endif (HAVE_XDR_U_INT64_T) -@@ -26,7 +27,7 @@ - add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\") - - add_library(kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c) --target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network) -+target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network ${TIRPC_LIBRARIES}) - set_target_properties(kio_nfs PROPERTIES OUTPUT_NAME "nfs") - - install(TARGETS kio_nfs DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kio) diff --git a/kio-extras.spec b/kio-extras.spec index 3728e2b..8806057 100644 --- a/kio-extras.spec +++ b/kio-extras.spec @@ -7,8 +7,8 @@ %endif Name: kio-extras -Version: 18.08.2 -Release: 2%{?dist} +Version: 18.08.3 +Release: 1%{?dist} Summary: Additional components to increase the functionality of KIO Framework License: GPLv2+ @@ -70,13 +70,6 @@ BuildRequires: pkgconfig(shared-mime-info) BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtsvg-devel BuildRequires: taglib-devel > 1.11 -%if 0%{?fedora} > 24 -# work around possibly missing macro -%{!?qt5_qtwebengine_arches:%global qt5_qtwebengine_arches %{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el} -%ifarch %{qt5_qtwebengine_arches} -%global htmlthumbnail 1 -%endif -%endif %if 0%{?tests} BuildRequires: dbus-x11 @@ -97,21 +90,15 @@ Obsoletes: kio-extras-doc < 5.8.0-2 Obsoletes: kio-extras-docs < 17.03 Provides: kio-extras-docs = %{version}-%{release} +# -htmlthumbnail removed +Obsoletes: kio-extras-htmlthumbnail < 18.08.3 + # helpful for imagethumbnail plugin Recommends: qt5-qtimageformats %{?_isa} %description %{summary}. -%if 0%{?htmlthumbnail} -%package htmlthumbnail -Summary: KIO HTML thumbnailer -BuildRequires: qt5-qtwebengine-devel >= 5.7 -Requires: %{name}%{?_isa} = %{version}-%{release} -%description htmlthumbnail -%{summary}. -%endif - %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} @@ -210,11 +197,6 @@ time make test -C %{_target_platform} ARGS="--output-on-failure --timeout 10" || %{_datadir}/mime/packages/kf5_network.xml %{_datadir}/config.kcfg/jpegcreatorsettings5.kcfg -%if 0%{?htmlthumbnail} -%files htmlthumbnail -%{_kf5_qtplugindir}/htmlthumbnail.so -%endif - %files devel %{_kf5_includedir}/*.h # no soname symlink? --rex @@ -226,6 +208,10 @@ time make test -C %{_target_platform} ARGS="--output-on-failure --timeout 10" || %changelog +* Tue Nov 13 2018 Rex Dieter <rdieter(a)fedoraproject.org> - 18.08.3-1 +- 18.08.3 +- drop -htmlthumbnail: CVE-2018-19120 kio-extras: HTML Thumbnailer automatic remote file access (#1649421) + * Wed Oct 17 2018 Rex Dieter <rdieter(a)fedoraproject.org> - 18.08.2-2 - pull in upstream crash fix, use %%make_build diff --git a/sources b/sources index fe54fe8..2b829f6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (kio-extras-18.08.2.tar.xz) = da2f9f573f993a49fc54efba25c653614b3505cf727205eca360298f88b783505171168931193080bc5e50f5a9e8609b90f5a9a734894e087cd8ed5805f3d905 +SHA512 (kio-extras-18.08.3.tar.xz) = f79ab19abedd47baeffea4b1e99acc21611c9d435f0de14751594c97c373eaa493da07fd5d754b1f62f696e4f445b493861566845794d6d32e63e0354189d726
1
0
0
0
Architecture specific change in rpms/golang-github-BurntSushi-xgb.git
by githook-noreply@fedoraproject.org
13 Nov '18
13 Nov '18
The package rpms/golang-github-BurntSushi-xgb.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-BurntSushi-xgb.git/co…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} Thanks. Full change: ============ commit 268902f062f5f852a64364846de1b60d3b4ff640 Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Tue Nov 13 20:39:01 2018 +0100 Update to new Go packaging Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index ad49798..32b6c7d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /xgb-27f1227.tar.gz +/xgb-27f122750802c950b2c869a5b63dafcf590ced95.tar.gz diff --git a/golang-github-BurntSushi-xgb.spec b/golang-github-BurntSushi-xgb.spec index 8983baa..6f82348 100644 --- a/golang-github-BurntSushi-xgb.spec +++ b/golang-github-BurntSushi-xgb.spec @@ -1,134 +1,56 @@ -%global debug_package %{nil} - -%global provider github -%global provider_tld com -%global project BurntSushi -%global repo xgb #
https://github.com/BurntSushi/xgb
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 27f122750802c950b2c869a5b63dafcf590ced95 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global goipath
github.com/BurntSushi/xgb
+%global commit 27f122750802c950b2c869a5b63dafcf590ced95 + +%gometa -Name: golang-%{provider}-%{project}-%{repo} +Name: golang-github-BurntSushi-xgb Version: 0 -Release: 0.3.git%{shortcommit}%{?dist} -Summary: XGB is the X protocol Go language Binding +Release: 0.4%{?dist} +Summary: A low-level API to communicate with the X server in Go +# Detected licences +# - BSD 3-clause "New" or "Revised" License at 'LICENSE' License: BSD -URL: https://%{provider_prefix} -Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz - -# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} -# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. -BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} +URL: %{gourl} +Source0: %{gosource} %description -%{summary}. +%{summary} + %package devel -Summary: %{summary} -BuildArch: noarch -Provides: golang(%{import_path}) = %{version}-%{release} -Provides: golang(%{import_path}/bigreq) = %{version}-%{release} -Provides: golang(%{import_path}/composite) = %{version}-%{release} -Provides: golang(%{import_path}/damage) = %{version}-%{release} -Provides: golang(%{import_path}/dpms) = %{version}-%{release} -Provides: golang(%{import_path}/dri2) = %{version}-%{release} -Provides: golang(%{import_path}/ge) = %{version}-%{release} -Provides: golang(%{import_path}/glx) = %{version}-%{release} -Provides: golang(%{import_path}/randr) = %{version}-%{release} -Provides: golang(%{import_path}/record) = %{version}-%{release} -Provides: golang(%{import_path}/render) = %{version}-%{release} -Provides: golang(%{import_path}/res) = %{version}-%{release} -Provides: golang(%{import_path}/screensaver) = %{version}-%{release} -Provides: golang(%{import_path}/shape) = %{version}-%{release} -Provides: golang(%{import_path}/shm) = %{version}-%{release} -Provides: golang(%{import_path}/xcmisc) = %{version}-%{release} -Provides: golang(%{import_path}/xevie) = %{version}-%{release} -Provides: golang(%{import_path}/xf86dri) = %{version}-%{release} -Provides: golang(%{import_path}/xf86vidmode) = %{version}-%{release} -Provides: golang(%{import_path}/xfixes) = %{version}-%{release} -Provides: golang(%{import_path}/xinerama) = %{version}-%{release} -Provides: golang(%{import_path}/xprint) = %{version}-%{release} -Provides: golang(%{import_path}/xproto) = %{version}-%{release} -Provides: golang(%{import_path}/xselinux) = %{version}-%{release} -Provides: golang(%{import_path}/xtest) = %{version}-%{release} -Provides: golang(%{import_path}/xv) = %{version}-%{release} -Provides: golang(%{import_path}/xvmc) = %{version}-%{release} +Summary: %{summary} +BuildArch: noarch %description devel -%{summary}. +%{summary} This package contains library source intended for building other packages which use import path with -%{import_path} prefix. - -%package unit-test-devel -Summary: Unit tests for %{name} package -BuildArch: noarch -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} - -%description unit-test-devel -%{summary}. - -This package contains unit tests for project -providing packages with %{import_path} prefix. +%{goipath} prefix. %prep -%setup -q -n %{repo}-%{commit} -find -type f -exec chmod 644 {} ';' +%forgeautosetup -%build %install -# source codes for building projects -install -d -p %{buildroot}%{gopath}/src/%{import_path}/ -echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do - echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$(dirname $file) - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list -done - -# testing files for this project -install -d -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 - dirprefix=$(dirname $file) - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$dirprefix - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list - while [ "$dirprefix" != "." ]; do - echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list - dirprefix=$(dirname $dirprefix) - done -done - -sort -u -o devel.file-list devel.file-list +%goinstall -%check -export GOPATH=%{buildroot}%{gopath}:%{gopath} -%if ! 0%{?gotest:1} -%global gotest go test -%endif +%check +%gochecks -d xproto -# we're in a chroot and do not have access to the display -#%%gotest %%{import_path}/xproto %files devel -f devel.file-list -%doc README %license LICENSE -%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} +%doc README CONTRIBUTORS AUTHORS -%files unit-test-devel -f unit-test-devel.file-list %changelog +* Mon Nov 12 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.4.20181113git27f1227 +- Update to new Go packaging + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.git27f1227 - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources index 45cff9c..3213a5c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xgb-27f1227.tar.gz) = 889ff39e4e5614faf7ef49a9fbae3efdd0dd9232b8652c34f621208b4d136ff76864ceb61e2b6cb3796fbf51309b0c74e50e7f2444927e0e99072c65c4892cd5 +SHA512 (xgb-27f122750802c950b2c869a5b63dafcf590ced95.tar.gz) = 889ff39e4e5614faf7ef49a9fbae3efdd0dd9232b8652c34f621208b4d136ff76864ceb61e2b6cb3796fbf51309b0c74e50e7f2444927e0e99072c65c4892cd5
1
0
0
0
Architecture specific change in rpms/golang-github-BurntSushi-xgb.git
by githook-noreply@fedoraproject.org
13 Nov '18
13 Nov '18
The package rpms/golang-github-BurntSushi-xgb.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-BurntSushi-xgb.git/co…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} Thanks. Full change: ============ commit 5a0333cb09cd6ae326afe4ea18f71eba0ff182f5 Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Tue Nov 13 20:39:01 2018 +0100 Update to new Go packaging Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index ad49798..32b6c7d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /xgb-27f1227.tar.gz +/xgb-27f122750802c950b2c869a5b63dafcf590ced95.tar.gz diff --git a/golang-github-BurntSushi-xgb.spec b/golang-github-BurntSushi-xgb.spec index 8983baa..6f82348 100644 --- a/golang-github-BurntSushi-xgb.spec +++ b/golang-github-BurntSushi-xgb.spec @@ -1,134 +1,56 @@ -%global debug_package %{nil} - -%global provider github -%global provider_tld com -%global project BurntSushi -%global repo xgb #
https://github.com/BurntSushi/xgb
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 27f122750802c950b2c869a5b63dafcf590ced95 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global goipath
github.com/BurntSushi/xgb
+%global commit 27f122750802c950b2c869a5b63dafcf590ced95 + +%gometa -Name: golang-%{provider}-%{project}-%{repo} +Name: golang-github-BurntSushi-xgb Version: 0 -Release: 0.3.git%{shortcommit}%{?dist} -Summary: XGB is the X protocol Go language Binding +Release: 0.4%{?dist} +Summary: A low-level API to communicate with the X server in Go +# Detected licences +# - BSD 3-clause "New" or "Revised" License at 'LICENSE' License: BSD -URL: https://%{provider_prefix} -Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz - -# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} -# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. -BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} +URL: %{gourl} +Source0: %{gosource} %description -%{summary}. +%{summary} + %package devel -Summary: %{summary} -BuildArch: noarch -Provides: golang(%{import_path}) = %{version}-%{release} -Provides: golang(%{import_path}/bigreq) = %{version}-%{release} -Provides: golang(%{import_path}/composite) = %{version}-%{release} -Provides: golang(%{import_path}/damage) = %{version}-%{release} -Provides: golang(%{import_path}/dpms) = %{version}-%{release} -Provides: golang(%{import_path}/dri2) = %{version}-%{release} -Provides: golang(%{import_path}/ge) = %{version}-%{release} -Provides: golang(%{import_path}/glx) = %{version}-%{release} -Provides: golang(%{import_path}/randr) = %{version}-%{release} -Provides: golang(%{import_path}/record) = %{version}-%{release} -Provides: golang(%{import_path}/render) = %{version}-%{release} -Provides: golang(%{import_path}/res) = %{version}-%{release} -Provides: golang(%{import_path}/screensaver) = %{version}-%{release} -Provides: golang(%{import_path}/shape) = %{version}-%{release} -Provides: golang(%{import_path}/shm) = %{version}-%{release} -Provides: golang(%{import_path}/xcmisc) = %{version}-%{release} -Provides: golang(%{import_path}/xevie) = %{version}-%{release} -Provides: golang(%{import_path}/xf86dri) = %{version}-%{release} -Provides: golang(%{import_path}/xf86vidmode) = %{version}-%{release} -Provides: golang(%{import_path}/xfixes) = %{version}-%{release} -Provides: golang(%{import_path}/xinerama) = %{version}-%{release} -Provides: golang(%{import_path}/xprint) = %{version}-%{release} -Provides: golang(%{import_path}/xproto) = %{version}-%{release} -Provides: golang(%{import_path}/xselinux) = %{version}-%{release} -Provides: golang(%{import_path}/xtest) = %{version}-%{release} -Provides: golang(%{import_path}/xv) = %{version}-%{release} -Provides: golang(%{import_path}/xvmc) = %{version}-%{release} +Summary: %{summary} +BuildArch: noarch %description devel -%{summary}. +%{summary} This package contains library source intended for building other packages which use import path with -%{import_path} prefix. - -%package unit-test-devel -Summary: Unit tests for %{name} package -BuildArch: noarch -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} - -%description unit-test-devel -%{summary}. - -This package contains unit tests for project -providing packages with %{import_path} prefix. +%{goipath} prefix. %prep -%setup -q -n %{repo}-%{commit} -find -type f -exec chmod 644 {} ';' +%forgeautosetup -%build %install -# source codes for building projects -install -d -p %{buildroot}%{gopath}/src/%{import_path}/ -echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do - echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$(dirname $file) - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list -done - -# testing files for this project -install -d -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 - dirprefix=$(dirname $file) - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$dirprefix - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list - while [ "$dirprefix" != "." ]; do - echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list - dirprefix=$(dirname $dirprefix) - done -done - -sort -u -o devel.file-list devel.file-list +%goinstall -%check -export GOPATH=%{buildroot}%{gopath}:%{gopath} -%if ! 0%{?gotest:1} -%global gotest go test -%endif +%check +%gochecks -d xproto -# we're in a chroot and do not have access to the display -#%%gotest %%{import_path}/xproto %files devel -f devel.file-list -%doc README %license LICENSE -%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} +%doc README CONTRIBUTORS AUTHORS -%files unit-test-devel -f unit-test-devel.file-list %changelog +* Mon Nov 12 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.4.20181113git27f1227 +- Update to new Go packaging + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.git27f1227 - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources index 45cff9c..3213a5c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xgb-27f1227.tar.gz) = 889ff39e4e5614faf7ef49a9fbae3efdd0dd9232b8652c34f621208b4d136ff76864ceb61e2b6cb3796fbf51309b0c74e50e7f2444927e0e99072c65c4892cd5 +SHA512 (xgb-27f122750802c950b2c869a5b63dafcf590ced95.tar.gz) = 889ff39e4e5614faf7ef49a9fbae3efdd0dd9232b8652c34f621208b4d136ff76864ceb61e2b6cb3796fbf51309b0c74e50e7f2444927e0e99072c65c4892cd5
1
0
0
0
Architecture specific change in rpms/golang-github-BurntSushi-graphics-go.git
by githook-noreply@fedoraproject.org
13 Nov '18
13 Nov '18
The package rpms/golang-github-BurntSushi-graphics-go.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-BurntSushi-graphics-g…
. Change: +%ifnarch s390x ppc64le aarch64 Thanks. Full change: ============ commit be1191a1de5f36cee4ff415f1ac60ee604d18f5a Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Tue Nov 13 19:38:27 2018 +0100 Update to new Go packaging Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index 5310137..480c523 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /graphics-go-b43f31a.tar.gz +/graphics-go-b43f31a4a96688fba0b612e25e22648b9267e498.tar.gz diff --git a/golang-github-BurntSushi-graphics-go.spec b/golang-github-BurntSushi-graphics-go.spec index 11c26d3..7ce25aa 100644 --- a/golang-github-BurntSushi-graphics-go.spec +++ b/golang-github-BurntSushi-graphics-go.spec @@ -1,116 +1,60 @@ -%global debug_package %{nil} - -%global provider github -%global provider_tld com -%global project BurntSushi -%global repo graphics-go #
https://github.com/BurntSushi/graphics-go
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit b43f31a4a96688fba0b612e25e22648b9267e498 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global goipath
github.com/BurntSushi/graphics-go
+%global commit b43f31a4a96688fba0b612e25e22648b9267e498 + +%gometa -Name: golang-%{provider}-%{project}-%{repo} +Name: golang-github-BurntSushi-graphics-go Version: 0 -Release: 0.4.git%{shortcommit}%{?dist} +Release: 0.5%{?dist} Summary: Graphics library for the Go programming language +# Detected licences +# - BSD 3-clause "New" or "Revised" License at 'LICENSE' License: BSD -URL: https://%{provider_prefix} -Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz - -# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} -# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. -BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} +URL: %{gourl} +Source0: %{gosource} %description -%{summary}. +%{summary} + %package devel -Summary: %{summary} -BuildArch: noarch -Provides: golang(%{import_path}/graphics) = %{version}-%{release} -Provides: golang(%{import_path}/graphics/convolve) = %{version}-%{release} -Provides: golang(%{import_path}/graphics/detect) = %{version}-%{release} -Provides: golang(%{import_path}/graphics/graphicstest) = %{version}-%{release} -Provides: golang(%{import_path}/graphics/interp) = %{version}-%{release} +Summary: %{summary} +BuildArch: noarch %description devel -%{summary}. +%{summary} This package contains library source intended for building other packages which use import path with -%{import_path} prefix. - -%package unit-test-devel -Summary: Unit tests for %{name} package -BuildArch: noarch -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} - -%description unit-test-devel -%{summary}. - -This package contains unit tests for project -providing packages with %{import_path} prefix. +%{goipath} prefix. %prep -%setup -q -n %{repo}-%{commit} +%forgeautosetup -%build %install -# source codes for building projects -install -d -p %{buildroot}%{gopath}/src/%{import_path}/ -echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do - echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$(dirname $file) - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list -done - -# testing files for this project -install -d %{buildroot}%{gopath}/src/%{import_path}/ -# find all *_test.go files and generate unit-test.file-list -for file in $(find . -iname "*_test.go" -or -iname "testdata"); do - dirprefix=$(dirname $file) - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$dirprefix - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list - while [ "$dirprefix" != "." ]; do - echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list - dirprefix=$(dirname $dirprefix) - done -done - -sort -u -o devel.file-list devel.file-list -sort -u -o unit-test-devel.file-list unit-test-devel.file-list +files=$(find . -name "testdata" -type d) +%goinstall $files -%check -export GOPATH=%{buildroot}%{gopath}:%{gopath} -%if ! 0%{?gotest:1} -%global gotest go test +%check +# Fail on some arches +%ifnarch s390x ppc64le aarch64 +%gochecks %endif -%gotest %{import_path}/graphics ||: -%gotest %{import_path}/graphics/convolve ||: -%gotest %{import_path}/graphics/detect ||: -%gotest %{import_path}/graphics/graphicstest ||: -%gotest %{import_path}/graphics/interp ||: %files devel -f devel.file-list -%doc README %license LICENSE -%dir %{gopath}/src/github.com/BurntSushi/ -%dir %{gopath}/src/%{import_path} +%doc README CONTRIBUTORS AUTHORS -%files unit-test-devel -f unit-test-devel.file-list %changelog +* Mon Nov 12 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.5.20181113gitb43f31a +- Update to new Go packaging + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.4.gitb43f31a - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources index 5663e54..d7db96d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (graphics-go-b43f31a.tar.gz) = 8476eaa8e63b740ba48fb923e2f977810c7eb734e15bc6b34806618623dc14b35877e42981f1d7883034cb9f4f45d42b25ba3c84e1f9396b53bb328efcec897b +SHA512 (graphics-go-b43f31a4a96688fba0b612e25e22648b9267e498.tar.gz) = 8476eaa8e63b740ba48fb923e2f977810c7eb734e15bc6b34806618623dc14b35877e42981f1d7883034cb9f4f45d42b25ba3c84e1f9396b53bb328efcec897b
1
0
0
0
Architecture specific change in rpms/golang-github-BurntSushi-graphics-go.git
by githook-noreply@fedoraproject.org
13 Nov '18
13 Nov '18
The package rpms/golang-github-BurntSushi-graphics-go.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-BurntSushi-graphics-g…
. Change: +%ifnarch s390x ppc64le aarch64 Thanks. Full change: ============ commit 80caf28686520c4ceaa2e5b08b6baea3b9b1c82d Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Tue Nov 13 19:38:27 2018 +0100 Update to new Go packaging Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index 5310137..480c523 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /graphics-go-b43f31a.tar.gz +/graphics-go-b43f31a4a96688fba0b612e25e22648b9267e498.tar.gz diff --git a/golang-github-BurntSushi-graphics-go.spec b/golang-github-BurntSushi-graphics-go.spec index 11c26d3..7ce25aa 100644 --- a/golang-github-BurntSushi-graphics-go.spec +++ b/golang-github-BurntSushi-graphics-go.spec @@ -1,116 +1,60 @@ -%global debug_package %{nil} - -%global provider github -%global provider_tld com -%global project BurntSushi -%global repo graphics-go #
https://github.com/BurntSushi/graphics-go
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit b43f31a4a96688fba0b612e25e22648b9267e498 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global goipath
github.com/BurntSushi/graphics-go
+%global commit b43f31a4a96688fba0b612e25e22648b9267e498 + +%gometa -Name: golang-%{provider}-%{project}-%{repo} +Name: golang-github-BurntSushi-graphics-go Version: 0 -Release: 0.4.git%{shortcommit}%{?dist} +Release: 0.5%{?dist} Summary: Graphics library for the Go programming language +# Detected licences +# - BSD 3-clause "New" or "Revised" License at 'LICENSE' License: BSD -URL: https://%{provider_prefix} -Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz - -# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} -# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. -BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} +URL: %{gourl} +Source0: %{gosource} %description -%{summary}. +%{summary} + %package devel -Summary: %{summary} -BuildArch: noarch -Provides: golang(%{import_path}/graphics) = %{version}-%{release} -Provides: golang(%{import_path}/graphics/convolve) = %{version}-%{release} -Provides: golang(%{import_path}/graphics/detect) = %{version}-%{release} -Provides: golang(%{import_path}/graphics/graphicstest) = %{version}-%{release} -Provides: golang(%{import_path}/graphics/interp) = %{version}-%{release} +Summary: %{summary} +BuildArch: noarch %description devel -%{summary}. +%{summary} This package contains library source intended for building other packages which use import path with -%{import_path} prefix. - -%package unit-test-devel -Summary: Unit tests for %{name} package -BuildArch: noarch -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} - -%description unit-test-devel -%{summary}. - -This package contains unit tests for project -providing packages with %{import_path} prefix. +%{goipath} prefix. %prep -%setup -q -n %{repo}-%{commit} +%forgeautosetup -%build %install -# source codes for building projects -install -d -p %{buildroot}%{gopath}/src/%{import_path}/ -echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do - echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$(dirname $file) - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list -done - -# testing files for this project -install -d %{buildroot}%{gopath}/src/%{import_path}/ -# find all *_test.go files and generate unit-test.file-list -for file in $(find . -iname "*_test.go" -or -iname "testdata"); do - dirprefix=$(dirname $file) - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$dirprefix - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list - while [ "$dirprefix" != "." ]; do - echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list - dirprefix=$(dirname $dirprefix) - done -done - -sort -u -o devel.file-list devel.file-list -sort -u -o unit-test-devel.file-list unit-test-devel.file-list +files=$(find . -name "testdata" -type d) +%goinstall $files -%check -export GOPATH=%{buildroot}%{gopath}:%{gopath} -%if ! 0%{?gotest:1} -%global gotest go test +%check +# Fail on some arches +%ifnarch s390x ppc64le aarch64 +%gochecks %endif -%gotest %{import_path}/graphics ||: -%gotest %{import_path}/graphics/convolve ||: -%gotest %{import_path}/graphics/detect ||: -%gotest %{import_path}/graphics/graphicstest ||: -%gotest %{import_path}/graphics/interp ||: %files devel -f devel.file-list -%doc README %license LICENSE -%dir %{gopath}/src/github.com/BurntSushi/ -%dir %{gopath}/src/%{import_path} +%doc README CONTRIBUTORS AUTHORS -%files unit-test-devel -f unit-test-devel.file-list %changelog +* Mon Nov 12 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.5.20181113gitb43f31a +- Update to new Go packaging + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.4.gitb43f31a - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources index 5663e54..d7db96d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (graphics-go-b43f31a.tar.gz) = 8476eaa8e63b740ba48fb923e2f977810c7eb734e15bc6b34806618623dc14b35877e42981f1d7883034cb9f4f45d42b25ba3c84e1f9396b53bb328efcec897b +SHA512 (graphics-go-b43f31a4a96688fba0b612e25e22648b9267e498.tar.gz) = 8476eaa8e63b740ba48fb923e2f977810c7eb734e15bc6b34806618623dc14b35877e42981f1d7883034cb9f4f45d42b25ba3c84e1f9396b53bb328efcec897b
1
0
0
0
Architecture specific change in rpms/golang-github-BurntSushi-freetype-go.git
by githook-noreply@fedoraproject.org
13 Nov '18
13 Nov '18
The package rpms/golang-github-BurntSushi-freetype-go.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-BurntSushi-freetype-g…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} Thanks. Full change: ============ commit 1c950d94fd88fea1de06183f895b21b1eed61e4d Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Tue Nov 13 18:16:44 2018 +0100 Update to new Go packaging Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index 63ff7b5..f3a1f87 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /freetype-go-b763ddb.tar.gz +/freetype-go-b763ddbfe298bf71c999a2833470da508f3a0677.tar.gz diff --git a/golang-github-BurntSushi-freetype-go.spec b/golang-github-BurntSushi-freetype-go.spec index a7e80a0..775f8a5 100644 --- a/golang-github-BurntSushi-freetype-go.spec +++ b/golang-github-BurntSushi-freetype-go.spec @@ -1,111 +1,56 @@ -%global debug_package %{nil} - -%global provider github -%global provider_tld com -%global project BurntSushi -%global repo freetype-go #
https://github.com/BurntSushi/freetype-go
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit b763ddbfe298bf71c999a2833470da508f3a0677 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global goipath
github.com/BurntSushi/freetype-go
+%global commit b763ddbfe298bf71c999a2833470da508f3a0677 + +%gometa -Name: golang-%{provider}-%{project}-%{repo} +Name: golang-github-BurntSushi-freetype-go Version: 0 -Release: 0.3.git%{shortcommit}%{?dist} +Release: 0.4%{?dist} Summary: A fork of freetype-go with bounding box calculations +# Detected licences +# - *No copyright* UNKNOWN at 'LICENSE' License: GPLv2+ or FTL -URL: https://%{provider_prefix} -Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz - -# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} -# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. -BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} +URL: %{gourl} +Source0: %{gosource} %description -%{summary}. +%{summary} + %package devel -Summary: %{summary} -BuildArch: noarch -Provides: golang(%{import_path}/freetype) = %{version}-%{release} -Provides: golang(%{import_path}/freetype/truetype) = %{version}-%{release} -Provides: golang(%{import_path}/freetype/raster) = %{version}-%{release} +Summary: %{summary} +BuildArch: noarch %description devel -%{summary}. +%{summary} This package contains library source intended for building other packages which use import path with -%{import_path} prefix. - -%package unit-test-devel -Summary: Unit tests for %{name} package -BuildArch: noarch -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} - -%description unit-test-devel -%{summary}. - -This package contains unit tests for project -providing packages with %{import_path} prefix. +%{goipath} prefix. %prep -%setup -q -n %{repo}-%{commit} +%forgeautosetup -%build %install -# source codes for building projects -install -d -p %{buildroot}%{gopath}/src/%{import_path}/ -echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do - echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$(dirname $file) - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list -done - -# testing files for this project -install -d %{buildroot}%{gopath}/src/%{import_path}/ -# find all *_test.go files and generate unit-test.file-list -for file in $(find . -iname "*_test.go" -or -iname "luxi-fonts"); do - dirprefix=$(dirname $file) - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$dirprefix - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list - while [ "$dirprefix" != "." ]; do - echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list - dirprefix=$(dirname $dirprefix) - done -done - -sort -u -o devel.file-list devel.file-list -sort -u -o unit-test-devel.file-list unit-test-devel.file-list +%goinstall -%check -export GOPATH=%{buildroot}%{gopath}:%{gopath} -%if ! 0%{?gotest:1} -%global gotest go test -%endif +%check +%gochecks -%gotest %{import_path}/freetype -%gotest %{import_path}/freetype/raster -%gotest %{import_path}/freetype/truetype %files devel -f devel.file-list -%doc README %license LICENSE -%dir %{gopath}/src/%{import_path} +%doc README CONTRIBUTORS AUTHORS -%files unit-test-devel -f unit-test-devel.file-list %changelog +* Mon Nov 12 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.4.20181113gitb763ddb +- Update to new Go packaging + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.gitb763ddb - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources index 28c75bc..b54b8f4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (freetype-go-b763ddb.tar.gz) = 3e56e8375dc634a42cad2cbc6fb6e65a27ea94ce97513c428a9367922525b12ca05ccae7322256e537ac67a5846c3dfd2d2c9eee5beeb7f9a6a0ce3cdfa97de8 +SHA512 (freetype-go-b763ddbfe298bf71c999a2833470da508f3a0677.tar.gz) = 3e56e8375dc634a42cad2cbc6fb6e65a27ea94ce97513c428a9367922525b12ca05ccae7322256e537ac67a5846c3dfd2d2c9eee5beeb7f9a6a0ce3cdfa97de8
1
0
0
0
Architecture specific change in rpms/golang-github-BurntSushi-freetype-go.git
by githook-noreply@fedoraproject.org
13 Nov '18
13 Nov '18
The package rpms/golang-github-BurntSushi-freetype-go.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-BurntSushi-freetype-g…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} Thanks. Full change: ============ commit 8678a3f9ebe2045ba526b01c79187730d096317a Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Tue Nov 13 18:16:44 2018 +0100 Update to new Go packaging Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index 63ff7b5..f3a1f87 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /freetype-go-b763ddb.tar.gz +/freetype-go-b763ddbfe298bf71c999a2833470da508f3a0677.tar.gz diff --git a/golang-github-BurntSushi-freetype-go.spec b/golang-github-BurntSushi-freetype-go.spec index a7e80a0..775f8a5 100644 --- a/golang-github-BurntSushi-freetype-go.spec +++ b/golang-github-BurntSushi-freetype-go.spec @@ -1,111 +1,56 @@ -%global debug_package %{nil} - -%global provider github -%global provider_tld com -%global project BurntSushi -%global repo freetype-go #
https://github.com/BurntSushi/freetype-go
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit b763ddbfe298bf71c999a2833470da508f3a0677 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global goipath
github.com/BurntSushi/freetype-go
+%global commit b763ddbfe298bf71c999a2833470da508f3a0677 + +%gometa -Name: golang-%{provider}-%{project}-%{repo} +Name: golang-github-BurntSushi-freetype-go Version: 0 -Release: 0.3.git%{shortcommit}%{?dist} +Release: 0.4%{?dist} Summary: A fork of freetype-go with bounding box calculations +# Detected licences +# - *No copyright* UNKNOWN at 'LICENSE' License: GPLv2+ or FTL -URL: https://%{provider_prefix} -Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz - -# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} -# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. -BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} +URL: %{gourl} +Source0: %{gosource} %description -%{summary}. +%{summary} + %package devel -Summary: %{summary} -BuildArch: noarch -Provides: golang(%{import_path}/freetype) = %{version}-%{release} -Provides: golang(%{import_path}/freetype/truetype) = %{version}-%{release} -Provides: golang(%{import_path}/freetype/raster) = %{version}-%{release} +Summary: %{summary} +BuildArch: noarch %description devel -%{summary}. +%{summary} This package contains library source intended for building other packages which use import path with -%{import_path} prefix. - -%package unit-test-devel -Summary: Unit tests for %{name} package -BuildArch: noarch -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} - -%description unit-test-devel -%{summary}. - -This package contains unit tests for project -providing packages with %{import_path} prefix. +%{goipath} prefix. %prep -%setup -q -n %{repo}-%{commit} +%forgeautosetup -%build %install -# source codes for building projects -install -d -p %{buildroot}%{gopath}/src/%{import_path}/ -echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do - echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$(dirname $file) - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list -done - -# testing files for this project -install -d %{buildroot}%{gopath}/src/%{import_path}/ -# find all *_test.go files and generate unit-test.file-list -for file in $(find . -iname "*_test.go" -or -iname "luxi-fonts"); do - dirprefix=$(dirname $file) - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$dirprefix - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list - while [ "$dirprefix" != "." ]; do - echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list - dirprefix=$(dirname $dirprefix) - done -done - -sort -u -o devel.file-list devel.file-list -sort -u -o unit-test-devel.file-list unit-test-devel.file-list +%goinstall -%check -export GOPATH=%{buildroot}%{gopath}:%{gopath} -%if ! 0%{?gotest:1} -%global gotest go test -%endif +%check +%gochecks -%gotest %{import_path}/freetype -%gotest %{import_path}/freetype/raster -%gotest %{import_path}/freetype/truetype %files devel -f devel.file-list -%doc README %license LICENSE -%dir %{gopath}/src/%{import_path} +%doc README CONTRIBUTORS AUTHORS -%files unit-test-devel -f unit-test-devel.file-list %changelog +* Mon Nov 12 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.4.20181113gitb763ddb +- Update to new Go packaging + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.gitb763ddb - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources index 28c75bc..b54b8f4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (freetype-go-b763ddb.tar.gz) = 3e56e8375dc634a42cad2cbc6fb6e65a27ea94ce97513c428a9367922525b12ca05ccae7322256e537ac67a5846c3dfd2d2c9eee5beeb7f9a6a0ce3cdfa97de8 +SHA512 (freetype-go-b763ddbfe298bf71c999a2833470da508f3a0677.tar.gz) = 3e56e8375dc634a42cad2cbc6fb6e65a27ea94ce97513c428a9367922525b12ca05ccae7322256e537ac67a5846c3dfd2d2c9eee5beeb7f9a6a0ce3cdfa97de8
1
0
0
0
← Newer
1
...
14
15
16
17
18
19
20
...
30
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Results per page:
10
25
50
100
200