The package rpms/golang-github-rasky-go-xdr.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-rasky-go-xdr.git/commi....
Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change: ============
commit 570dd9a91d3e5d3033d251e50462cab66616077e Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Mon Jul 8 23:38:21 2019 +0200
Renamed to golang-github-rasky-xdr
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 060a571..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/go-xdr-1a41d1a.tar.gz -/go-xdr-1a41d1a06c93bf8a0e0385be3847a277bb793187.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..afda23e --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Renamed to golang-github-rasky-xdr diff --git a/golang-github-rasky-xdr.spec b/golang-github-rasky-xdr.spec deleted file mode 100644 index 72109d1..0000000 --- a/golang-github-rasky-xdr.spec +++ /dev/null @@ -1,58 +0,0 @@ -# Generated by go2rpm -%bcond_without check - -# https://github.com/rasky/go-xdr -%global goipath github.com/rasky/go-xdr -%global commit 1a41d1a06c93bf8a0e0385be3847a277bb793187 - -%gometa - -%global common_description %{expand: -Go-xdr implements the data representation portion of the External Data -Representation (XDR) standard protocol as specified in RFC 4506 (obsoletes RFC -1832 and RFC 1014) in Pure Go (Golang). A comprehensive suite of tests are -provided to ensure proper functionality. It is licensed under the liberal ISC -license, so it may be used in open source or commercial projects.} - -%global golicenses LICENSE -%global godocs README.md - -Name: %{goname} -Version: 0 -Release: 0.4%{?dist} -Summary: Implements the XDR standard as specified in RFC 4506 in pure Go -License: ISC -URL: %{gourl} -Source0: %{gosource} - -%description -%{common_description} - -%gopkg - -%prep -%goprep -find . -name "*.go" -exec sed -i "s|github.com/davecgh/go-xdr|github.com/rasky/go-xdr|" "{}" +; - -%install -%gopkginstall - -%if %{with check} -%check -%gocheck -%endif - -%gopkgfiles - -%changelog -* Thu May 23 22:04:27 CEST 2019 Robert-Andr Mauchin zebob.m@gmail.com - 0-0.4.20190523git1a41d1a -- Update to new macros - -* Fri Feb 01 2019 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.20150914git1a41d1a -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.2.20150914git1a41d1a -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Feb 13 2018 Kaushal kshlmster@gmail.com - 0-0.1.20150914git1a41d1a -- First package for Fedora diff --git a/sources b/sources deleted file mode 100644 index 402ddf8..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (go-xdr-1a41d1a06c93bf8a0e0385be3847a277bb793187.tar.gz) = fe1dbadc5b836d8d6dba5ee53418fdd6deede6ba3ca7f38260aa98e71c4cca2ba22d4715be464835feb4f72dd3cbb806a347d88a4c5e58e58fbc3fbef6b0b303
commit c48454783d166cf2c20453bd42aa0f4087c3ef33 Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Thu May 23 22:35:27 2019 +0200
Update to new macros
Signed-off-by: Robert-Andr Mauchin zebob.m@gmail.com
diff --git a/.gitignore b/.gitignore index 8629a10..060a571 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /go-xdr-1a41d1a.tar.gz +/go-xdr-1a41d1a06c93bf8a0e0385be3847a277bb793187.tar.gz diff --git a/golang-github-rasky-go-xdr.spec b/golang-github-rasky-go-xdr.spec deleted file mode 100644 index 08deac5..0000000 --- a/golang-github-rasky-go-xdr.spec +++ /dev/null @@ -1,194 +0,0 @@ -# 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 0 -# Generate unit-test rpm -%global with_unit_test 0 - -%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 rasky -%global repo go-xdr -# https://github.com/rasky/go-xdr -%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 1a41d1a06c93bf8a0e0385be3847a277bb793187 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20150914 - -Name: golang-%{provider}-%{project}-%{repo} -Version: 0 -Release: 0.3.%{commitdate}git%{shortcommit}%{?dist} -Summary: Implements the XDR standard as specified in RFC 4506 in pure Google Go (Golang) -License: ISC -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 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} - - - -%description -%{summary} - -%if 0%{?with_devel} -%package devel -Summary: %{summary} -BuildArch: noarch - -%if 0%{?with_check} && ! 0%{?with_bundled} -%endif - - -Provides: golang(%{import_path}/xdr) = %{version}-%{release} -Provides: golang(%{import_path}/xdr2) = %{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} -BuildRequires: golang(github.com/davecgh/go-xdr/xdr) -%endif - -Requires: golang(github.com/davecgh/go-xdr/xdr) - -%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 -%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 - -%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}/xdr -%gotest %{import_path}/xdr2 -%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 Feb 01 2019 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.20150914git1a41d1a -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.2.20150914git1a41d1a -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Feb 13 2018 Kaushal kshlmster@gmail.com - 0-0.1.20150914git1a41d1a -- First package for Fedora - diff --git a/golang-github-rasky-xdr.spec b/golang-github-rasky-xdr.spec new file mode 100644 index 0000000..72109d1 --- /dev/null +++ b/golang-github-rasky-xdr.spec @@ -0,0 +1,58 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/rasky/go-xdr +%global goipath github.com/rasky/go-xdr +%global commit 1a41d1a06c93bf8a0e0385be3847a277bb793187 + +%gometa + +%global common_description %{expand: +Go-xdr implements the data representation portion of the External Data +Representation (XDR) standard protocol as specified in RFC 4506 (obsoletes RFC +1832 and RFC 1014) in Pure Go (Golang). A comprehensive suite of tests are +provided to ensure proper functionality. It is licensed under the liberal ISC +license, so it may be used in open source or commercial projects.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Version: 0 +Release: 0.4%{?dist} +Summary: Implements the XDR standard as specified in RFC 4506 in pure Go +License: ISC +URL: %{gourl} +Source0: %{gosource} + +%description +%{common_description} + +%gopkg + +%prep +%goprep +find . -name "*.go" -exec sed -i "s|github.com/davecgh/go-xdr|github.com/rasky/go-xdr|" "{}" +; + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Thu May 23 22:04:27 CEST 2019 Robert-Andr Mauchin zebob.m@gmail.com - 0-0.4.20190523git1a41d1a +- Update to new macros + +* Fri Feb 01 2019 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.20150914git1a41d1a +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.2.20150914git1a41d1a +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Feb 13 2018 Kaushal kshlmster@gmail.com - 0-0.1.20150914git1a41d1a +- First package for Fedora diff --git a/sources b/sources index 5e478bb..402ddf8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (go-xdr-1a41d1a.tar.gz) = fe1dbadc5b836d8d6dba5ee53418fdd6deede6ba3ca7f38260aa98e71c4cca2ba22d4715be464835feb4f72dd3cbb806a347d88a4c5e58e58fbc3fbef6b0b303 +SHA512 (go-xdr-1a41d1a06c93bf8a0e0385be3847a277bb793187.tar.gz) = fe1dbadc5b836d8d6dba5ee53418fdd6deede6ba3ca7f38260aa98e71c4cca2ba22d4715be464835feb4f72dd3cbb806a347d88a4c5e58e58fbc3fbef6b0b303