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-blackfrida....
Change:
-%ifarch 0%{?gccgo_arches}
Thanks.
Full change:
============
commit 5b8c2ba534b8019529df9d58b92027c6a976b40e
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Jun 28 13:07:20 2018 +0200
Sync all branches
diff --git a/golang-github-russross-blackfriday.spec
b/golang-github-russross-blackfriday.spec
index aa9fa6f..83107e6 100644
--- a/golang-github-russross-blackfriday.spec
+++ b/golang-github-russross-blackfriday.spec
@@ -33,6 +33,7 @@ building other packages which use import path with
%prep
%gosetup -q
cp %{SOURCE1} %{SOURCE2} .
+
%install
files="$(find . -iname 'testdata' -type d)"
%goinstall glide.lock glide.yaml ${files}
commit adc9671e495abd61bf49a24c878588b83a06afbf
Merge: cb0729e a404f8e
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Jun 28 13:06:28 2018 +0200
Merge branch 'f27'
commit cb0729e640bd24fba50e97e270ab2181555638f7
Merge: c4ee2e2 b0e91f2
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Jun 28 13:05:52 2018 +0200
Merge branch 'f28'
commit c4ee2e2645f26f0cb50e1f2b8400720265facc93
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Jun 28 13:02:19 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index b4cce68..4df8710 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-/blackfriday-4048872.tar.gz
-/blackfriday-55d61fa.tar.gz
+/blackfriday-55d61fa8aa702f59229e6cff85793c22e580eaf5.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..a361c3a
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: ???
+imports: []
+updated: '2018-06-28T11:02:33.257528+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..e69de29
diff --git a/golang-github-russross-blackfriday.spec
b/golang-github-russross-blackfriday.spec
index 0d68d24..aa9fa6f 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 55d61fa8aa702f59229e6cff85793c22e580eaf5
-%global commitdate 20180215
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 2.0.0
-Release: 1.%{commitdate}git%{shortcommit}%{?dist}
+Release: 2%{?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(a)redhat.com> - 2.0.0-2.git55d61fa
+- Upload glide files
+
* Thu Mar 01 2018 Athos Ribeiro <athoscr(a)fedoraproject.org> -
2.0.0-1.20180215git55d61fa
- Bump to upstream 55d61fa8aa702f59229e6cff85793c22e580eaf5
diff --git a/sources b/sources
index 944cab8..7934eab 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (blackfriday-55d61fa.tar.gz) =
b51935e194057e93bf976f48165dfd0cdc3b2e9f175078c19e12ef39d1698e3a24f7f14741633b8526c5b6f79f236232b2910331d1ad43dd1f214bac636f04f4
+SHA512 (blackfriday-55d61fa8aa702f59229e6cff85793c22e580eaf5.tar.gz) =
b51935e194057e93bf976f48165dfd0cdc3b2e9f175078c19e12ef39d1698e3a24f7f14741633b8526c5b6f79f236232b2910331d1ad43dd1f214bac636f04f4
commit a404f8e3bdfb527d1318af518d79e590dc1fe2c1
Author: Jan Chaloupka <jchaloup(a)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(a)redhat.com> - 1.5-4.git4048872
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)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 d5d61f22842ecaffe15a5f696c39b3ba422d65b9
Author: Athos Ribeiro <athoscr(a)fedoraproject.org>
Date: Sat Mar 3 01:40:42 2018 -0300
Bump to upstream 55d61fa
diff --git a/.gitignore b/.gitignore
index 911ebeb..b4cce68 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/blackfriday-4048872.tar.gz
+/blackfriday-55d61fa.tar.gz
diff --git a/golang-github-russross-blackfriday.spec
b/golang-github-russross-blackfriday.spec
index ad76132..0d68d24 100644
--- a/golang-github-russross-blackfriday.spec
+++ b/golang-github-russross-blackfriday.spec
@@ -1,14 +1,14 @@
#
http://github.com/russross/blackfriday
%global provider_prefix
github.com/russross/blackfriday
%global gobaseipath %{provider_prefix}
-%global commit 4048872b16cc0fc2c5fd9eacf0ed2c2fedaa0c8c
-%global commitdate 20170728
+%global commit 55d61fa8aa702f59229e6cff85793c22e580eaf5
+%global commitdate 20180215
%gocraftmeta -i
Name: %{goname}
-Version: 1.5
-Release: 3%{?dist}
+Version: 2.0.0
+Release: 1.%{commitdate}git%{shortcommit}%{?dist}
Summary: Markdown processor implemented in Go
License: BSD
URL: %{gourl}
@@ -45,6 +45,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Thu Mar 01 2018 Athos Ribeiro <athoscr(a)fedoraproject.org> -
2.0.0-1.20180215git55d61fa
+- Bump to upstream 55d61fa8aa702f59229e6cff85793c22e580eaf5
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com>
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 6d72ff2..944cab8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (blackfriday-4048872.tar.gz) =
2c358bb8453030d432cf75b4457a9c13ae8b46f206dccdf8a764727faa78fb3a3ecaece7b074ce479856c6dd116e66187768c176501babc2a5713acab2d19276
+SHA512 (blackfriday-55d61fa.tar.gz) =
b51935e194057e93bf976f48165dfd0cdc3b2e9f175078c19e12ef39d1698e3a24f7f14741633b8526c5b6f79f236232b2910331d1ad43dd1f214bac636f04f4
commit fd2416533135a482b48daf762e58df49addcae05
Author: Jan Chaloupka <jchaloup(a)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://%{provider_prefix}
-Source0:
https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test}
-%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(a)redhat.com>
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.5-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild