The package rpms/golang-deepin-dbus-factory.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-deepin-dbus-factory.git/co....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 8324513aab229ba196519417cca0b0b6aa68aaf2
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Wed Jun 5 00:00:38 2019 +0200
Update to new macros
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/golang-deepin-dbus-factory.spec b/golang-deepin-dbus-factory.spec
index 7b31105..4956453 100644
--- a/golang-deepin-dbus-factory.spec
+++ b/golang-deepin-dbus-factory.spec
@@ -1,43 +1,40 @@
-%global debug_package %{nil}
-%global repo dbus-factory
-%global import_path dbus
+# Generated by go2rpm
+%bcond_without check
+%global debug_package %{nil}
-Name: golang-deepin-%{repo}
-Version: 3.1.17
-Release: 2%{?dist}
+#
https://github.com/linuxdeepin/dbus-factory
+%global goipath
github.com/linuxdeepin/dbus-factory
+Version: 3.1.17
+%global tag 3.1.17
+
+%gometa
+
+%global goname golang-deepin-dbus-factory
+
+%global common_description %{expand:
+Golang DBus factory for Deepin Desktop Environment.}
+
+%global golicenses LICENSE
+%global godocs CHANGELOG.md README.md
+
+Name: %{goname}
+Release: 3%{?dist}
Summary: Golang DBus factory for Deepin Desktop Environment
-License: GPLv3+
-URL:
https://github.com/linuxdeepin/dbus-factory
-Source0: %{url}/archive/%{version}/%{repo}-%{version}.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 %{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}
+License: GPLv3
+URL: %{gourl}
+Source0: %{gosource}
BuildRequires: golang(pkg.deepin.io/lib)
BuildRequires: deepin-dbus-generator
BuildRequires: jq
BuildRequires: libxml2
-Provides: deepin-go-%{repo} = %{version}-%{release}
-Obsoletes: deepin-go-%{repo} < %{version}-%{release}
%description
-Golang DBus factory for Deepin Desktop Environment.
-
-%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.
+%{common_description}
%prep
-%setup -q -n %{repo}-%{version}
+%goprep
%build
%make_build
@@ -45,12 +42,20 @@ building other packages which use import path with
%install
%make_install GOPATH=%{gopath}
-%files devel
-%doc README.md
+%if %{with check}
+%check
+%gocheck
+%endif
+
+%files
%license LICENSE
-%{gopath}/src/dbus/
+%doc CHANGELOG.md README.md
+%{gopath}/src/dbus
%changelog
+* Tue Jun 04 22:31:59 CEST 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 3.1.17-3
+- Update to new macros
+
* Thu Jan 31 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.1.17-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild