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 2017
----- 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
292 discussions
Start a n
N
ew thread
Architecture specific change in rpms/golang-github-cznic-ql.git
by githook-noreply@fedoraproject.org
01 Aug '17
01 Aug '17
The package rpms/golang-github-cznic-ql.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-ql.git/commit/?…
. Change: +ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}} Thanks. Full change: ============ commit 8ac310731070e333b778597f566e3b93f5e486ef Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Tue Aug 1 09:57:47 2017 +0200 Initial import (#1431748). diff --git a/.gitignore b/.gitignore index e69de29..f82d5a0 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/cznic-ql-ba9eea9.tar.gz diff --git a/golang-github-cznic-ql.spec b/golang-github-cznic-ql.spec new file mode 100644 index 0000000..657f8b2 --- /dev/null +++ b/golang-github-cznic-ql.spec @@ -0,0 +1,236 @@ +# 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 ql +#
https://github.com/cznic/ql
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} +%global import_path %{provider_prefix} +%global commit ba9eea98e3d20b3485b5b3d4a77775ee8bdd5387 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20170522 + + +Name: golang-%{provider}-%{project}-%{repo} +Version: 1.1.0 +Release: 1.%{commitdate}.git%{shortcommit}%{?dist} +Summary: Embedded SQL database written in Go + +# This package is BSD licensed, but the vendored
go4.org/lock
library is ASLv2.0 +License: BSD and 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} + +%if 0%{?with_cli_tool} +BuildRequires:
golang(github.com/cznic/b)
+BuildRequires:
golang(github.com/cznic/golex/lex)
+BuildRequires:
golang(github.com/cznic/lldb)
+BuildRequires:
golang(github.com/cznic/mathutil)
+BuildRequires:
golang(github.com/cznic/strutil)
+ +Provides: ql%{?_isa} = %{version}-%{release} +%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/b)
+BuildRequires:
golang(github.com/cznic/golex/lex)
+BuildRequires:
golang(github.com/cznic/lldb)
+BuildRequires:
golang(github.com/cznic/mathutil)
+BuildRequires:
golang(github.com/cznic/strutil)
+%endif + +Requires:
golang(github.com/cznic/b)
+Requires:
golang(github.com/cznic/golex/lex)
+Requires:
golang(github.com/cznic/lldb)
+Requires:
golang(github.com/cznic/mathutil)
+Requires:
golang(github.com/cznic/strutil)
+ +Provides: golang(%{import_path}) = %{version}-%{release} +Provides: golang(%{import_path}/design) = %{version}-%{release} +Provides: golang(%{import_path}/driver) = %{version}-%{release} +Provides:
bundled(golang(github.com/camlistore/go4/lock))
+ +%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 + + +%prep +%setup -q -n %{repo}-%{commit} + + +%build +%if 0%{?with_cli_tool} +# prepare build environment +mkdir -p ./_build/src/%{provider}.%{provider_tld}/%{project} +ln -s $(pwd) ./_build/src/%{import_path} + +# run build and set version correctly +export GOPATH=$(pwd)/_build:%{gopath} +%gobuild -o bin/ql %{import_path}/ql +%endif + + +%install +%if 0%{?with_cli_tool} +mkdir -p %{buildroot}/%{_bindir} +cp -pav ./bin/ql %{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 + +# add test data for unit test subpackage +cp -pavr _testdata %{buildroot}/%{gopath}/src/%{import_path}/ +echo "%%{gopath}/src/%%{import_path}/_testdata" >> unit-test-devel.file-list + +cp -pav testdata.ql %{buildroot}/%{gopath}/src/%{import_path}/ +echo "%%{gopath}/src/%%{import_path}/testdata.ql" >> unit-test-devel.file-list +%endif + +# install license file for bundled
go4.org/lock
library +mkdir -p %{buildroot}%{_licensedir}/%{name} +cp -pav
vendored/github.com/camlistore/LICENSE
\ + %{buildroot}/%{_licensedir}/%{name}/LICENSE.camlistore-go4-lock + +%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} +export GOPATH=%{buildroot}/%{gopath}:%{gopath} + +%if ! 0%{?gotest:1} +%global gotest go test +%endif + +%gotest %{import_path} +%gotest %{import_path}/driver +%gotest %{import_path}/vendored/github.com/camlistore/go4/lock + +# Clean up test logs +rm %{buildroot}/%{gopath}/src/%{import_path}/testdata.log +%endif + + +#define license tag if not already defined +%{!?_licensedir:%global license %doc} + + +%if 0%{?with_cli_tool} +%files +%license LICENSE +%doc CONTRIBUTORS README.md AUTHORS +%{_bindir}/ql +%{_licensedir}/%{name}/LICENSE.camlistore-go4-lock +%endif + +%if 0%{?with_devel} +%files devel -f devel.file-list +%license LICENSE +%doc CONTRIBUTORS README.md AUTHORS +%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} +%{_licensedir}/%{name}/LICENSE.camlistore-go4-lock +%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 +%{_licensedir}/%{name}/LICENSE.camlistore-go4-lock +%endif + + +%changelog +* Wed Jun 28 2017 Fabio Valentini <decathorpe(a)gmail.com> - 1.1.0-1.20170522.gitba9eea9 +- Bump to commit ba9eea9. + +* Sat Mar 11 2017 Fabio Valentini <decathorpe(a)gmail.com> - 1.1.0-1.20170517.gitf39e59d +- First package for Fedora + diff --git a/sources b/sources index e69de29..58e9e96 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (cznic-ql-ba9eea9.tar.gz) = a2b52ee4a2728edbb6f8bb252496dcaf71554b82f333a626602e15176176c4f3d45ee129ff9254fce6fd598f04a10023c87281a0c463bfac6e2923c82e3ed9ee
1
0
0
0
Architecture specific change in rpms/golang-github-cznic-ql.git
by githook-noreply@fedoraproject.org
01 Aug '17
01 Aug '17
The package rpms/golang-github-cznic-ql.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-ql.git/commit/?…
. Change: +ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}} Thanks. Full change: ============ commit 8ac310731070e333b778597f566e3b93f5e486ef Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Tue Aug 1 09:57:47 2017 +0200 Initial import (#1431748). diff --git a/.gitignore b/.gitignore index e69de29..f82d5a0 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/cznic-ql-ba9eea9.tar.gz diff --git a/golang-github-cznic-ql.spec b/golang-github-cznic-ql.spec new file mode 100644 index 0000000..657f8b2 --- /dev/null +++ b/golang-github-cznic-ql.spec @@ -0,0 +1,236 @@ +# 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 ql +#
https://github.com/cznic/ql
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} +%global import_path %{provider_prefix} +%global commit ba9eea98e3d20b3485b5b3d4a77775ee8bdd5387 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20170522 + + +Name: golang-%{provider}-%{project}-%{repo} +Version: 1.1.0 +Release: 1.%{commitdate}.git%{shortcommit}%{?dist} +Summary: Embedded SQL database written in Go + +# This package is BSD licensed, but the vendored
go4.org/lock
library is ASLv2.0 +License: BSD and 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} + +%if 0%{?with_cli_tool} +BuildRequires:
golang(github.com/cznic/b)
+BuildRequires:
golang(github.com/cznic/golex/lex)
+BuildRequires:
golang(github.com/cznic/lldb)
+BuildRequires:
golang(github.com/cznic/mathutil)
+BuildRequires:
golang(github.com/cznic/strutil)
+ +Provides: ql%{?_isa} = %{version}-%{release} +%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/b)
+BuildRequires:
golang(github.com/cznic/golex/lex)
+BuildRequires:
golang(github.com/cznic/lldb)
+BuildRequires:
golang(github.com/cznic/mathutil)
+BuildRequires:
golang(github.com/cznic/strutil)
+%endif + +Requires:
golang(github.com/cznic/b)
+Requires:
golang(github.com/cznic/golex/lex)
+Requires:
golang(github.com/cznic/lldb)
+Requires:
golang(github.com/cznic/mathutil)
+Requires:
golang(github.com/cznic/strutil)
+ +Provides: golang(%{import_path}) = %{version}-%{release} +Provides: golang(%{import_path}/design) = %{version}-%{release} +Provides: golang(%{import_path}/driver) = %{version}-%{release} +Provides:
bundled(golang(github.com/camlistore/go4/lock))
+ +%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 + + +%prep +%setup -q -n %{repo}-%{commit} + + +%build +%if 0%{?with_cli_tool} +# prepare build environment +mkdir -p ./_build/src/%{provider}.%{provider_tld}/%{project} +ln -s $(pwd) ./_build/src/%{import_path} + +# run build and set version correctly +export GOPATH=$(pwd)/_build:%{gopath} +%gobuild -o bin/ql %{import_path}/ql +%endif + + +%install +%if 0%{?with_cli_tool} +mkdir -p %{buildroot}/%{_bindir} +cp -pav ./bin/ql %{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 + +# add test data for unit test subpackage +cp -pavr _testdata %{buildroot}/%{gopath}/src/%{import_path}/ +echo "%%{gopath}/src/%%{import_path}/_testdata" >> unit-test-devel.file-list + +cp -pav testdata.ql %{buildroot}/%{gopath}/src/%{import_path}/ +echo "%%{gopath}/src/%%{import_path}/testdata.ql" >> unit-test-devel.file-list +%endif + +# install license file for bundled
go4.org/lock
library +mkdir -p %{buildroot}%{_licensedir}/%{name} +cp -pav
vendored/github.com/camlistore/LICENSE
\ + %{buildroot}/%{_licensedir}/%{name}/LICENSE.camlistore-go4-lock + +%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} +export GOPATH=%{buildroot}/%{gopath}:%{gopath} + +%if ! 0%{?gotest:1} +%global gotest go test +%endif + +%gotest %{import_path} +%gotest %{import_path}/driver +%gotest %{import_path}/vendored/github.com/camlistore/go4/lock + +# Clean up test logs +rm %{buildroot}/%{gopath}/src/%{import_path}/testdata.log +%endif + + +#define license tag if not already defined +%{!?_licensedir:%global license %doc} + + +%if 0%{?with_cli_tool} +%files +%license LICENSE +%doc CONTRIBUTORS README.md AUTHORS +%{_bindir}/ql +%{_licensedir}/%{name}/LICENSE.camlistore-go4-lock +%endif + +%if 0%{?with_devel} +%files devel -f devel.file-list +%license LICENSE +%doc CONTRIBUTORS README.md AUTHORS +%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} +%{_licensedir}/%{name}/LICENSE.camlistore-go4-lock +%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 +%{_licensedir}/%{name}/LICENSE.camlistore-go4-lock +%endif + + +%changelog +* Wed Jun 28 2017 Fabio Valentini <decathorpe(a)gmail.com> - 1.1.0-1.20170522.gitba9eea9 +- Bump to commit ba9eea9. + +* Sat Mar 11 2017 Fabio Valentini <decathorpe(a)gmail.com> - 1.1.0-1.20170517.gitf39e59d +- First package for Fedora + diff --git a/sources b/sources index e69de29..58e9e96 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (cznic-ql-ba9eea9.tar.gz) = a2b52ee4a2728edbb6f8bb252496dcaf71554b82f333a626602e15176176c4f3d45ee129ff9254fce6fd598f04a10023c87281a0c463bfac6e2923c82e3ed9ee
1
0
0
0
← Newer
1
...
27
28
29
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