The package rpms/golang-bazil-fuse.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-bazil-fuse.git/commit/?id=....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 21a34bfaaa20f555fb05e9e6ad746f6204d5a84d
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Wed Mar 14 23:15:38 2018 +0100
Fix BuildRequires
diff --git a/golang-bazil-fuse.spec b/golang-bazil-fuse.spec
index bf082e3..a0b0568 100644
--- a/golang-bazil-fuse.spec
+++ b/golang-bazil-fuse.spec
@@ -14,16 +14,14 @@ Go library for writing FUSE userspace filesystems.}
Name: %{goname}
Version: 0
-Release: 0.3%{?dist}
+Release: 0.4%{?dist}
Summary: Go library for writing FUSE userspace filesystems
License: BSD and MIT
URL: %{gourl}
Source: %{gosource}
-%if %{with check}
BuildRequires:
golang(golang.org/x/net/context)
BuildRequires:
golang(golang.org/x/sys/unix)
-%endif
%description
%{common_description}
@@ -59,7 +57,10 @@ break
%changelog
-* Wed Mar 07 2018 Robert-André Mauchin <zebob.m(a)gmail.com> -
0-0.3.20180310git371fbbd
+* Wed Mar 14 2018 Robert-André Mauchin <zebob.m(a)gmail.com> -
0-0.4.20180313git371fbbd
+- Fix BuildRequires
+
+* Wed Mar 07 2018 Robert-André Mauchin <zebob.m(a)gmail.com> -
0-0.3.20180313git371fbbd
- Update with the new Go packaging
- Add doc and examples
- Make devel package arched
commit 8ec49dc6af53f79c1ec6cd95a378993fc828f586
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Tue Mar 13 22:42:57 2018 +0100
Update with the new Go packaging
Add doc and examples
Make devel package arched
diff --git a/golang-bazil-fuse.spec b/golang-bazil-fuse.spec
index 7b568de..bf082e3 100644
--- a/golang-bazil-fuse.spec
+++ b/golang-bazil-fuse.spec
@@ -10,7 +10,7 @@
%global common_description %{expand:
Go library for writing FUSE userspace filesystems.}
-%gometa -i
+%gometa
Name: %{goname}
Version: 0
@@ -31,7 +31,6 @@ BuildRequires:
golang(golang.org/x/sys/unix)
%package devel
Summary: %{summary}
-BuildArch: noarch
%description devel
%{common_description}
@@ -46,7 +45,7 @@ the %{goipath} Go namespace.
%install
%goinstall
-
+break
%if %{with check}
%check
@@ -56,12 +55,14 @@ the %{goipath} Go namespace.
%files devel -f devel.file-list
%license LICENSE
-%doc README.md
+%doc README.md doc examples
%changelog
* Wed Mar 07 2018 Robert-André Mauchin <zebob.m(a)gmail.com> -
0-0.3.20180310git371fbbd
- Update with the new Go packaging
+- Add doc and examples
+- Make devel package arched
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.2.20160811git371fbbd
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit b2f328d3f106614623c297c29599705925b3ece7
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sun Mar 11 00:32:16 2018 +0100
Fix snapshot date
diff --git a/golang-bazil-fuse.spec b/golang-bazil-fuse.spec
index dd56c97..7b568de 100644
--- a/golang-bazil-fuse.spec
+++ b/golang-bazil-fuse.spec
@@ -60,7 +60,7 @@ the %{goipath} Go namespace.
%changelog
-* Wed Mar 07 2018 Robert-André Mauchin <zebob.m(a)gmail.com> -
0-0.3.20180308git371fbbd
+* Wed Mar 07 2018 Robert-André Mauchin <zebob.m(a)gmail.com> -
0-0.3.20180310git371fbbd
- Update with the new Go packaging
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.2.20160811git371fbbd
commit e3c53de2e86d9728f0bb2be25e77ae55cec9c67c
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sun Mar 11 00:11:33 2018 +0100
Forge-specific packaging variables
forgeurl:
https://github.com/bazil/fuse
forgesource:
https://github.com/bazil/fuse/archive/371fbbdaa8987b715bdd21d6adc4c9b2015...
forgesetupargs: -n fuse-371fbbdaa8987b715bdd21d6adc4c9b20155f748
Generic variables
archivename: fuse-371fbbdaa8987b715bdd21d6adc4c9b20155f748
archiveext: tar.gz
archiveurl:
https://github.com/bazil/fuse/archive/371fbbdaa8987b715bdd21d6adc4c9b2015...
scm: git
tag:
commit: 371fbbdaa8987b715bdd21d6adc4c9b20155f748
dist: .20180310git371fbbd.fc29 (snapshot date is computed once
%{_sourcedir}/%{archivename}.%{archiveext} is available)
Go-specific packaging variables
goipath:
bazil.org/fuse
goname: golang-bazil-fuse
gourl:
https://github.com/bazil/fuse
gosource:
https://github.com/bazil/fuse/archive/371fbbdaa8987b715bdd21d6adc4c9b2015...
Update with the new Go packaging
diff --git a/.gitignore b/.gitignore
index 8aa0244..56bd3ac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/fuse-371fbbd.tar.gz
+/fuse-371fbbdaa8987b715bdd21d6adc4c9b20155f748.tar.gz
diff --git a/golang-bazil-fuse.spec b/golang-bazil-fuse.spec
index 2add410..dd56c97 100644
--- a/golang-bazil-fuse.spec
+++ b/golang-bazil-fuse.spec
@@ -1,194 +1,68 @@
-# 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
-# Deactivating test: tests depends on fuse being present and fuse.ko being loaded
-# but the chroot doesn't allow to insert module.
-%global with_check 0
-# 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
-
+# Deactivating test: tests depends on fuse being present and fuse.ko being
+# loaded but the chroot doesn't allow to insert module.
+%bcond_with check
-%global provider github
-%global provider_tld com
-%global project bazil
-%global repo fuse
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path
bazil.org/fuse
+%global goipath
bazil.org/fuse
+%global forgeurl
https://github.com/bazil/fuse
%global commit 371fbbdaa8987b715bdd21d6adc4c9b20155f748
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global commitdate 20160811
-
-Name: golang-bazil-fuse
-Version: 0
-Release: 0.2.%{commitdate}git%{shortcommit}%{?dist}
-Summary: Go library for writing FUSE userspace filesystems
-# BSD except fuse.go under MIT licensing
-License: BSD and MIT
-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 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:
+Go library for writing FUSE userspace filesystems.}
+%gometa -i
-%description
-%{summary}
-
-%if 0%{?with_devel}
-%package devel
-Summary: %{summary}
-BuildArch: noarch
+Name: %{goname}
+Version: 0
+Release: 0.3%{?dist}
+Summary: Go library for writing FUSE userspace filesystems
+License: BSD and MIT
+URL: %{gourl}
+Source: %{gosource}
-%if 0%{?with_check} && ! 0%{?with_bundled}
+%if %{with check}
BuildRequires:
golang(golang.org/x/net/context)
BuildRequires:
golang(golang.org/x/sys/unix)
%endif
-Requires:
golang(golang.org/x/net/context)
-Requires:
golang(golang.org/x/sys/unix)
+%description
+%{common_description}
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/fs) = %{version}-%{release}
-Provides: golang(%{import_path}/fs/bench) = %{version}-%{release}
-Provides: golang(%{import_path}/fs/fstestutil) = %{version}-%{release}
-Provides: golang(%{import_path}/fs/fstestutil/record) = %{version}-%{release}
-Provides: golang(%{import_path}/fuseutil) = %{version}-%{release}
-Provides: golang(%{import_path}/syscallx) = %{version}-%{release}
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
%description devel
-%{summary}
+%{common_description}
+
+This package contains the source code needed for building packages that import
+the %{goipath} Go namespace.
-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}
-
-%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}
+%gosetup -q
-%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
+%install
+%goinstall
-%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}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
+%gochecks
%endif
-%gotest %{import_path}
-%gotest %{import_path}/fs
-%gotest %{import_path}/fs/bench
-%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/bazil.org/
-%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
+* Wed Mar 07 2018 Robert-André Mauchin <zebob.m(a)gmail.com> -
0-0.3.20180308git371fbbd
+- Update with the new Go packaging
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.2.20160811git371fbbd
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 96f7e5b..a375759 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (fuse-371fbbd.tar.gz) =
0a09cf11b5d7851fc2af3f72ab8400a33445191bc9da0f196c5b4a7d1f57c4845f3daa72edb30ca44acf548fdb5f52c4bd3fbae73d914023c4560791c23e26e3
+SHA512 (fuse-371fbbdaa8987b715bdd21d6adc4c9b20155f748.tar.gz) =
0a09cf11b5d7851fc2af3f72ab8400a33445191bc9da0f196c5b4a7d1f57c4845f3daa72edb30ca44acf548fdb5f52c4bd3fbae73d914023c4560791c23e26e3
commit 6ba4659ebea8f25c320b11f40f652abb814f2edd
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 13:49:07 2018 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/golang-bazil-fuse.spec b/golang-bazil-fuse.spec
index f0add78..2add410 100644
--- a/golang-bazil-fuse.spec
+++ b/golang-bazil-fuse.spec
@@ -44,7 +44,7 @@
Name: golang-bazil-fuse
Version: 0
-Release: 0.1.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.2.%{commitdate}git%{shortcommit}%{?dist}
Summary: Go library for writing FUSE userspace filesystems
# BSD except fuse.go under MIT licensing
License: BSD and MIT
@@ -189,6 +189,9 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.2.20160811git371fbbd
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Mon Jul 24 2017 Robert-André Mauchin <zebob.m(a)gmail.com> -
0-0.1.20160811git371fbbd
- First package for Fedora