The package rpms/rust-html2pango.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/rust-html2pango.git/commit/?id=12....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 12aadc4570d8f9117ccc95816e29a03591b8a3ba
Author: Artem Polishchuk <ego.cordatus(a)gmail.com>
Date: Fri May 3 13:02:10 2019 +0300
Initial import (#1704187).
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..2c8b4f6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/html2pango-0.3.1.crate
diff --git a/html2pango-fix-metadata.diff b/html2pango-fix-metadata.diff
new file mode 100644
index 0000000..a121d7e
--- /dev/null
+++ b/html2pango-fix-metadata.diff
@@ -0,0 +1,20 @@
+--- ./Cargo.toml 1970-01-01T00:00:00+00:00
++++ ./Cargo.toml 1970-01-01T00:00:00+00:00
+@@ -20,7 +20,7 @@
+ license = "GPL-3.0"
+ repository = "https://gitlab.gnome.org/World/html2pango"
+ [dependencies.ammonia]
+-version = "1.1.0"
++version = "2.0.0"
+
+ [dependencies.failure]
+ version = "0.1.1"
+@@ -38,6 +38,6 @@
+ version = "1.0.1"
+
+ [dependencies.regex]
+-version = "0.2.10"
++version = "1.1.0"
+ [dev-dependencies.pretty_assertions]
+-version = "0.5.1"
++version = "0.6.0"
diff --git a/rust-html2pango.spec b/rust-html2pango.spec
new file mode 100644
index 0000000..1f5d880
--- /dev/null
+++ b/rust-html2pango.spec
@@ -0,0 +1,81 @@
+# Generated by rust2rpm
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate html2pango
+
+Name: rust-%{crate}
+Version: 0.3.1
+Release: 1%{?dist}
+Summary: Library to convert html to pango
+
+# Upstream license specification: GPL-3.0
+License: GPLv3+
+URL:
https://crates.io/crates/html2pango
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(ammonia/default) >= 2.0.0 with crate(ammonia/default) <
3.0.0)
+BuildRequires: (crate(failure/default) >= 0.1.5 with crate(failure/default) <
0.2.0)
+BuildRequires: (crate(html5ever/default) >= 0.22.5 with crate(html5ever/default) <
0.23.0)
+BuildRequires: (crate(lazy_static/default) >= 1.3.0 with crate(lazy_static/default)
< 2.0.0)
+BuildRequires: (crate(linkify/default) >= 0.3.1 with crate(linkify/default) <
0.4.0)
+BuildRequires: (crate(maplit/default) >= 1.0.1 with crate(maplit/default) <
2.0.0)
+BuildRequires: (crate(regex/default) >= 1.1.2 with crate(regex/default) < 2.0.0)
+%if %{with check}
+BuildRequires: (crate(pretty_assertions/default) >= 0.6.1 with
crate(pretty_assertions/default) < 0.7.0)
+%endif
+
+%global _description \
+Small rust lib to parse simple html tags and convert to pango markup. This lib\
+also converts raw links to http links and sanitizes the message to avoid not\
+wanted tags.
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sat Apr 27 16:31:57 EEST 2019 Artem Polishchuk <ego.cordatus(a)gmail.com> -
0.3.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..91ead5e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (html2pango-0.3.1.crate) =
a0d64e34fff9be28972818d9aaee54234eebf492ce4f9b4f787035762eb3197aec520f80816a5fb5fe463d16df3e391556974b5ff403b68afc24080d3956c678