The package rpms/golang-github-miekg-mmark.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-miekg-mmark.git/commit....
Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change: ============
commit 46cf627146aef81c2b8e44a44af3c437f501b12f Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Mon Jul 8 23:36:16 2019 +0200
Renamed to golang-github-mmarkdown-mmark
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index ea3d964..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/v1.3.4.tar.gz -/mmark-1.3.6.tar.gz -/mmark-2.0.46.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..501c2d1 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Renamed to golang-github-mmarkdown-mmark diff --git a/golang-github-mmarkdown-mmark.spec b/golang-github-mmarkdown-mmark.spec deleted file mode 100644 index fec0a0c..0000000 --- a/golang-github-mmarkdown-mmark.spec +++ /dev/null @@ -1,69 +0,0 @@ -# Generated by go2rpm -%bcond_without check - -# https://github.com/mmarkdown/mmark -%global goipath github.com/mmarkdown/mmark -Version: 2.0.46 - -%gometa - -%global common_description %{expand: -Mmark is a powerful markdown processor written in Go, geared towards writing -IETF documents. It is, however, also suited for writing complete books and other -technical documentation, like the Learning Go book (mmark source, and I-D text -output).} - -%global golicenses LICENSE.txt -%global godocs README.md Syntax.md mmark.1.md - -Name: %{goname} -Release: 1%{?dist} -Summary: Powerful markdown processor in Go geared towards the IETF - -# Upstream license specification: BSD-2-Clause -License: BSD -URL: %{gourl} -Source0: %{gosource} - -BuildRequires: golang(github.com/BurntSushi/toml) -BuildRequires: golang(github.com/gomarkdown/markdown) -BuildRequires: golang(github.com/gomarkdown/markdown/ast) -BuildRequires: golang(github.com/gomarkdown/markdown/html) -BuildRequires: golang(github.com/gomarkdown/markdown/parser) - -%if %{with check} -# Tests -BuildRequires: golang(github.com/google/go-cmp/cmp) -%endif - -%description -%{common_description} - -%gopkg - -%prep -%goprep - -%build -%gobuild -o %{gobuilddir}/bin/mmark %{goipath} - -%install -%gopkginstall -install -m 0755 -vd %{buildroot}%{_bindir} -install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ - -%if %{with check} -%check -%gocheck -%endif - -%files -%license LICENSE.txt -%doc README.md Syntax.md mmark.1.md -%{_bindir}/* - -%gopkgfiles - -%changelog -* Mon Jun 03 16:11:39 CEST 2019 Robert-Andr Mauchin zebob.m@gmail.com - 2.0.46-1 -- Initial package diff --git a/sources b/sources deleted file mode 100644 index 907e246..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (mmark-2.0.46.tar.gz) = 336512cb82d8ff5e798bb45c2b8b3fbd8ab9c3311db7f33c4e990444e827715475750f89d75dead56f980ffefc1a6bb8f9f426110433b7d8d2a5393340c9d9a7
commit be5cddd4e170fe9662e19bf067d3ddab2c1606d8 Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Mon Jun 3 17:20:57 2019 +0200
Initial package
Signed-off-by: Robert-Andr Mauchin zebob.m@gmail.com
diff --git a/.gitignore b/.gitignore index 5a5b3d1..ea3d964 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /v1.3.4.tar.gz /mmark-1.3.6.tar.gz +/mmark-2.0.46.tar.gz diff --git a/golang-github-miekg-mmark.spec b/golang-github-miekg-mmark.spec deleted file mode 100644 index be1324e..0000000 --- a/golang-github-miekg-mmark.spec +++ /dev/null @@ -1,212 +0,0 @@ -# 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 - -%if 0%{?with_debug} -%global _dwz_low_mem_die_limit 0 -%else -%global debug_package %{nil} -%endif - -%if ! 0%{?gobuild:1} -%define gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')" -a -v -x %{?**}; -%endif - -%global provider github -%global provider_tld com -%global project miekg -%global repo mmark -# https://github.com/miekg/mmark -%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} - -Name: golang-%{provider}-%{project}-%{repo} -Version: 1.3.6 -Release: 1%{?dist} -Summary: A powerful markdown processor in Go geared towards the IETF -License: BSD -URL: https://%%7Bprovider_prefix%7D -Source0: https://%%7Bprovider_prefix%7D/archive/v%%7Bversion%7D/%%7Brepo%7D-%%7Bversi... - -# 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_bundled} -# Remaining dependencies not included in main packages -BuildRequires: golang(github.com/BurntSushi/toml) -%endif - -%description -%{summary}. - -%if 0%{?with_devel} -%package devel -Summary: %{summary} -BuildArch: noarch - -%if 0%{?with_check} && ! 0%{?with_bundled} -BuildRequires: golang(github.com/BurntSushi/toml) -%endif - -Requires: golang(github.com/BurntSushi/toml) - -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 -%if 0%{?with_check} -#Here comes all BuildRequires: PACKAGE the unit tests -#in %%check section need for running -%endif - -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} - -%if 0%{?with_check} && ! 0%{?with_bundled} -%endif - - -%description unit-test-devel -%{summary}. - -This package contains unit tests for project -providing packages with %{import_path} prefix. -%endif - -%prep -%setup -q -n %{repo}-%{version} - -%build -mkdir -p src/%{provider}.%{provider_tld}/%{project} -ln -s ../../../ src/%{import_path} - -%if ! 0%{?with_bundled} -export GOPATH=$(pwd):%{gopath} -%else -# No dependency directories so far -export GOPATH=$(pwd):%{gopath} -%endif - -%gobuild -o bin/mmark %{import_path}/mmark - -%install -install -d -p %{buildroot}%{_bindir} -install -p -m 0755 bin/mmark %{buildroot}%{_bindir} - -# source codes for building projects -%if 0%{?with_devel} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ -echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . ( -iname "*.go" -or -iname "*.s" ) ! -iname "*_test.go") ; do - dirprefix=$(dirname $file) - install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix - cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list - - while [ "$dirprefix" != "." ]; do - echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list - dirprefix=$(dirname $dirprefix) - done -done -%endif - -# testing files for this project -%if 0%{?with_unit_test} && 0%{?with_devel} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ -# find all *_test.go files and generate unit-test-devel.file-list -for file in $(find . -iname "*_test.go") ; do - dirprefix=$(dirname $file) - install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix - cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list - - while [ "$dirprefix" != "." ]; do - echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list - dirprefix=$(dirname $dirprefix) - done -done -%endif - -%if 0%{?with_devel} -sort -u -o devel.file-list devel.file-list -%endif - -%check -%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel} -%if ! 0%{?with_bundled} -export GOPATH=%{buildroot}/%{gopath}:%{gopath} -%else -# No dependency directories so far - -export GOPATH=%{buildroot}/%{gopath}:%{gopath} -%endif - -%if ! 0%{?gotest:1} -%global gotest go test -%endif - -%gotest %{import_path} -%endif - -#define license tag if not already defined -%{!?_licensedir:%global license %doc} - -%files -%license LICENSE -%doc COPYRIGHT CONVERSION_RFC7328.md README.md -%{_bindir}/mmark - -%if 0%{?with_devel} -%files devel -f devel.file-list -%license LICENSE -%doc COPYRIGHT CONVERSION_RFC7328.md 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 COPYRIGHT CONVERSION_RFC7328.md README.md -%endif - -%changelog -* Sat Feb 09 2019 Elliott Sales de Andrade quantum.analyst@gmail.com - 1.3.6-1 -- Update to latest version - -* Fri Feb 01 2019 Fedora Release Engineering releng@fedoraproject.org - 1.3.4-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 1.3.4-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 1.3.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Aug 02 2017 Fedora Release Engineering releng@fedoraproject.org - 1.3.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering releng@fedoraproject.org - 1.3.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sun Feb 26 2017 Frederico Lima fredlima@fedoraproject.org - 1.3.4-1 -- First package for Fedora - diff --git a/golang-github-mmarkdown-mmark.spec b/golang-github-mmarkdown-mmark.spec new file mode 100644 index 0000000..fec0a0c --- /dev/null +++ b/golang-github-mmarkdown-mmark.spec @@ -0,0 +1,69 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/mmarkdown/mmark +%global goipath github.com/mmarkdown/mmark +Version: 2.0.46 + +%gometa + +%global common_description %{expand: +Mmark is a powerful markdown processor written in Go, geared towards writing +IETF documents. It is, however, also suited for writing complete books and other +technical documentation, like the Learning Go book (mmark source, and I-D text +output).} + +%global golicenses LICENSE.txt +%global godocs README.md Syntax.md mmark.1.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Powerful markdown processor in Go geared towards the IETF + +# Upstream license specification: BSD-2-Clause +License: BSD +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/BurntSushi/toml) +BuildRequires: golang(github.com/gomarkdown/markdown) +BuildRequires: golang(github.com/gomarkdown/markdown/ast) +BuildRequires: golang(github.com/gomarkdown/markdown/html) +BuildRequires: golang(github.com/gomarkdown/markdown/parser) + +%if %{with check} +# Tests +BuildRequires: golang(github.com/google/go-cmp/cmp) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%build +%gobuild -o %{gobuilddir}/bin/mmark %{goipath} + +%install +%gopkginstall +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ + +%if %{with check} +%check +%gocheck +%endif + +%files +%license LICENSE.txt +%doc README.md Syntax.md mmark.1.md +%{_bindir}/* + +%gopkgfiles + +%changelog +* Mon Jun 03 16:11:39 CEST 2019 Robert-Andr Mauchin zebob.m@gmail.com - 2.0.46-1 +- Initial package diff --git a/sources b/sources index 29e751c..907e246 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mmark-1.3.6.tar.gz) = 38f668c54de18eb134ddf19840d00102ea6c7e8d11d971db4562bceb7f039c9fe94f181edb49cbd95de08f4e1cb28c6d7c0bccbdcf9faeb2a07767812b15c4e8 +SHA512 (mmark-2.0.46.tar.gz) = 336512cb82d8ff5e798bb45c2b8b3fbd8ab9c3311db7f33c4e990444e827715475750f89d75dead56f980ffefc1a6bb8f9f426110433b7d8d2a5393340c9d9a7