The package rpms/rust-libxml.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-libxml.git/commit/?id=53b0e3....
Change:
+ExcludeArch: %{ix86} %{arm}
Thanks.
Full change:
============
commit 53b0e3b4435f2c45218d858ec9662b10dc0e9535
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Apr 6 19:41:25 2022 +0200
Update to version 0.3.1; Fixes RHBZ#1965304
diff --git a/.gitignore b/.gitignore
index fa60d17..738d912 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/libxml-0.2.15.crate
/libxml-0.2.16.crate
/libxml-0.2.17.crate
+/libxml-0.3.1.crate
diff --git a/libxml-fix-metadata.diff b/libxml-fix-metadata.diff
index 636ebc3..babca07 100644
--- a/libxml-fix-metadata.diff
+++ b/libxml-fix-metadata.diff
@@ -1,6 +1,16 @@
---- libxml-0.2.17/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ libxml-0.2.17/Cargo.toml 2021-05-19T11:41:38.833480+00:00
-@@ -37,9 +37,5 @@
+--- libxml-0.3.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ libxml-0.3.1/Cargo.toml 2022-04-05T21:07:28.407624+00:00
+@@ -27,19 +27,10 @@
+ [lib]
+ name = "libxml"
+
+-[[bench]]
+-name = "parsing_benchmarks"
+-harness = false
+ [dependencies.libc]
+ version = "0.2"
+-[dev-dependencies.criterion]
+-version = "0.3.0"
[dev-dependencies.rayon]
version = "1.0.0"
diff --git a/rust-libxml.spec b/rust-libxml.spec
index 9dcd3ba..66028b8 100644
--- a/rust-libxml.spec
+++ b/rust-libxml.spec
@@ -1,16 +1,11 @@
-# Generated by rust2rpm 17
-#
https://github.com/KWARC/rust-libxml/issues/73
-%if 0%{?__isa_bits} == 64
+# Generated by rust2rpm 21
%bcond_without check
-%else
-%bcond_with check
-%endif
%global debug_package %{nil}
%global crate libxml
Name: rust-%{crate}
-Version: 0.2.17
+Version: 0.3.1
Release: %autorelease
Summary: Rust wrapper for libxml2
@@ -19,15 +14,17 @@ License: MIT
URL:
https://crates.io/crates/libxml
Source: %{crates_source}
# Initial patched metadata
+# * drop unused, benchmark-only criterion dev-dependency to speed up builds
# * drop windows- and mac OS-specific dependencies
Patch0: libxml-fix-metadata.diff
ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
+# * disable building on 32-bit architectures (bindings were generated on a
+# 64-bit architecture and hard-code 64-bit assumptions):
+#
https://github.com/KWARC/rust-libxml/issues/73
+ExcludeArch: %{ix86} %{arm}
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Rust wrapper for libxml2 - the XML C parser and toolkit developed for the Gnome
@@ -42,13 +39,14 @@ Requires: pkgconfig(libxml-2.0)
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE
-%doc README.md CHANGELOG.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -56,11 +54,11 @@ 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.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/sources b/sources
index 0edaa6a..62f875b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libxml-0.2.17.crate) =
ba6daa674d3775beb241c7af848de7e3fc0d4a080dbf607df8074829d413001129ed15bcdce04cfb32f9a5910cef508e629c224844c85ba5689e09ab47438dc1
+SHA512 (libxml-0.3.1.crate) =
adca1d00a6826420dae0b0b9a29f4fa73f798b9c5c5898d1f169e1f3472064575429b6474b5247a8a1da730601b40560dcc75dc235b34e2b37a2a6531cd447cc
commit b5a90d7b9a565eab6ff048107bd41ce0ed80d6ba
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue Apr 5 23:06:54 2022 +0200
convert to rpmautospec
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..a8a80b4
--- /dev/null
+++ b/changelog
@@ -0,0 +1,25 @@
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.17-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.17-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Wed May 19 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.2.17-1
+- Update to version 0.2.17.
+- Fixes RHBZ#1961231
+
+* Mon Feb 15 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.2.16-1
+- Update to version 0.2.16.
+- Fixes RHBZ#1922874
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.15-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Thu Oct 01 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.2.15-1
+- Update to version 0.2.15.
+
+* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.14-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Tue May 12 16:35:46 CEST 2020 Igor Raits <i.gnatenko.brain(a)gmail.com> - 0.2.14-1
+- Initial package
diff --git a/rust-libxml.spec b/rust-libxml.spec
index a4a56f6..9dcd3ba 100644
--- a/rust-libxml.spec
+++ b/rust-libxml.spec
@@ -11,7 +11,7 @@
Name: rust-%{crate}
Version: 0.2.17
-Release: 3%{?dist}
+Release: %autorelease
Summary: Rust wrapper for libxml2
# Upstream license specification: MIT
@@ -82,28 +82,4 @@ echo 'pkgconfig(libxml-2.0)'
%endif
%changelog
-* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.17-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.17-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Wed May 19 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.2.17-1
-- Update to version 0.2.17.
-- Fixes RHBZ#1961231
-
-* Mon Feb 15 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.2.16-1
-- Update to version 0.2.16.
-- Fixes RHBZ#1922874
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.15-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Thu Oct 01 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.2.15-1
-- Update to version 0.2.15.
-
-* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.14-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Tue May 12 16:35:46 CEST 2020 Igor Raits <i.gnatenko.brain(a)gmail.com> - 0.2.14-1
-- Initial package
+%autochangelog
commit 1b40e51fcbf67a7f9568be0f7f5e36bea444baa3
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 21 21:39:36 2022 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/rust-libxml.spec b/rust-libxml.spec
index 7809cae..a4a56f6 100644
--- a/rust-libxml.spec
+++ b/rust-libxml.spec
@@ -11,7 +11,7 @@
Name: rust-%{crate}
Version: 0.2.17
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Rust wrapper for libxml2
# Upstream license specification: MIT
@@ -82,6 +82,9 @@ echo 'pkgconfig(libxml-2.0)'
%endif
%changelog
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.17-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.17-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
commit 23f9ea8a0c50a07001dca8df2c00d99d612a7086
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 23 14:39:56 2021 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/rust-libxml.spec b/rust-libxml.spec
index b744e57..7809cae 100644
--- a/rust-libxml.spec
+++ b/rust-libxml.spec
@@ -11,7 +11,7 @@
Name: rust-%{crate}
Version: 0.2.17
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Rust wrapper for libxml2
# Upstream license specification: MIT
@@ -82,6 +82,9 @@ echo 'pkgconfig(libxml-2.0)'
%endif
%changelog
+* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.17-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
* Wed May 19 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.2.17-1
- Update to version 0.2.17.
- Fixes RHBZ#1961231