The package rpms/golang-github-russross-blackfriday.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-russross-blackfriday.g....
Change: -%ifarch 0%{?gccgo_arches}
Thanks.
Full change: ============
commit a404f8e3bdfb527d1318af518d79e590dc1fe2c1 Author: Jan Chaloupka jchaloup@redhat.com Date: Thu Jun 28 12:38:48 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore index 911ebeb..ad07b1e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/blackfriday-4048872.tar.gz +/blackfriday-4048872b16cc0fc2c5fd9eacf0ed2c2fedaa0c8c.tar.gz diff --git a/glide.lock b/glide.lock new file mode 100644 index 0000000..407f28e --- /dev/null +++ b/glide.lock @@ -0,0 +1,4 @@ +hash: 514603a8ede9edb7244340baf29ffacc8aca929e08541c4e5348b294d9997228 +imports: [] +updated: '2018-06-28T10:37:44.703749+00:00' + diff --git a/glide.yaml b/glide.yaml new file mode 100644 index 0000000..d0758fd --- /dev/null +++ b/glide.yaml @@ -0,0 +1,3 @@ +import: [] +package: github.com/russross/blackfriday + diff --git a/golang-github-russross-blackfriday.spec b/golang-github-russross-blackfriday.spec index ad76132..861d8aa 100644 --- a/golang-github-russross-blackfriday.spec +++ b/golang-github-russross-blackfriday.spec @@ -1,18 +1,20 @@ # http://github.com/russross/blackfriday -%global provider_prefix github.com/russross/blackfriday -%global gobaseipath %{provider_prefix} + +%global goipath github.com/russross/blackfriday %global commit 4048872b16cc0fc2c5fd9eacf0ed2c2fedaa0c8c -%global commitdate 20170728
-%gocraftmeta -i + +%gometa -i
Name: %{goname} Version: 1.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Markdown processor implemented in Go License: BSD URL: %{gourl} Source0: %{gosource} +Source1: glide.yaml +Source2: glide.yaml
%description %{summary} @@ -26,13 +28,14 @@ BuildArch: noarch
This package contains library source intended for building other packages which use import path with -%{gobaseipath} prefix. +%{goipath} prefix.
%prep -%gosetup - +%gosetup -q +cp %{SOURCE1} %{SOURCE2} . %install -%goinstall $(find . -iname "testdata" -type d) +files="$(find . -iname 'testdata' -type d)" +%goinstall glide.lock glide.yaml ${files}
%check %gochecks @@ -45,6 +48,9 @@ building other packages which use import path with %doc README.md
%changelog +* Thu Jun 28 2018 Jan Chaloupka jchaloup@redhat.com - 1.5-4.git4048872 +- Upload glide files + * Thu Mar 01 2018 Jan Chaloupka jchaloup@redhat.com - Autogenerate some parts using the new macros
diff --git a/sources b/sources index 6d72ff2..ee16b26 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (blackfriday-4048872.tar.gz) = 2c358bb8453030d432cf75b4457a9c13ae8b46f206dccdf8a764727faa78fb3a3ecaece7b074ce479856c6dd116e66187768c176501babc2a5713acab2d19276 +SHA512 (blackfriday-4048872b16cc0fc2c5fd9eacf0ed2c2fedaa0c8c.tar.gz) = 2c358bb8453030d432cf75b4457a9c13ae8b46f206dccdf8a764727faa78fb3a3ecaece7b074ce479856c6dd116e66187768c176501babc2a5713acab2d19276
commit fd2416533135a482b48daf762e58df49addcae05 Author: Jan Chaloupka jchaloup@redhat.com Date: Thu Mar 1 23:25:33 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-russross-blackfriday.spec b/golang-github-russross-blackfriday.spec index fc40ab7..ad76132 100644 --- a/golang-github-russross-blackfriday.spec +++ b/golang-github-russross-blackfriday.spec @@ -1,161 +1,53 @@ -# 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 russross -%global repo blackfriday -# https://github.com/russross/blackfriday -%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} +# http://github.com/russross/blackfriday +%global provider_prefix github.com/russross/blackfriday +%global gobaseipath %{provider_prefix} %global commit 4048872b16cc0fc2c5fd9eacf0ed2c2fedaa0c8c -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20170728
-Name: golang-%{provider}-%{project}-%{repo} +%gocraftmeta -i + +Name: %{goname} Version: 1.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Markdown processor implemented in Go License: BSD -URL: https://%%7Bprovider_prefix%7D -Source0: https://%%7Bprovider_prefix%7D/archive/%%7Bcommit%7D/%%7Brepo%7D-%%7Bshortco... - -# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} -# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. -BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} +URL: %{gourl} +Source0: %{gosource}
%description %{summary}
-%if 0%{?with_devel} %package devel Summary: %{summary} BuildArch: noarch
-%if 0%{?with_check} -%endif - -Provides: golang(%{import_path}) = %{version}-%{release} - %description devel %{summary}
This package contains library source intended for building other packages which use import path with -%{import_path} prefix. -%endif - -%if 0%{?with_unit_test} -%package unit-test -Summary: Unit tests for %{name} package - -%if 0%{?with_check} -#Here comes all BuildRequires: PACKAGE the unit tests -#in %%check section need for running -%endif - -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} - -%description unit-test -%{summary} - -This package contains unit tests for project -providing packages with %{import_path} prefix. -%endif +%{gobaseipath} prefix.
%prep -%setup -q -n %{repo}-%{commit} - -%build +%gosetup
%install -# source codes for building projects -%if 0%{?with_devel} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . -iname "*.go" ! -iname "*_test.go") ; do - install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file) - cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list -done -%endif - -# testing files for this project -%if 0%{?with_unit_test} -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 - install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file) - cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test.file-list -done -cp -r testdata %{buildroot}/%{gopath}/src/%{import_path}/. -echo "%%{gopath}/src/%%{import_path}/testdata" >> unit-test.file-list -%endif +%goinstall $(find . -iname "testdata" -type d)
%check -%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel} -%ifarch 0%{?gccgo_arches} -function gotest { %{gcc_go_test} "$@"; } -%else -%if 0%{?golang_test:1} -function gotest { %{golang_test} "$@"; } -%else -function gotest { go test "$@"; } -%endif -%endif - -export GOPATH=%{buildroot}/%{gopath}:%{gopath} -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.txt %doc README.md -%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} -%dir %{gopath}/src/%{import_path} -%endif - -%if 0%{?with_unit_test} -%files unit-test -f unit-test.file-list -%license LICENSE.txt -%doc README.md -%endif
%changelog +* Thu Mar 01 2018 Jan Chaloupka jchaloup@redhat.com +- Autogenerate some parts using the new macros + * Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 66bf08f41d857464a9f87627fcbe1c324dfc13bf Author: Fedora Release Engineering releng@fedoraproject.org Date: Wed Feb 7 14:50:26 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
diff --git a/golang-github-russross-blackfriday.spec b/golang-github-russross-blackfriday.spec index c8a6d39..fc40ab7 100644 --- a/golang-github-russross-blackfriday.spec +++ b/golang-github-russross-blackfriday.spec @@ -41,7 +41,7 @@
Name: golang-%{provider}-%{project}-%{repo} Version: 1.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Markdown processor implemented in Go License: BSD URL: https://%%7Bprovider_prefix%7D @@ -156,6 +156,9 @@ gotest %{import_path} %endif
%changelog +* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Tue Sep 12 2017 Athos Ribeiro athoscr@fedoraproject.org - 1.5-1 - Update to v1.5 related: #1222338
arch-excludes@lists.fedoraproject.org