Architecture specific change in rpms/rust-nu-path.git
by githook-noreply@fedoraproject.org
The package rpms/rust-nu-path.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-nu-path.git/commit/?id=030a7....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 030a7e512638b5d6f414af2ebd5c4cf08ec56c86
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Wed Apr 6 10:07:13 2022 -0700
Initial Fedora package
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0054eaa
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/nu-path-0.60.0.crate
+/nu-path-LICENSE
diff --git a/rust-nu-path.spec b/rust-nu-path.spec
new file mode 100644
index 0000000..94480d7
--- /dev/null
+++ b/rust-nu-path.spec
@@ -0,0 +1,76 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate nu-path
+
+Name: rust-%{crate}
+Version: 0.60.0
+Release: 1%{?dist}
+Summary: Path handling library for Nushell
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/nu-path
+Source: %{crates_source}
+# license text not included yet in most crates
+# see https://github.com/nushell/nushell/pull/5094
+Source1: https://raw.githubusercontent.com/nushell/nushell/main/LICENSE#/%{crate}-...
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Path handling library for Nushell.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%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 the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+cp -p %{SOURCE1} LICENSE
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon Apr 04 2022 Michel Alexandre Salim <salimma(a)fedoraproject.org> - 0.60.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..54b5427
--- /dev/null
+++ b/sources
@@ -0,0 +1,2 @@
+SHA512 (nu-path-0.60.0.crate) = b1dc297900db7e2b829f95f47f4af200186f0d896d0735f98adf0b6c4dfb5a4a02d12c44b4f30c62f9590bdd30990cbd69675ecddd727fba898537e58bff97a5
+SHA512 (nu-path-LICENSE) = 2d34e911a4a466733002770531ea8527c3fe8d18a2d9b06de9a716008d6b03be8b623eaa7d1840d96b42463ec524d2351b3816c9975b872bf17f748360d2b27e
2 years
Architecture specific change in rpms/rust-inventory0.1.git
by githook-noreply@fedoraproject.org
The package rpms/rust-inventory0.1.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-inventory0.1.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 1e35a2fa7a5e1708cbfeff4a2256bdc83dba5c29
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Apr 6 19:46:06 2022 +0200
Initial import (inventory 0.1 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d08cf75
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/inventory-0.1.11.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index a5329d2..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-inventory0.1
-
-The rust-inventory0.1 package
diff --git a/rust-inventory0.1.spec b/rust-inventory0.1.spec
new file mode 100644
index 0000000..68f925b
--- /dev/null
+++ b/rust-inventory0.1.spec
@@ -0,0 +1,72 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate inventory
+
+Name: rust-%{crate}0.1
+Version: 0.1.11
+Release: %autorelease
+Summary: Typed distributed plugin registration
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/inventory
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Typed distributed plugin registration.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%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 the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..e8e1fd5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (inventory-0.1.11.crate) = 350dfba4bc07b0702ef505c4993643465e2cc05102f3763c36f91782a8e0a1fb88d99d56cae09eba7abb989197eabc7a5f75212778eb6d5cb1e3f108635f364d
2 years
Architecture specific change in rpms/rust-inventory0.1.git
by githook-noreply@fedoraproject.org
The package rpms/rust-inventory0.1.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-inventory0.1.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 1e35a2fa7a5e1708cbfeff4a2256bdc83dba5c29
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Apr 6 19:46:06 2022 +0200
Initial import (inventory 0.1 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d08cf75
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/inventory-0.1.11.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index a5329d2..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-inventory0.1
-
-The rust-inventory0.1 package
diff --git a/rust-inventory0.1.spec b/rust-inventory0.1.spec
new file mode 100644
index 0000000..68f925b
--- /dev/null
+++ b/rust-inventory0.1.spec
@@ -0,0 +1,72 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate inventory
+
+Name: rust-%{crate}0.1
+Version: 0.1.11
+Release: %autorelease
+Summary: Typed distributed plugin registration
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/inventory
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Typed distributed plugin registration.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%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 the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..e8e1fd5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (inventory-0.1.11.crate) = 350dfba4bc07b0702ef505c4993643465e2cc05102f3763c36f91782a8e0a1fb88d99d56cae09eba7abb989197eabc7a5f75212778eb6d5cb1e3f108635f364d
2 years
Architecture specific change in rpms/rust-inventory0.1.git
by githook-noreply@fedoraproject.org
The package rpms/rust-inventory0.1.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-inventory0.1.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 1e35a2fa7a5e1708cbfeff4a2256bdc83dba5c29
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Apr 6 19:46:06 2022 +0200
Initial import (inventory 0.1 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d08cf75
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/inventory-0.1.11.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index a5329d2..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-inventory0.1
-
-The rust-inventory0.1 package
diff --git a/rust-inventory0.1.spec b/rust-inventory0.1.spec
new file mode 100644
index 0000000..68f925b
--- /dev/null
+++ b/rust-inventory0.1.spec
@@ -0,0 +1,72 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate inventory
+
+Name: rust-%{crate}0.1
+Version: 0.1.11
+Release: %autorelease
+Summary: Typed distributed plugin registration
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/inventory
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Typed distributed plugin registration.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%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 the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..e8e1fd5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (inventory-0.1.11.crate) = 350dfba4bc07b0702ef505c4993643465e2cc05102f3763c36f91782a8e0a1fb88d99d56cae09eba7abb989197eabc7a5f75212778eb6d5cb1e3f108635f364d
2 years
Architecture specific change in rpms/rust-libxml.git
by githook-noreply@fedoraproject.org
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
2 years
Architecture specific change in rpms/rust-libxml.git
by githook-noreply@fedoraproject.org
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
2 years
Architecture specific change in rpms/rust-libxml.git
by githook-noreply@fedoraproject.org
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
2 years
Architecture specific change in rpms/rust-libxml0.2.git
by githook-noreply@fedoraproject.org
The package rpms/rust-libxml0.2.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-libxml0.2.git/commit/?id=9cc....
Change:
+ExcludeArch: %{ix86} %{arm}
Thanks.
Full change:
============
commit 9ccf9938cb108dab0120317e4c0ff03a4ff1e32c
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Apr 6 19:38:23 2022 +0200
Initial import (libxml 0.2 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a8f9825
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/libxml-0.2.16.crate
diff --git a/.rust2rpm.conf b/.rust2rpm.conf
new file mode 100644
index 0000000..c8c641b
--- /dev/null
+++ b/.rust2rpm.conf
@@ -0,0 +1,5 @@
+[DEFAULT]
+buildrequires =
+ pkgconfig(libxml-2.0)
+lib.requires =
+ pkgconfig(libxml-2.0)
diff --git a/README.md b/README.md
deleted file mode 100644
index deec220..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-libxml0.2
-
-The rust-libxml0.2 package
diff --git a/libxml-fix-metadata.diff b/libxml-fix-metadata.diff
new file mode 100644
index 0000000..dfe52c5
--- /dev/null
+++ b/libxml-fix-metadata.diff
@@ -0,0 +1,22 @@
+--- libxml-0.2.16/Cargo.toml 2021-02-01T00:47:25+00:00
++++ libxml-0.2.16/Cargo.toml 2022-04-05T21:11:19.119297+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"
+-[target."cfg(macos)".build-dependencies.pkg-config]
+-version = "0.3.2"
+ [target."cfg(unix)".build-dependencies.pkg-config]
+ version = "0.3.2"
+-[target."cfg(windows)".build-dependencies.vcpkg]
+-version = "0.2"
diff --git a/rust-libxml0.2.spec b/rust-libxml0.2.spec
new file mode 100644
index 0000000..b9d5965
--- /dev/null
+++ b/rust-libxml0.2.spec
@@ -0,0 +1,83 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate libxml
+
+Name: rust-%{crate}0.2
+Version: 0.2.16
+Release: %autorelease
+Summary: Rust wrapper for libxml2
+
+# Upstream license specification: MIT
+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}
+# * 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 >= 21
+
+%global _description %{expand:
+Rust wrapper for libxml2 - the XML C parser and toolkit developed for the Gnome
+project.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: pkgconfig(libxml-2.0)
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%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 the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+echo 'pkgconfig(libxml-2.0)'
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..082f652
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (libxml-0.2.16.crate) = 375c0efcfe12dab4199d2fb7eb817ab8c9491fdf7f042f637a129a74cad1082ce146a8cd4602657d03ce3c77eaa3e6567a7c0ef459311eb60715d873ec40bb8b
2 years
Architecture specific change in rpms/rust-libxml0.2.git
by githook-noreply@fedoraproject.org
The package rpms/rust-libxml0.2.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-libxml0.2.git/commit/?id=9cc....
Change:
+ExcludeArch: %{ix86} %{arm}
Thanks.
Full change:
============
commit 9ccf9938cb108dab0120317e4c0ff03a4ff1e32c
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Apr 6 19:38:23 2022 +0200
Initial import (libxml 0.2 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a8f9825
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/libxml-0.2.16.crate
diff --git a/.rust2rpm.conf b/.rust2rpm.conf
new file mode 100644
index 0000000..c8c641b
--- /dev/null
+++ b/.rust2rpm.conf
@@ -0,0 +1,5 @@
+[DEFAULT]
+buildrequires =
+ pkgconfig(libxml-2.0)
+lib.requires =
+ pkgconfig(libxml-2.0)
diff --git a/README.md b/README.md
deleted file mode 100644
index deec220..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-libxml0.2
-
-The rust-libxml0.2 package
diff --git a/libxml-fix-metadata.diff b/libxml-fix-metadata.diff
new file mode 100644
index 0000000..dfe52c5
--- /dev/null
+++ b/libxml-fix-metadata.diff
@@ -0,0 +1,22 @@
+--- libxml-0.2.16/Cargo.toml 2021-02-01T00:47:25+00:00
++++ libxml-0.2.16/Cargo.toml 2022-04-05T21:11:19.119297+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"
+-[target."cfg(macos)".build-dependencies.pkg-config]
+-version = "0.3.2"
+ [target."cfg(unix)".build-dependencies.pkg-config]
+ version = "0.3.2"
+-[target."cfg(windows)".build-dependencies.vcpkg]
+-version = "0.2"
diff --git a/rust-libxml0.2.spec b/rust-libxml0.2.spec
new file mode 100644
index 0000000..b9d5965
--- /dev/null
+++ b/rust-libxml0.2.spec
@@ -0,0 +1,83 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate libxml
+
+Name: rust-%{crate}0.2
+Version: 0.2.16
+Release: %autorelease
+Summary: Rust wrapper for libxml2
+
+# Upstream license specification: MIT
+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}
+# * 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 >= 21
+
+%global _description %{expand:
+Rust wrapper for libxml2 - the XML C parser and toolkit developed for the Gnome
+project.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: pkgconfig(libxml-2.0)
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%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 the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+echo 'pkgconfig(libxml-2.0)'
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..082f652
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (libxml-0.2.16.crate) = 375c0efcfe12dab4199d2fb7eb817ab8c9491fdf7f042f637a129a74cad1082ce146a8cd4602657d03ce3c77eaa3e6567a7c0ef459311eb60715d873ec40bb8b
2 years
Architecture specific change in rpms/rust-libxml0.2.git
by githook-noreply@fedoraproject.org
The package rpms/rust-libxml0.2.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-libxml0.2.git/commit/?id=9cc....
Change:
+ExcludeArch: %{ix86} %{arm}
Thanks.
Full change:
============
commit 9ccf9938cb108dab0120317e4c0ff03a4ff1e32c
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Apr 6 19:38:23 2022 +0200
Initial import (libxml 0.2 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a8f9825
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/libxml-0.2.16.crate
diff --git a/.rust2rpm.conf b/.rust2rpm.conf
new file mode 100644
index 0000000..c8c641b
--- /dev/null
+++ b/.rust2rpm.conf
@@ -0,0 +1,5 @@
+[DEFAULT]
+buildrequires =
+ pkgconfig(libxml-2.0)
+lib.requires =
+ pkgconfig(libxml-2.0)
diff --git a/README.md b/README.md
deleted file mode 100644
index deec220..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-libxml0.2
-
-The rust-libxml0.2 package
diff --git a/libxml-fix-metadata.diff b/libxml-fix-metadata.diff
new file mode 100644
index 0000000..dfe52c5
--- /dev/null
+++ b/libxml-fix-metadata.diff
@@ -0,0 +1,22 @@
+--- libxml-0.2.16/Cargo.toml 2021-02-01T00:47:25+00:00
++++ libxml-0.2.16/Cargo.toml 2022-04-05T21:11:19.119297+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"
+-[target."cfg(macos)".build-dependencies.pkg-config]
+-version = "0.3.2"
+ [target."cfg(unix)".build-dependencies.pkg-config]
+ version = "0.3.2"
+-[target."cfg(windows)".build-dependencies.vcpkg]
+-version = "0.2"
diff --git a/rust-libxml0.2.spec b/rust-libxml0.2.spec
new file mode 100644
index 0000000..b9d5965
--- /dev/null
+++ b/rust-libxml0.2.spec
@@ -0,0 +1,83 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate libxml
+
+Name: rust-%{crate}0.2
+Version: 0.2.16
+Release: %autorelease
+Summary: Rust wrapper for libxml2
+
+# Upstream license specification: MIT
+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}
+# * 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 >= 21
+
+%global _description %{expand:
+Rust wrapper for libxml2 - the XML C parser and toolkit developed for the Gnome
+project.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: pkgconfig(libxml-2.0)
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%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 the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+echo 'pkgconfig(libxml-2.0)'
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..082f652
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (libxml-0.2.16.crate) = 375c0efcfe12dab4199d2fb7eb817ab8c9491fdf7f042f637a129a74cad1082ce146a8cd4602657d03ce3c77eaa3e6567a7c0ef459311eb60715d873ec40bb8b
2 years