The package rpms/rpm-ostree.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/rpm-ostree.git/commit/?id=a707bea....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit f2b60ed3536e1022ccb94a721a0cccc00635a5a9
Author: Jonathan Lebon <jonathan(a)jlebon.com>
Date: Fri Jun 29 15:37:43 2018 -0400
Bump release for Rust rebuild
diff --git a/rpm-ostree.spec b/rpm-ostree.spec
index 5035b18..d4af241 100644
--- a/rpm-ostree.spec
+++ b/rpm-ostree.spec
@@ -9,7 +9,7 @@
Summary: Hybrid image/package system
Name: rpm-ostree
Version: 2018.6
-Release: 1%{?dist}
+Release: 2%{?dist}
#VCS:
https://github.com/cgwalters/rpm-ostree
# This tarball is generated via "cd packaging && make -f
Makefile.dist-packaging dist-snapshot"
# in the upstream git. If rust is enabled, it contains vendored sources.
@@ -174,6 +174,9 @@ python autofiles.py > files.devel \
%files devel -f files.devel
%changelog
+* Fri Jun 29 2018 Jonathan Lebon <jonathan(a)jlebon.com> - 2018.6-2
+- Rebuild for yummy Rusty bitsy
+
* Fri Jun 29 2018 Jonathan Lebon <jonathan(a)jlebon.com> - 2018.6-1
- New upstream version
commit a707bea8794c76883080761cf2a2d9e4a074d4d4
Author: Colin Walters <walters(a)verbum.org>
Date: Fri Jun 8 12:30:01 2018 -0400
Enable Rust
rpm-ostree now includes some Rust code.
See
https://github.com/projectatomic/rpm-ostree/pull/1377
and
https://github.com/projectatomic/rpm-ostree/pull/1391
diff --git a/rpm-ostree.spec b/rpm-ostree.spec
index 1165f96..5035b18 100644
--- a/rpm-ostree.spec
+++ b/rpm-ostree.spec
@@ -1,13 +1,27 @@
+# Upstream has --enable-rust, but let's use it by default in Fedora
+# Note the Rust sources are in the tarball using cargo-vendor.
+%if 0%{?fedora} >= 28
+%bcond_without rust
+%else
+%bcond_with rust
+%endif
+
Summary: Hybrid image/package system
Name: rpm-ostree
Version: 2018.6
Release: 1%{?dist}
#VCS:
https://github.com/cgwalters/rpm-ostree
-# This tarball is generated via "make -f Makefile.dist-packaging
dist-snapshot"
+# This tarball is generated via "cd packaging && make -f
Makefile.dist-packaging dist-snapshot"
+# in the upstream git. If rust is enabled, it contains vendored sources.
Source0: rpm-ostree-%{version}.tar.xz
License: LGPLv2+
URL:
https://github.com/projectatomic/rpm-ostree
+%if %{with rust}
+ExclusiveArch: %{rust_arches}
+BuildRequires: cargo
+BuildRequires: rust-packaging
+%endif
# We always run autogen.sh
BuildRequires: autoconf automake libtool git
# For docs
@@ -98,7 +112,8 @@ The %{name}-devel package includes the header files for %{name}-libs.
%build
env NOCONFIGURE=1 ./autogen.sh
-%configure --disable-silent-rules --enable-gtk-doc
+%configure --disable-silent-rules --enable-gtk-doc \
+ %{?with_rust:--enable-rust}
make %{?_smp_mflags}
%install