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
2025
June
May
April
March
February
January
2024
December
November
October
September
August
July
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
August 2018
----- 2025 -----
June 2025
May 2025
April 2025
March 2025
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 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
299 discussions
Start a n
N
ew thread
Architecture specific change in rpms/golang-github-cznic-lexer.git
by githook-noreply@fedoraproject.org
31 Aug '18
31 Aug '18
The package rpms/golang-github-cznic-lexer.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-cznic-lexer.git/commi…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}} Thanks. Full change: ============ commit 5769e0710fa288d3beebe8637b46a0f93455677e Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Fri Aug 31 15:10:36 2018 +0200 update to spec 3.0 diff --git a/.gitignore b/.gitignore index 98318b5..cfac3d1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /cznic-lexer-52ae786.tar.gz +/lexer-52ae7862082bd9649e03c1c4013a104b37811bfa.tar.gz diff --git a/golang-github-cznic-lexer.spec b/golang-github-cznic-lexer.spec index 6e447a5..217b79e 100644 --- a/golang-github-cznic-lexer.spec +++ b/golang-github-cznic-lexer.spec @@ -1,172 +1,59 @@ -# 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 cznic -%global repo lexer #
https://github.com/cznic/lexer
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 52ae7862082bd9649e03c1c4013a104b37811bfa -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20141211 +%global goipath
github.com/cznic/lexer
+%global commit 52ae7862082bd9649e03c1c4013a104b37811bfa +%global date 20141211 +%gometa -Name: golang-%{provider}-%{project}-%{repo} +Name: golang-github-cznic-lexer Version: 0 -Release: 0.5.%{commitdate}.git%{shortcommit}%{?dist} +Release: 0.6%{?dist} Summary: Run time generator of action less scanners written in Go License: BSD -URL: https://%{provider_prefix} -Source0: https://%{provider_prefix}/archive/%{commit}/%{project}-%{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} BuildRequires:
golang(github.com/cznic/fileutil)
BuildRequires:
golang(golang.org/x/exp/ebnf)
-%endif - -Requires:
golang(github.com/cznic/fileutil)
-Requires:
golang(golang.org/x/exp/ebnf)
- -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 - -# 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. -%endif +%{goipath} prefix. %prep -%setup -q -n %{repo}-%{commit} - - -%build +%gosetup -q %install -# Remove a rather unnecessary (and nearly empty) file -rm test_deps.go - -# source codes for building projects -%if 0%{?with_devel} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ -echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list - -# 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} -export GOPATH=%{buildroot}/%{gopath}:%{gopath} - -%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 CONTRIBUTORS README AUTHORS -%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 CONTRIBUTORS README AUTHORS -%endif +%doc CONTRIBUTORS AUTHORS README %changelog +* Fri Aug 31 2018 Fabio Valentini <decathorpe(a)gmail.com> - 0-0.6.20141211git52ae786 +- Update to use spec 3.0. + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.5.20141211.git52ae786 - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources index 8cb2c10..c50b1ce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cznic-lexer-52ae786.tar.gz) = 6c83ed0142413a0cf07a9b6e23e2d91cec3fdb4d83d9e6d20c15058786a233d05a589824065bd125344c948ab3dddf66364f49f18b96ddf78432ae51061aa497 +SHA512 (lexer-52ae7862082bd9649e03c1c4013a104b37811bfa.tar.gz) = 6c83ed0142413a0cf07a9b6e23e2d91cec3fdb4d83d9e6d20c15058786a233d05a589824065bd125344c948ab3dddf66364f49f18b96ddf78432ae51061aa497
1
0
0
0
Architecture specific change in rpms/golang-github-cznic-lex.git
by githook-noreply@fedoraproject.org
31 Aug '18
31 Aug '18
The package rpms/golang-github-cznic-lex.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-cznic-lex.git/commit/…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}} Thanks. Full change: ============ commit e08252bca42617dda7f4ae4f86f30e3d6b9016a8 Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Fri Aug 31 15:04:28 2018 +0200 update to spec 3.0 diff --git a/.gitignore b/.gitignore index 6f0ff09..bc91b02 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /cznic-lex-68050f5.tar.gz +/lex-68050f59b71a42ca5b94e7b832e5bc2cdb48af66.tar.gz diff --git a/golang-github-cznic-lex.spec b/golang-github-cznic-lex.spec index 9d082fc..767bed0 100644 --- a/golang-github-cznic-lex.spec +++ b/golang-github-cznic-lex.spec @@ -1,169 +1,59 @@ -# 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 cznic -%global repo lex #
https://github.com/cznic/lex
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 68050f59b71a42ca5b94e7b832e5bc2cdb48af66 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20170112 +%global goipath
github.com/cznic/lex
+%global commit 68050f59b71a42ca5b94e7b832e5bc2cdb48af66 +%global date 20170112 +%gometa -Name: golang-%{provider}-%{project}-%{repo} +Name: golang-github-cznic-lex Version: 0 -Release: 0.5.%{commitdate}.git%{shortcommit}%{?dist} +Release: 0.6%{?dist} Summary: Support for (f)lex-like tool on .l source files License: BSD -URL: https://%{provider_prefix} -Source0: https://%{provider_prefix}/archive/%{commit}/%{project}-%{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} BuildRequires:
golang(github.com/cznic/fileutil)
BuildRequires:
golang(github.com/cznic/lexer)
-%endif - -Requires:
golang(github.com/cznic/fileutil)
-Requires:
golang(github.com/cznic/lexer)
- -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 - -# 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. -%endif +%{goipath} prefix. %prep -%setup -q -n %{repo}-%{commit} - - -%build +%gosetup -q %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} -export GOPATH=%{buildroot}/%{gopath}:%{gopath} - -%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 CONTRIBUTORS README AUTHORS -%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 CONTRIBUTORS README AUTHORS -%endif +%doc CONTRIBUTORS AUTHORS README %changelog +* Fri Aug 31 2018 Fabio Valentini <decathorpe(a)gmail.com> - 0-0.6.20170112git68050f5 +- Update to use spec 3.0. + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.5.20170112.git68050f5 - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources index 2a24d64..da96a57 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cznic-lex-68050f5.tar.gz) = 4e78e0e2085862a30984f46e2d93e00611b0b7d898c176b975ec09487f157f7cea1cddd343a5b5ae55796bfdebdbc8709a409ea611315ed45da3abb29c00a885 +SHA512 (lex-68050f59b71a42ca5b94e7b832e5bc2cdb48af66.tar.gz) = 4e78e0e2085862a30984f46e2d93e00611b0b7d898c176b975ec09487f157f7cea1cddd343a5b5ae55796bfdebdbc8709a409ea611315ed45da3abb29c00a885
1
0
0
0
Architecture specific change in rpms/golang-github-cznic-internal.git
by githook-noreply@fedoraproject.org
31 Aug '18
31 Aug '18
The package rpms/golang-github-cznic-internal.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-cznic-internal.git/co…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}} Thanks. Full change: ============ commit 0d6f1e12e979d971db6844cefaa71b1c193b66cc Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Fri Aug 31 14:55:38 2018 +0200 update to spec 3.0 diff --git a/.gitignore b/.gitignore index 668707b..6326c4c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /cznic-internal-e5e1c3e.tar.gz /cznic-internal-6c349f9.tar.gz /cznic-internal-4747030.tar.gz +/internal-4747030f7cf2f4c0a01512b00cd68734b167ac3b.tar.gz diff --git a/golang-github-cznic-internal.spec b/golang-github-cznic-internal.spec index fb0ec27..32dc7d8 100644 --- a/golang-github-cznic-internal.spec +++ b/golang-github-cznic-internal.spec @@ -1,176 +1,60 @@ -# 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 cznic -%global repo internal #
https://github.com/cznic/internal
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 4747030f7cf2f4c0a01512b00cd68734b167ac3b -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20170905 +%global goipath
github.com/cznic/internal
+%global commit 4747030f7cf2f4c0a01512b00cd68734b167ac3b +%global date 20170905 +%gometa -Name: golang-%{provider}-%{project}-%{repo} +Name: golang-github-cznic-internal Version: 1.0.0 -Release: 6.%{commitdate}.git%{shortcommit}%{?dist} +Release: 7%{?dist} Summary: Shared dependencies for other cznic Go libraries License: BSD -URL: https://%{provider_prefix} -Source0: https://%{provider_prefix}/archive/%{commit}/%{project}-%{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} BuildRequires:
golang(github.com/cznic/fileutil)
BuildRequires:
golang(github.com/cznic/mathutil)
BuildRequires:
golang(github.com/edsrzf/mmap-go)
-%endif - -Requires:
golang(github.com/cznic/fileutil)
-Requires:
golang(github.com/cznic/mathutil)
-Requires:
golang(github.com/edsrzf/mmap-go)
- -Provides: golang(%{import_path}/buffer) = %{version}-%{release} -Provides: golang(%{import_path}/file) = %{version}-%{release} -Provides: golang(%{import_path}/slice) = %{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 - -# 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. -%endif +%{goipath} prefix. %prep -%setup -q -n %{repo}-%{commit} - - -%build +%gosetup -q %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} -export GOPATH=%{buildroot}/%{gopath}:%{gopath} +%gochecks -%if ! 0%{?gotest:1} -%global gotest go test -%endif -%gotest %{import_path}/buffer -%gotest %{import_path}/file -%gotest %{import_path}/slice -%endif - - -#define license tag if not already defined -%{!?_licensedir:%global license %doc} - - -%if 0%{?with_devel} %files devel -f devel.file-list %license LICENSE %doc CONTRIBUTORS README.md AUTHORS -%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 CONTRIBUTORS README.md AUTHORS -%endif %changelog +* Fri Aug 31 2018 Fabio Valentini <decathorpe(a)gmail.com> - 1.0.0-7.20170905git4747030 +- Update to use spec 3.0. + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-6.20170905.git4747030 - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources index 7377e90..07a25f6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cznic-internal-4747030.tar.gz) = ff6093c53212b1b58e5a017f1b030da3da0eb7e279a53174566d27d249d4da3a275fb5c0830e59caa4096ad85f226e8a49e9ea8c29851311c57e155446348b20 +SHA512 (internal-4747030f7cf2f4c0a01512b00cd68734b167ac3b.tar.gz) = ff6093c53212b1b58e5a017f1b030da3da0eb7e279a53174566d27d249d4da3a275fb5c0830e59caa4096ad85f226e8a49e9ea8c29851311c57e155446348b20
1
0
0
0
Architecture specific change in rpms/golang-github-cznic-golex.git
by githook-noreply@fedoraproject.org
31 Aug '18
31 Aug '18
The package rpms/golang-github-cznic-golex.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-cznic-golex.git/commi…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}} Thanks. Full change: ============ commit 0af69a5fe4f4ee90242d9eca6000db4adf018290 Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Fri Aug 31 14:47:31 2018 +0200 update to spec 3.0 diff --git a/.gitignore b/.gitignore index 22dd706..1af01a0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /cznic-golex-d7f6f2b.tar.gz /cznic-golex-4ab7c5e.tar.gz +/golex-4ab7c5e190e49208c823ce8ec803aa39e6a4b31a.tar.gz diff --git a/golang-github-cznic-golex.spec b/golang-github-cznic-golex.spec index 8135ccb..e4bd210 100644 --- a/golang-github-cznic-golex.spec +++ b/golang-github-cznic-golex.spec @@ -1,197 +1,77 @@ -# Generate devel rpm -%global with_devel 1 -# Build project from bundled dependencies -%global with_bundled 0 -# Build with debug info rpm -%global with_debug 1 -# Run tests in check section -%global with_check 1 -# Generate unit-test rpm -%global with_unit_test 1 -# Build command line tool -%global with_cli_tool 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 cznic -%global repo golex #
https://github.com/cznic/golex
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 4ab7c5e190e49208c823ce8ec803aa39e6a4b31a -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20170803 +%global goipath
github.com/cznic/golex
+%global commit 4ab7c5e190e49208c823ce8ec803aa39e6a4b31a +%global date 20170803 +%gometa -Name: golang-%{provider}-%{project}-%{repo} +Name: golang-github-cznic-golex Version: 0 -Release: 0.6.%{commitdate}.git%{shortcommit}%{?dist} +Release: 0.7%{?dist} Summary: Lex/Flex-like utility written in Go License: BSD -URL: https://%{provider_prefix} -Source0: https://%{provider_prefix}/archive/%{commit}/%{project}-%{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} -%if 0%{?with_cli_tool} Provides: golex%{?_isa} = %{version}-%{release} BuildRequires:
golang(github.com/cznic/lex)
BuildRequires:
golang(github.com/cznic/lexer)
-%endif %description %{summary} -%if 0%{?with_devel} %package devel Summary: %{summary} BuildArch: noarch -%if 0%{?with_check} && ! 0%{?with_bundled} -BuildRequires:
golang(github.com/cznic/lex)
-BuildRequires:
golang(github.com/cznic/lexer)
-%endif - -Provides: golang(%{import_path}/lex) = %{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 - -# 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. -%endif +%{goipath} prefix. %prep -%setup -q -n %{repo}-%{commit} +%gosetup -q %build -%if 0%{?with_cli_tool} -# prepare build environment -mkdir -p ./_build/src/%{provider}.%{provider_tld}/%{project} -ln -s $(pwd) ./_build/src/%{import_path} +%gobuildroot -# run build and set version correctly -export GOPATH=$(pwd)/_build:%{gopath} -%gobuild -o bin/golex %{import_path} -%endif +%gobuild -o _bin/golex %{goipath} %install -%if 0%{?with_cli_tool} -mkdir -p %{buildroot}/%{_bindir} -cp -pav ./bin/golex %{buildroot}/%{_bindir}/ -%endif - -# 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 +install -d -p %{buildroot}%{_bindir} +install -p -m 0755 _bin/golex %{buildroot}%{_bindir} +%goinstall -%check -%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel} -export GOPATH=%{buildroot}/%{gopath}:%{gopath} - -%if ! 0%{?gotest:1} -%global gotest go test -%endif - -%gotest %{import_path} -%gotest %{import_path}/lex -%endif - -#define license tag if not already defined -%{!?_licensedir:%global license %doc} +%check +%gochecks -%if 0%{?with_cli_tool} %files %license LICENSE -%doc CONTRIBUTORS README AUTHORS +%doc CONTRIBUTORS AUTHORS README + %{_bindir}/golex -%endif -%if 0%{?with_devel} -%files devel -f devel.file-list -%license LICENSE -%doc CONTRIBUTORS README AUTHORS -%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 +%files devel -f devel.file-list %license LICENSE -%doc CONTRIBUTORS README AUTHORS -%endif +%doc CONTRIBUTORS AUTHORS README %changelog +* Fri Aug 31 2018 Fabio Valentini <decathorpe(a)gmail.com> - 0-0.7.20170803git4ab7c5e +- Update to use spec 3.0. + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.6.20170803.git4ab7c5e - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources index 9fd1c59..fc302c6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cznic-golex-4ab7c5e.tar.gz) = 710a0244412c4c22790032ea427a847401af24362e0db9c0766d3d73c2992b6b854bd05624b1f1a719646ef0f63cade0c91b786d76ec9d6366e47a8d17ba8dd0 +SHA512 (golex-4ab7c5e190e49208c823ce8ec803aa39e6a4b31a.tar.gz) = 710a0244412c4c22790032ea427a847401af24362e0db9c0766d3d73c2992b6b854bd05624b1f1a719646ef0f63cade0c91b786d76ec9d6366e47a8d17ba8dd0
1
0
0
0
Architecture specific change in rpms/golang-github-cznic-fileutil.git
by githook-noreply@fedoraproject.org
31 Aug '18
31 Aug '18
The package rpms/golang-github-cznic-fileutil.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-cznic-fileutil.git/co…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}} Thanks. Full change: ============ commit d9a4d29514140b325e95336e5199dfabe3a5bd4e Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Fri Aug 31 14:38:17 2018 +0200 update to spec 3.0 diff --git a/.gitignore b/.gitignore index 70d2a9c..77e96c4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /cznic-fileutil-90cf820.tar.gz /cznic-fileutil-2d566d8.tar.gz /cznic-fileutil-6a051e7.tar.gz +/fileutil-6a051e75936f623600b67c2b1116b6b6c0ffb936.tar.gz diff --git a/golang-github-cznic-fileutil.spec b/golang-github-cznic-fileutil.spec index 0633b8e..b18f9f3 100644 --- a/golang-github-cznic-fileutil.spec +++ b/golang-github-cznic-fileutil.spec @@ -1,178 +1,58 @@ -# 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 cznic -%global repo fileutil #
https://github.com/cznic/fileutil
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 6a051e75936f623600b67c2b1116b6b6c0ffb936 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global goipath
github.com/cznic/fileutil
+%global commit 6a051e75936f623600b67c2b1116b6b6c0ffb936 +%global date 20180108 +%gometa -Name: golang-%{provider}-%{project}-%{repo} +Name: golang-github-cznic-fileutil Version: 0 -Release: 0.8.git%{shortcommit}%{?dist} +Release: 0.9%{?dist} Summary: File utility functions for Go License: BSD -URL: https://%{provider_prefix} -Source0: https://%{provider_prefix}/archive/%{commit}/cznic-%{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} BuildRequires:
golang(github.com/cznic/mathutil)
-%endif - -Requires:
golang(github.com/cznic/mathutil)
- -Provides: golang(%{import_path}) = %{version}-%{release} -Provides: golang(%{import_path}/falloc) = %{version}-%{release} -Provides: golang(%{import_path}/hdb) = %{version}-%{release} -Provides: golang(%{import_path}/storage) = %{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 - -# 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. -%endif +%{goipath} prefix. %prep -%setup -q -n %{repo}-%{commit} - - -%build +%gosetup -q %install -# source codes for building projects -%if 0%{?with_devel} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ -echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list - -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ; do - dirprefix=$(dirname $file) - install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix - cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list - - while [ "$dirprefix" != "." ]; do - echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list - dirprefix=$(dirname $dirprefix) - done -done -%endif - -# testing files for this project -%if 0%{?with_unit_test} && 0%{?with_devel} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ - -# find all *_test.go files and generate unit-test-devel.file-list -for file in $(find . -iname "*_test.go") ; do - dirprefix=$(dirname $file) - install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix - cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list - - while [ "$dirprefix" != "." ]; do - echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list - dirprefix=$(dirname $dirprefix) - done -done -%endif - -%if 0%{?with_devel} -sort -u -o devel.file-list devel.file-list -%endif +%goinstall %check -%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel} -%if ! 0%{?with_bundled} -export GOPATH=%{buildroot}/%{gopath}:%{gopath} -%else -# No dependency directories so far -export GOPATH=%{buildroot}/%{gopath}:%{gopath} -%endif - -%if ! 0%{?gotest:1} -%global gotest go test -%endif - -%gotest %{import_path} -%gotest %{import_path}/falloc -%gotest %{import_path}/hdb -%gotest %{import_path}/storage -%endif - - -#define license tag if not already defined -%{!?_licensedir:%global license %doc} +%gochecks -%if 0%{?with_devel} %files devel -f devel.file-list %license LICENSE -%doc CONTRIBUTORS README AUTHORS -%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 CONTRIBUTORS README AUTHORS -%endif +%doc CONTRIBUTORS AUTHORS README %changelog +* Fri Aug 31 2018 Fabio Valentini <decathorpe(a)gmail.com> - 0-0.9.20180108git6a051e7 +- Update to use spec 3.0. + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.8.git6a051e7 - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources index 8a8dbac..85e090c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cznic-fileutil-6a051e7.tar.gz) = 2f8808d9792d62f8a1cf9fca18824f878464327594e77badc4c079cea3deb59886ed3aa009ecfacd052b7b02c84b36cafb2fd649a3322e150c9b7a53ace1c0b8 +SHA512 (fileutil-6a051e75936f623600b67c2b1116b6b6c0ffb936.tar.gz) = 2f8808d9792d62f8a1cf9fca18824f878464327594e77badc4c079cea3deb59886ed3aa009ecfacd052b7b02c84b36cafb2fd649a3322e150c9b7a53ace1c0b8
1
0
0
0
Architecture specific change in rpms/golang-github-cznic-b.git
by githook-noreply@fedoraproject.org
31 Aug '18
31 Aug '18
The package rpms/golang-github-cznic-b.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-cznic-b.git/commit/?i…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}} Thanks. Full change: ============ commit b92eb143ccf44291507ac2e56ee6ad769443305f Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Fri Aug 31 14:30:44 2018 +0200 update to spec 3.0 diff --git a/.gitignore b/.gitignore index 047dcd3..4202fd5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /cznic-b-6955404.tar.gz /cznic-b-35e9bbe.tar.gz +/b-35e9bbe41f07452a183c517a5fc5f3c9f45eaa0f.tar.gz diff --git a/golang-github-cznic-b.spec b/golang-github-cznic-b.spec index 6bb584c..00f281e 100644 --- a/golang-github-cznic-b.spec +++ b/golang-github-cznic-b.spec @@ -1,175 +1,59 @@ -# 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 cznic -%global repo b #
https://github.com/cznic/b
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 35e9bbe41f07452a183c517a5fc5f3c9f45eaa0f -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20180115 +%global goipath
github.com/cznic/b
+%global commit 35e9bbe41f07452a183c517a5fc5f3c9f45eaa0f +%global date 20180115 +%gometa -Name: golang-%{provider}-%{project}-%{repo} +Name: golang-github-cznic-b Version: 0 -Release: 0.6.%{commitdate}.git%{shortcommit}%{?dist} +Release: 0.7%{?dist} Summary: B+ Tree implementation in Go License: BSD -URL: https://%{provider_prefix} -Source0: https://%{provider_prefix}/archive/%{commit}/cznic-%{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 -Provides: golang(%{import_path}) = %{version}-%{release} +BuildRequires:
golang(github.com/cznic/mathutil)
+BuildRequires:
golang(github.com/cznic/strutil)
%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 - -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} - -%if 0%{?with_check} && ! 0%{?with_bundled} -BuildRequires:
golang(github.com/cznic/fileutil)
-BuildRequires:
golang(github.com/cznic/mathutil)
-BuildRequires:
golang(github.com/cznic/strutil)
-%endif - -Requires:
golang(github.com/cznic/fileutil)
-Requires:
golang(github.com/cznic/mathutil)
-Requires:
golang(github.com/cznic/strutil)
- -%description unit-test-devel -%{summary} - -This package contains unit tests for project -providing packages with %{import_path} prefix. -%endif +%{goipath} prefix. %prep -%setup -q -n %{repo}-%{commit} - - -%build +%gosetup -q %install -# don't package the examples -rm -r ./example - -# 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} -export GOPATH=%{buildroot}/%{gopath}:%{gopath} - -%if ! 0%{?gotest:1} -%global gotest go test -%endif - -%gotest %{import_path} -%endif - - -#define license tag if not already defined -%{!?_licensedir:%global license %doc} +%gochecks -%if 0%{?with_devel} %files devel -f devel.file-list %license LICENSE %doc CONTRIBUTORS README.md AUTHORS -%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 CONTRIBUTORS README.md AUTHORS -%endif %changelog +* Fri Aug 31 2018 Fabio Valentini <decathorpe(a)gmail.com> - 0-0.7.20180115git35e9bbe +- Update to use spec 3.0. + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.6.20180115.git35e9bbe - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources index 0441da6..1885591 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cznic-b-35e9bbe.tar.gz) = 54addb878d336e1c7a37d2fe2fb7e5485fce19e3f6f4e21c733dee9643eebf31aba1f729d33d0faf020019a55e6ab2b553d4e8bafc6184a109b5f775a340e4ca +SHA512 (b-35e9bbe41f07452a183c517a5fc5f3c9f45eaa0f.tar.gz) = 54addb878d336e1c7a37d2fe2fb7e5485fce19e3f6f4e21c733dee9643eebf31aba1f729d33d0faf020019a55e6ab2b553d4e8bafc6184a109b5f775a340e4ca
1
0
0
0
Architecture specific change in rpms/golang-github-ccding-go-stun.git
by githook-noreply@fedoraproject.org
31 Aug '18
31 Aug '18
The package rpms/golang-github-ccding-go-stun.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-ccding-go-stun.git/co…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}} Thanks. Full change: ============ commit aede4e3c99cdacd3fe56caa2fe645806964f00e8 Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Fri Aug 31 14:19:33 2018 +0200 bump to commit be486d1 and update to spec 3.0 diff --git a/.gitignore b/.gitignore index feffd09..20a46aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /ccding-go-stun-04a4eed.tar.gz /ccding-go-stun-82abcd5.tar.gz /ccding-go-stun-d9bbe8f.tar.gz +/go-stun-be486d185f3dfcb2dbf8429332da50a0da7f95a6.tar.gz diff --git a/golang-github-ccding-go-stun.spec b/golang-github-ccding-go-stun.spec index e5f76b9..f09a96b 100644 --- a/golang-github-ccding-go-stun.spec +++ b/golang-github-ccding-go-stun.spec @@ -1,162 +1,57 @@ -# 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 ccding -%global repo go-stun #
https://github.com/ccding/go-stun
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit d9bbe8f8fa7bf7ed03e6cfc6a2796bb36139e1f4 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20171206 +%global goipath
github.com/ccding/go-stun
+%global commit be486d185f3dfcb2dbf8429332da50a0da7f95a6 +%global date 20180726 +%gometa -Name: golang-%{provider}-%{project}-%{repo} +Name: golang-github-ccding-go-stun Version: 0.1.0 -Release: 8.%{commitdate}.git%{shortcommit}%{?dist} +Release: 9%{?dist} Summary: STUN client (RFC 3489 and RFC 5389) implementation in Go License: ASL 2.0 -URL: https://%{provider_prefix} -Source0: https://%{provider_prefix}/archive/%{commit}/%{project}-%{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 -Provides: golang(%{import_path}/stun) = %{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 - -# 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. -%endif +%{goipath} prefix. %prep -%setup -q -n %{repo}-%{commit} - - -%build +%gosetup -q %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} -export GOPATH=%{buildroot}/%{gopath}:%{gopath} +%gochecks -%if ! 0%{?gotest:1} -%global gotest go test -%endif -%gotest %{import_path}/stun -%endif - - -#define license tag if not already defined -%{!?_licensedir:%global license %doc} - - -%if 0%{?with_devel} %files devel -f devel.file-list %license LICENSE %doc README.md -%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} -%endif - - -%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 +* Fri Aug 31 2018 Fabio Valentini <decathorpe(a)gmail.com> - 0.1.0-9.20180726gitbe486d1 +- Bump to commit be486d1. +- Update to use spec 3.0. + * Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-8.20171206.gitd9bbe8f - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources index f2466fb..614cf18 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ccding-go-stun-d9bbe8f.tar.gz) = 35ecc3ede479bbe0bf26a87b54ce4131f502c29d3c17dfd8d07311f0205f033128026245407216626a697d43059fae07f79bfe33f3813cfbfd524eebde2e6ae0 +SHA512 (go-stun-be486d185f3dfcb2dbf8429332da50a0da7f95a6.tar.gz) = 935edec5205da5637da1fb89c0233f0def5d265b33b5ed7a1d3c7ff7bb0f19163dfab681600ed5955345555018bfd0029725e703cd98824449458671fa2a2e60
1
0
0
0
Architecture specific change in rpms/OpenCoarrays.git
by githook-noreply@fedoraproject.org
31 Aug '18
31 Aug '18
The package rpms/OpenCoarrays.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/OpenCoarrays.git/commit/?id=7144a48…
. Change: +ExcludeArch: s390x Thanks. Full change: ============ commit 7144a48d3703e80d331921c71878b70560ab136a Author: Susi Lehtola <jussilehtola(a)fedoraproject.org> Date: Fri Aug 31 10:39:21 2018 +0200 Initial import. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..249c827 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/OpenCoarrays-2.2.0.tar.gz diff --git a/OpenCoarrays.spec b/OpenCoarrays.spec new file mode 100644 index 0000000..3d2ddd5 --- /dev/null +++ b/OpenCoarrays.spec @@ -0,0 +1,199 @@ +%bcond_without mpich +%bcond_without openmpi + +Name: OpenCoarrays +Version: 2.2.0 +Release: 3%{?dist} +Summary: An open-source Fortran Coarrays implementation for gfortran +License: BSD +URL:
http://www.opencoarrays.org/
+Source0:
https://github.com/sourceryinstitute/%{name}/releases/download/%{version}/%…
+ +BuildRequires: gcc +BuildRequires: gcc-gfortran +BuildRequires: cmake + +# Tests fail on s390x and upstream is unwilling to support the architecture +ExcludeArch: s390x + +%description +OpenCoarrays is an open-source software project that produces an +application binary interface (ABI) used by the GNU Compiler Collection +(GCC) Fortran front-end to build executable programs that leverage the +parallel programming features of the Fortran 2018 Draft International +Standard. + +%package devel +Summary: Development headers for OpenCoarrays +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains the development headers for OpenCoarrays. + +%if %{with openmpi} +%package openmpi +Summary: OpenMPI interface for OpenCoarrays +Requires: %{name} = %{version}-%{release} +BuildRequires: openmpi-devel + +%description openmpi +This package contains the OpenCoarrays library compiled against OpenMPI. + +%package openmpi-devel +Summary: OpenMPI development libraries for OpenCoarrays +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-openmpi%{?_isa} = %{version}-%{release} + +%description openmpi-devel +This package contains the OpenCoarrays development library compiled +against OpenMPI. +%endif + +%if %{with mpich} +%package mpich +Summary: MPICH interface for OpenCoarrays +Requires: %{name} = %{version}-%{release} +BuildRequires: mpich-devel + +%description mpich +This package contains the OpenCoarrays library compiled against MPICH. + +%package mpich-devel +Summary: MPICH development libraries for OpenCoarrays +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-mpich%{?_isa} = %{version}-%{release} + +%description mpich-devel +This package contains the OpenCoarrays development library compiled +against MPICH. +%endif + +%prep +%autosetup + +%build +%if %{with openmpi} +%{_openmpi_load} +mkdir openmpi +cd openmpi +# Failed image support appears to be buggy +%cmake .. -DCAF_ENABLE_FAILED_IMAGES=FALSE +make %{?_smp_mflags} +cd .. +%{_openmpi_unload} +%endif + +%if %{with mpich} +%{_mpich_load} +mkdir mpich +cd mpich +# Failed image support appears to be buggy +%cmake .. -DCAF_ENABLE_FAILED_IMAGES=FALSE +make %{?_smp_mflags} +cd .. +%{_mpich_unload} +%endif + +%install +%if %{with openmpi} +%{_openmpi_load} +make -C openmpi install DESTDIR=%{buildroot} +# Move files to the right place +mkdir -p %{buildroot}${MPI_BIN} +mv %{buildroot}%{_bindir}/caf* %{buildroot}${MPI_BIN}/ +mkdir -p %{buildroot}${MPI_LIB} +mv %{buildroot}%{_libdir}/libcaf* %{buildroot}${MPI_LIB}/ +mkdir -p %{buildroot}${MPI_FORTRAN_MOD_DIR} +mv %{buildroot}%{_includedir}/%{name}-*/opencoarrays.mod %{buildroot}${MPI_FORTRAN_MOD_DIR}/ +%{_openmpi_unload} +%endif + +%if %{with mpich} +%{_mpich_load} +make -C mpich install DESTDIR=%{buildroot} +# Move files to the right place +mkdir -p %{buildroot}${MPI_BIN} +mv %{buildroot}%{_bindir}/caf* %{buildroot}${MPI_BIN}/ +mkdir -p %{buildroot}${MPI_LIB} +mv %{buildroot}%{_libdir}/libcaf* %{buildroot}${MPI_LIB}/ +mkdir -p %{buildroot}${MPI_FORTRAN_MOD_DIR} +mv %{buildroot}%{_includedir}/%{name}-*/opencoarrays.mod %{buildroot}${MPI_FORTRAN_MOD_DIR}/ +%{_mpich_unload} +%endif + +# Remove symlink +\rm %{buildroot}%{_includedir}/opencoarrays.mod +# Remove cmake files +rm -rf %{buildroot}%{_libdir}/cmake/opencoarrays + +# Remove static libraries +%if %{with openmpi} +\rm %{buildroot}%{_libdir}/openmpi/lib/*.a +%endif +%if %{with mpich} +\rm %{buildroot}%{_libdir}/mpich/lib/*.a +%endif + +%check +%if %{with openmpi} +%{_openmpi_load} +make -C openmpi check +%{_openmpi_unload} +%endif + +%if %{with mpich} +%{_mpich_load} +make -C mpich check +%{_mpich_unload} +%endif + +%files +%license LICENSE +%doc AUTHORS.md README.md +%doc %{_mandir}/man1/caf*.1* + +%files devel +%{_includedir}/libcaf*.h + +%if %{with openmpi} +%files openmpi +%{_libdir}/openmpi/bin/caf* +%{_libdir}/openmpi/lib/libcaf*.so.* + +%files openmpi-devel +%{_libdir}/openmpi/lib/libcaf*.so +%{_libdir}/gfortran/modules/openmpi/opencoarrays.mod +%endif + +%if %{with mpich} +%files mpich +%{_libdir}/mpich/bin/caf* +%{_libdir}/mpich/lib/libcaf*.so.* + +%files mpich-devel +%{_libdir}/mpich/lib/libcaf*.so +%{_libdir}/gfortran/modules/mpich/opencoarrays.mod +%endif + +%changelog +* Fri Aug 31 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.2.0-3 +- Exclude s390x architecture since tests fail and upstream does not want it. + +* Thu Aug 23 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.2.0-2 +- Drop ISO_Fortran_bindings build requirement. + +* Thu Aug 16 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.2.0-1 +- Split off ISO_Fortran_bindings as it is now a separate project. +- Update to 2.2.0. + +* Sun Jul 01 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.1.0-1 +- Update to 2.1.0. + +* Wed Mar 28 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.0.0-2 +- Disable support for failed images. + +* Tue Mar 27 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.0.0-1 +- Initial release. + + diff --git a/sources b/sources new file mode 100644 index 0000000..3f13695 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (OpenCoarrays-2.2.0.tar.gz) = 65ababdd2364fc73c7c30e58ee91ec1c02a6ed79b692c46e6df9e816f2004b85a2a690a5d8295f664bb7bb29c152da5d9c0b41fe0d40aa927556cf276abcafa5
1
0
0
0
Architecture specific change in rpms/OpenCoarrays.git
by githook-noreply@fedoraproject.org
31 Aug '18
31 Aug '18
The package rpms/OpenCoarrays.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/OpenCoarrays.git/commit/?id=7144a48…
. Change: +ExcludeArch: s390x Thanks. Full change: ============ commit 7144a48d3703e80d331921c71878b70560ab136a Author: Susi Lehtola <jussilehtola(a)fedoraproject.org> Date: Fri Aug 31 10:39:21 2018 +0200 Initial import. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..249c827 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/OpenCoarrays-2.2.0.tar.gz diff --git a/OpenCoarrays.spec b/OpenCoarrays.spec new file mode 100644 index 0000000..3d2ddd5 --- /dev/null +++ b/OpenCoarrays.spec @@ -0,0 +1,199 @@ +%bcond_without mpich +%bcond_without openmpi + +Name: OpenCoarrays +Version: 2.2.0 +Release: 3%{?dist} +Summary: An open-source Fortran Coarrays implementation for gfortran +License: BSD +URL:
http://www.opencoarrays.org/
+Source0:
https://github.com/sourceryinstitute/%{name}/releases/download/%{version}/%…
+ +BuildRequires: gcc +BuildRequires: gcc-gfortran +BuildRequires: cmake + +# Tests fail on s390x and upstream is unwilling to support the architecture +ExcludeArch: s390x + +%description +OpenCoarrays is an open-source software project that produces an +application binary interface (ABI) used by the GNU Compiler Collection +(GCC) Fortran front-end to build executable programs that leverage the +parallel programming features of the Fortran 2018 Draft International +Standard. + +%package devel +Summary: Development headers for OpenCoarrays +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains the development headers for OpenCoarrays. + +%if %{with openmpi} +%package openmpi +Summary: OpenMPI interface for OpenCoarrays +Requires: %{name} = %{version}-%{release} +BuildRequires: openmpi-devel + +%description openmpi +This package contains the OpenCoarrays library compiled against OpenMPI. + +%package openmpi-devel +Summary: OpenMPI development libraries for OpenCoarrays +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-openmpi%{?_isa} = %{version}-%{release} + +%description openmpi-devel +This package contains the OpenCoarrays development library compiled +against OpenMPI. +%endif + +%if %{with mpich} +%package mpich +Summary: MPICH interface for OpenCoarrays +Requires: %{name} = %{version}-%{release} +BuildRequires: mpich-devel + +%description mpich +This package contains the OpenCoarrays library compiled against MPICH. + +%package mpich-devel +Summary: MPICH development libraries for OpenCoarrays +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-mpich%{?_isa} = %{version}-%{release} + +%description mpich-devel +This package contains the OpenCoarrays development library compiled +against MPICH. +%endif + +%prep +%autosetup + +%build +%if %{with openmpi} +%{_openmpi_load} +mkdir openmpi +cd openmpi +# Failed image support appears to be buggy +%cmake .. -DCAF_ENABLE_FAILED_IMAGES=FALSE +make %{?_smp_mflags} +cd .. +%{_openmpi_unload} +%endif + +%if %{with mpich} +%{_mpich_load} +mkdir mpich +cd mpich +# Failed image support appears to be buggy +%cmake .. -DCAF_ENABLE_FAILED_IMAGES=FALSE +make %{?_smp_mflags} +cd .. +%{_mpich_unload} +%endif + +%install +%if %{with openmpi} +%{_openmpi_load} +make -C openmpi install DESTDIR=%{buildroot} +# Move files to the right place +mkdir -p %{buildroot}${MPI_BIN} +mv %{buildroot}%{_bindir}/caf* %{buildroot}${MPI_BIN}/ +mkdir -p %{buildroot}${MPI_LIB} +mv %{buildroot}%{_libdir}/libcaf* %{buildroot}${MPI_LIB}/ +mkdir -p %{buildroot}${MPI_FORTRAN_MOD_DIR} +mv %{buildroot}%{_includedir}/%{name}-*/opencoarrays.mod %{buildroot}${MPI_FORTRAN_MOD_DIR}/ +%{_openmpi_unload} +%endif + +%if %{with mpich} +%{_mpich_load} +make -C mpich install DESTDIR=%{buildroot} +# Move files to the right place +mkdir -p %{buildroot}${MPI_BIN} +mv %{buildroot}%{_bindir}/caf* %{buildroot}${MPI_BIN}/ +mkdir -p %{buildroot}${MPI_LIB} +mv %{buildroot}%{_libdir}/libcaf* %{buildroot}${MPI_LIB}/ +mkdir -p %{buildroot}${MPI_FORTRAN_MOD_DIR} +mv %{buildroot}%{_includedir}/%{name}-*/opencoarrays.mod %{buildroot}${MPI_FORTRAN_MOD_DIR}/ +%{_mpich_unload} +%endif + +# Remove symlink +\rm %{buildroot}%{_includedir}/opencoarrays.mod +# Remove cmake files +rm -rf %{buildroot}%{_libdir}/cmake/opencoarrays + +# Remove static libraries +%if %{with openmpi} +\rm %{buildroot}%{_libdir}/openmpi/lib/*.a +%endif +%if %{with mpich} +\rm %{buildroot}%{_libdir}/mpich/lib/*.a +%endif + +%check +%if %{with openmpi} +%{_openmpi_load} +make -C openmpi check +%{_openmpi_unload} +%endif + +%if %{with mpich} +%{_mpich_load} +make -C mpich check +%{_mpich_unload} +%endif + +%files +%license LICENSE +%doc AUTHORS.md README.md +%doc %{_mandir}/man1/caf*.1* + +%files devel +%{_includedir}/libcaf*.h + +%if %{with openmpi} +%files openmpi +%{_libdir}/openmpi/bin/caf* +%{_libdir}/openmpi/lib/libcaf*.so.* + +%files openmpi-devel +%{_libdir}/openmpi/lib/libcaf*.so +%{_libdir}/gfortran/modules/openmpi/opencoarrays.mod +%endif + +%if %{with mpich} +%files mpich +%{_libdir}/mpich/bin/caf* +%{_libdir}/mpich/lib/libcaf*.so.* + +%files mpich-devel +%{_libdir}/mpich/lib/libcaf*.so +%{_libdir}/gfortran/modules/mpich/opencoarrays.mod +%endif + +%changelog +* Fri Aug 31 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.2.0-3 +- Exclude s390x architecture since tests fail and upstream does not want it. + +* Thu Aug 23 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.2.0-2 +- Drop ISO_Fortran_bindings build requirement. + +* Thu Aug 16 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.2.0-1 +- Split off ISO_Fortran_bindings as it is now a separate project. +- Update to 2.2.0. + +* Sun Jul 01 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.1.0-1 +- Update to 2.1.0. + +* Wed Mar 28 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.0.0-2 +- Disable support for failed images. + +* Tue Mar 27 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.0.0-1 +- Initial release. + + diff --git a/sources b/sources new file mode 100644 index 0000000..3f13695 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (OpenCoarrays-2.2.0.tar.gz) = 65ababdd2364fc73c7c30e58ee91ec1c02a6ed79b692c46e6df9e816f2004b85a2a690a5d8295f664bb7bb29c152da5d9c0b41fe0d40aa927556cf276abcafa5
1
0
0
0
Architecture specific change in rpms/OpenCoarrays.git
by githook-noreply@fedoraproject.org
31 Aug '18
31 Aug '18
The package rpms/OpenCoarrays.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/OpenCoarrays.git/commit/?id=7144a48…
. Change: +ExcludeArch: s390x Thanks. Full change: ============ commit 7144a48d3703e80d331921c71878b70560ab136a Author: Susi Lehtola <jussilehtola(a)fedoraproject.org> Date: Fri Aug 31 10:39:21 2018 +0200 Initial import. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..249c827 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/OpenCoarrays-2.2.0.tar.gz diff --git a/OpenCoarrays.spec b/OpenCoarrays.spec new file mode 100644 index 0000000..3d2ddd5 --- /dev/null +++ b/OpenCoarrays.spec @@ -0,0 +1,199 @@ +%bcond_without mpich +%bcond_without openmpi + +Name: OpenCoarrays +Version: 2.2.0 +Release: 3%{?dist} +Summary: An open-source Fortran Coarrays implementation for gfortran +License: BSD +URL:
http://www.opencoarrays.org/
+Source0:
https://github.com/sourceryinstitute/%{name}/releases/download/%{version}/%…
+ +BuildRequires: gcc +BuildRequires: gcc-gfortran +BuildRequires: cmake + +# Tests fail on s390x and upstream is unwilling to support the architecture +ExcludeArch: s390x + +%description +OpenCoarrays is an open-source software project that produces an +application binary interface (ABI) used by the GNU Compiler Collection +(GCC) Fortran front-end to build executable programs that leverage the +parallel programming features of the Fortran 2018 Draft International +Standard. + +%package devel +Summary: Development headers for OpenCoarrays +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains the development headers for OpenCoarrays. + +%if %{with openmpi} +%package openmpi +Summary: OpenMPI interface for OpenCoarrays +Requires: %{name} = %{version}-%{release} +BuildRequires: openmpi-devel + +%description openmpi +This package contains the OpenCoarrays library compiled against OpenMPI. + +%package openmpi-devel +Summary: OpenMPI development libraries for OpenCoarrays +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-openmpi%{?_isa} = %{version}-%{release} + +%description openmpi-devel +This package contains the OpenCoarrays development library compiled +against OpenMPI. +%endif + +%if %{with mpich} +%package mpich +Summary: MPICH interface for OpenCoarrays +Requires: %{name} = %{version}-%{release} +BuildRequires: mpich-devel + +%description mpich +This package contains the OpenCoarrays library compiled against MPICH. + +%package mpich-devel +Summary: MPICH development libraries for OpenCoarrays +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-mpich%{?_isa} = %{version}-%{release} + +%description mpich-devel +This package contains the OpenCoarrays development library compiled +against MPICH. +%endif + +%prep +%autosetup + +%build +%if %{with openmpi} +%{_openmpi_load} +mkdir openmpi +cd openmpi +# Failed image support appears to be buggy +%cmake .. -DCAF_ENABLE_FAILED_IMAGES=FALSE +make %{?_smp_mflags} +cd .. +%{_openmpi_unload} +%endif + +%if %{with mpich} +%{_mpich_load} +mkdir mpich +cd mpich +# Failed image support appears to be buggy +%cmake .. -DCAF_ENABLE_FAILED_IMAGES=FALSE +make %{?_smp_mflags} +cd .. +%{_mpich_unload} +%endif + +%install +%if %{with openmpi} +%{_openmpi_load} +make -C openmpi install DESTDIR=%{buildroot} +# Move files to the right place +mkdir -p %{buildroot}${MPI_BIN} +mv %{buildroot}%{_bindir}/caf* %{buildroot}${MPI_BIN}/ +mkdir -p %{buildroot}${MPI_LIB} +mv %{buildroot}%{_libdir}/libcaf* %{buildroot}${MPI_LIB}/ +mkdir -p %{buildroot}${MPI_FORTRAN_MOD_DIR} +mv %{buildroot}%{_includedir}/%{name}-*/opencoarrays.mod %{buildroot}${MPI_FORTRAN_MOD_DIR}/ +%{_openmpi_unload} +%endif + +%if %{with mpich} +%{_mpich_load} +make -C mpich install DESTDIR=%{buildroot} +# Move files to the right place +mkdir -p %{buildroot}${MPI_BIN} +mv %{buildroot}%{_bindir}/caf* %{buildroot}${MPI_BIN}/ +mkdir -p %{buildroot}${MPI_LIB} +mv %{buildroot}%{_libdir}/libcaf* %{buildroot}${MPI_LIB}/ +mkdir -p %{buildroot}${MPI_FORTRAN_MOD_DIR} +mv %{buildroot}%{_includedir}/%{name}-*/opencoarrays.mod %{buildroot}${MPI_FORTRAN_MOD_DIR}/ +%{_mpich_unload} +%endif + +# Remove symlink +\rm %{buildroot}%{_includedir}/opencoarrays.mod +# Remove cmake files +rm -rf %{buildroot}%{_libdir}/cmake/opencoarrays + +# Remove static libraries +%if %{with openmpi} +\rm %{buildroot}%{_libdir}/openmpi/lib/*.a +%endif +%if %{with mpich} +\rm %{buildroot}%{_libdir}/mpich/lib/*.a +%endif + +%check +%if %{with openmpi} +%{_openmpi_load} +make -C openmpi check +%{_openmpi_unload} +%endif + +%if %{with mpich} +%{_mpich_load} +make -C mpich check +%{_mpich_unload} +%endif + +%files +%license LICENSE +%doc AUTHORS.md README.md +%doc %{_mandir}/man1/caf*.1* + +%files devel +%{_includedir}/libcaf*.h + +%if %{with openmpi} +%files openmpi +%{_libdir}/openmpi/bin/caf* +%{_libdir}/openmpi/lib/libcaf*.so.* + +%files openmpi-devel +%{_libdir}/openmpi/lib/libcaf*.so +%{_libdir}/gfortran/modules/openmpi/opencoarrays.mod +%endif + +%if %{with mpich} +%files mpich +%{_libdir}/mpich/bin/caf* +%{_libdir}/mpich/lib/libcaf*.so.* + +%files mpich-devel +%{_libdir}/mpich/lib/libcaf*.so +%{_libdir}/gfortran/modules/mpich/opencoarrays.mod +%endif + +%changelog +* Fri Aug 31 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.2.0-3 +- Exclude s390x architecture since tests fail and upstream does not want it. + +* Thu Aug 23 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.2.0-2 +- Drop ISO_Fortran_bindings build requirement. + +* Thu Aug 16 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.2.0-1 +- Split off ISO_Fortran_bindings as it is now a separate project. +- Update to 2.2.0. + +* Sun Jul 01 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.1.0-1 +- Update to 2.1.0. + +* Wed Mar 28 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.0.0-2 +- Disable support for failed images. + +* Tue Mar 27 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.0.0-1 +- Initial release. + + diff --git a/sources b/sources new file mode 100644 index 0000000..3f13695 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (OpenCoarrays-2.2.0.tar.gz) = 65ababdd2364fc73c7c30e58ee91ec1c02a6ed79b692c46e6df9e816f2004b85a2a690a5d8295f664bb7bb29c152da5d9c0b41fe0d40aa927556cf276abcafa5
1
0
0
0
← Newer
1
2
3
4
5
...
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