The package rpms/golang-layeh-gopher-luar.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-layeh-gopher-luar.git/comm....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 99a3c249d965fb15c4bf2b94d0a66c668911f0c3
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Thu Jun 28 23:59:49 2018 +0200
Add missing archive
diff --git a/.gitignore b/.gitignore
index 627c91b..3c77ef6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/gopher-luar-1.0.1.tar.gz
+/gopher-luar-1.0.3.tar.gz
diff --git a/sources b/sources
index cd2c894..11fc0f0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gopher-luar-1.0.1.tar.gz) =
d8617eb5e25b727a14e50730d035d9bdf93c4eb506b47d62b47da9d97320499620397e837709ea1bdfeef4266c87672d06b426e9f6db5b1d0b674d3998eb390b
+SHA512 (gopher-luar-1.0.3.tar.gz) =
4b8e2680e0c744f9856251b55c3a4c5d35e46a6323c67301fdecb61966ac6e6e2db038bd4a1cf13409a87f08c0e81c767dbfb294b590fd90f23401691df1a6af
commit 8324e3d9f6845be745b196c2d5a477cfc8e96493
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Thu Jun 28 23:44:23 2018 +0200
Bump to 1.0.3
diff --git a/golang-layeh-gopher-luar.spec b/golang-layeh-gopher-luar.spec
index 5afa67a..140e934 100644
--- a/golang-layeh-gopher-luar.spec
+++ b/golang-layeh-gopher-luar.spec
@@ -1,185 +1,62 @@
-# 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 layeh
-%global repo gopher-luar
-#
https://github.com/layeh/gopher-luar
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path
layeh.com/gopher-luar
-%global commit 6a6a71f079f7e727b5331cd48cf3dfc6028743c7
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global commitdate 20170713
+%bcond_without check
-Name: golang-%{project}-%{repo}
-Version: 1.0.1
-Release: 2%{?dist}
-Summary: Custom type reflection for gopher-lua
-License: MPLv2.0
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/v%{version}/%{repo}-%{version}.tar.gz
+%global goipath
layeh.com/gopher-luar
+%global forgeurl
https://github.com/layeh/gopher-luar
+Version: 1.0.3
-# 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}
+%global common_description %{expand:
+Custom type reflection for gopher-lua.}
+%gometa
+Name: %{goname}
+Release: 1%{?dist}
+Summary: Custom type reflection for gopher-lua
+License: MPLv2.0
+URL: %{gourl}
+Source: %{gosource}
-%description
-%{summary}
-
-%if 0%{?with_devel}
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-
-%if 0%{?with_check} && ! 0%{?with_bundled}
BuildRequires:
golang(github.com/yuin/gopher-lua)
-%endif
-Requires:
golang(github.com/yuin/gopher-lua)
+%description
+%{common_description}
-Provides: golang(%{import_path}) = %{version}-%{release}
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
%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}
+%{common_description}
+
+This package contains the source code needed for building packages that import
+the %{goipath} Go namespace.
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
%prep
-%autosetup -n %{repo}-%{version}
+%forgeautosetup
+
-%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
+%goinstall
-# 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
+%if %{with check}
%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}
+%gochecks
%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}
-
-
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README.md
-%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
+* Thu Jun 28 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.0.3-1
+- Bump to 1.0.3
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild