The package rpms/golang-github-howeyc-fsnotify.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-howeyc-fsnotify.git....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 8989a5de0ec0454a7d20778400cc4cbb9b7ac345
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Tue Sep 8 21:47:24 2020 +0200
Initial import
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index 0fec0a1..936cd27 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/fsnotify-441bbc8.tar.gz
+/fsnotify-f0c08ee9c60704c1879025f2ae0ff3e000082c13.tar.gz
diff --git a/golang-github-howeyc-fsnotify.spec b/golang-github-howeyc-fsnotify.spec
index 31d93fe..e48f403 100644
--- a/golang-github-howeyc-fsnotify.spec
+++ b/golang-github-howeyc-fsnotify.spec
@@ -1,119 +1,46 @@
-# Please use golang-github-go-fsnotify-fsnotify-devel
-#
https://github.com/fsnotify/fsnotify
-%global debug_package %{nil}
+# Generated by go2rpm 1
+%bcond_without check
-%global provider github
-%global provider_tld com
-%global project howeyc
-%global repo fsnotify
#
https://github.com/howeyc/fsnotify
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 441bbc86b167f3c1f4786afae9931403b99fdacf
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global goipath
github.com/howeyc/fsnotify
+Version: 0.9.0
+%global commit f0c08ee9c60704c1879025f2ae0ff3e000082c13
-Name: golang-%{provider}-%{project}-%{repo}
-Version: 0.9.0
-Release: 0.4.git%{shortcommit}%{?dist}
-Summary: File change notification Go language Binding.
-License: BSD 3-clause
-URL: https://%{provider_prefix}
-Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+%gometa
-# 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}
+%global common_description %{expand:
+File system notification for Go.}
-%description
-%{summary}.
-
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-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.
+%global golicenses LICENSE
+%global godocs AUTHORS CHANGELOG.md CONTRIBUTING.md README.md
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
+Name: %{goname}
+Release: 1%{?dist}
+Summary: File system notification for Go
-%description unit-test-devel
-%{summary}.
+# Upstream license specification: BSD-3-Clause
+License: BSD
+URL: %{gourl}
+Source0: %{gosource}
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
+%description
+%{common_description}
+%gopkg
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%goprep
%install
-# source codes for building projects
-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" \! -iname "*_test.go") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >>
devel.file-list
- 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
-
-# testing files for this project
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.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
-
-sort -u -o devel.file-list devel.file-list
-sort -u -o unit-test-devel.file-list unit-test-devel.file-list
+%gopkginstall
+%if %{with check}
%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-
-%if ! 0%{?gotest:1}
-%global gotest go test
+%gocheck
%endif
-# Test fail
-#%%gotest %%{import_path}
-
-%files devel -f devel.file-list
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-
-%files unit-test-devel -f unit-test-devel.file-list
+%gopkgfiles
%changelog
-* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> -
0.9.0-0.4.git441bbc8
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0.9.0-0.3.git441bbc8
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0.9.0-0.2.git441bbc8
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Fri Aug 18 2017 mosquito <sensor.wen(a)gmail.com> - 0.9.0-0.1.git441bbc8
-- Rebuild
-
-* Wed Dec 28 2016 Jaroslav <cz.guardian(a)gmail.com> Stepanek 0.9.0.1.git441bbc8
-- Initial package build
+* Tue Aug 11 21:26:01 CEST 2020 Robert-André Mauchin <zebob.m(a)gmail.com> -
0.9.0-1.20200811gitf0c08ee
+- Initial package
diff --git a/sources b/sources
index 1f47209..ada8e93 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (fsnotify-441bbc8.tar.gz) =
e4cd9cbfa5a7ce4c0617738dca8e97cecf6e11e0a57ae1ebef8c903fc002da847be0471ad9788b9b724d0423a5ae859b77f07192121c6957fee07143ceb9ad96
+SHA512 (fsnotify-f0c08ee9c60704c1879025f2ae0ff3e000082c13.tar.gz) =
a0b1a13d82303fb2eed7f884360b6010722a47233bccacc0b048cbea7bab9be981fff9197fa0aaef587b191b68a50fffa7997ffc2b819dbff4af2b17005b136f