The package rpms/rust-url.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-url.git/commit/?id=1496c4ee0....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 1496c4ee0472fd51196b8f02da0012db77afc732
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Dec 15 16:46:40 2022 +0100
Update to version 2.3.1; Fixes RHBZ#2124906
diff --git a/.gitignore b/.gitignore
index d26f7bc..04105e5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/url-2.2.0.crate
/url-2.2.1.crate
/url-2.2.2.crate
+/url-2.3.1.crate
diff --git a/rust-url.spec b/rust-url.spec
index 66b472d..c520d79 100644
--- a/rust-url.spec
+++ b/rust-url.spec
@@ -1,25 +1,22 @@
-# Generated by rust2rpm 17
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate url
-Name: rust-%{crate}
-Version: 2.2.2
+Name: rust-url
+Version: 2.3.1
Release: %autorelease
Summary: URL library for Rust, based on the WHATWG URL Standard
-# Upstream license specification: MIT/Apache-2.0
-License: MIT or ASL 2.0
+License: MIT OR Apache-2.0
URL:
https://crates.io/crates/url
Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * remove debugger_test and debugger_test_parser dev-dependencies
+Patch: url-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
URL library for Rust, based on the WHATWG URL Standard.}
@@ -32,12 +29,14 @@ BuildArch: noarch
%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-MIT LICENSE-APACHE
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -45,11 +44,35 @@ 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
+
+%package -n %{name}+debugger_visualizer-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+debugger_visualizer-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "debugger_visualizer" feature of the "%{crate}" crate.
+
+%files -n %{name}+debugger_visualizer-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+expose_internals-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+expose_internals-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "expose_internals" feature of the "%{crate}" crate.
+
+%files -n %{name}+expose_internals-devel
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@@ -57,14 +80,16 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
-This package contains library source intended for building other packages
-which use "serde" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
+# drop tests that require connecting a debugger to the test runner
+rm tests/debugger_visualizer.rs
%cargo_prep
%generate_buildrequires
diff --git a/sources b/sources
index be6ccd5..4e6b3f8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (url-2.2.2.crate) =
f9b6ad99d69ff303283b3fd9e98945fbd6cb411a3d141badcbb3a0566723a451375e6dd5d5357e3eb7a1b5b1ee5756a2347c43817db2de6fe35b9004b090e077
+SHA512 (url-2.3.1.crate) =
8224010bef067574481e5d84100d944782d52b49db7c396ae2b4dfc145ed58769c15440d97a0fed4d2f9857592a8601417cc5b1bdea959c47a3e7a1f7182ed0d
diff --git a/url-fix-metadata.diff b/url-fix-metadata.diff
new file mode 100644
index 0000000..3b81ad1
--- /dev/null
+++ b/url-fix-metadata.diff
@@ -0,0 +1,28 @@
+--- url-2.3.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ url-2.3.1/Cargo.toml 2022-12-12T17:58:13.308623+00:00
+@@ -36,12 +36,6 @@
+ license = "MIT OR Apache-2.0"
+ repository = "https://github.com/servo/rust-url"
+
+-[[test]]
+-name = "debugger_visualizer"
+-path = "tests/debugger_visualizer.rs"
+-test = false
+-required-features = ["debugger_visualizer"]
+-
+ [[bench]]
+ name = "parse_url"
+ path = "benches/parse_url.rs"
+@@ -64,12 +58,6 @@
+ [dev-dependencies.bencher]
+ version = "0.1"
+
+-[dev-dependencies.debugger_test]
+-version = "0.1"
+-
+-[dev-dependencies.debugger_test_parser]
+-version = "0.1"
+-
+ [dev-dependencies.serde_json]
+ version = "1.0"
+
commit 436b29fe73aa684ba580d1b795e84f5f15f57288
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Sep 10 16:18:04 2022 +0200
Convert to rpmautospec
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..dde1f4e
--- /dev/null
+++ b/changelog
@@ -0,0 +1,79 @@
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.2.2-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.2.2-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.2.2-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Sun May 09 2021 Fabio Valentini <decathorpe(a)gmail.com> - 2.2.2-1
+- Update to version 2.2.2.
+- Fixes RHBZ#1958215
+
+* Sat Feb 27 2021 Fabio Valentini <decathorpe(a)gmail.com> - 2.2.1-1
+- Update to version 2.2.1.
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.2.0-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Sat Nov 07 2020 Fabio Valentini <decathorpe(a)gmail.com> - 2.2.0-1
+- Update to version 2.2.0.
+- Fixes RHBZ#1895285
+
+* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.1.1-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.1.1-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Wed Jan 15 2020 Josh Stone <jistone(a)redhat.com> - 2.1.1-1
+- Update to 2.1.1
+
+* Sun Aug 25 08:50:10 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
2.1.0-1
+- Update to 2.1.0
+
+* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.7.2-5
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Thu Jun 20 00:12:03 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
1.7.2-4
+- Regenerate
+
+* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.7.2-3
+- Do not pull optional dependencies
+
+* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.7.2-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Tue Nov 13 2018 Josh Stone <jistone(a)redhat.com> - 1.7.2-1
+- Update to 1.7.2
+
+* Sat Nov 03 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.7.1-5
+- Adapt to new packaging
+
+* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.7.1-4
+- Rebuild to trigger tests
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.7.1-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Fri Jul 06 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.7.1-2
+- Do not ignore test results
+
+* Fri Jul 06 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.7.1-1
+- Update to 1.7.1
+
+* Tue Mar 13 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.7.0-2
+- Bump rustc-test to 0.3
+
+* Wed Feb 21 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.7.0-1
+- Update to 1.7.0
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.0-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.6.0-2
+- Rebuild for rust-packaging v5
+
+* Fri Nov 10 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.6.0-1
+- Initial package
diff --git a/rust-url.spec b/rust-url.spec
index c7a698f..66b472d 100644
--- a/rust-url.spec
+++ b/rust-url.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 2.2.2
-Release: 4%{?dist}
+Release: %autorelease
Summary: URL library for Rust, based on the WHATWG URL Standard
# Upstream license specification: MIT/Apache-2.0
@@ -82,82 +82,4 @@ which use "serde" feature of "%{crate}" crate.
%endif
%changelog
-* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.2.2-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.2.2-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.2.2-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Sun May 09 2021 Fabio Valentini <decathorpe(a)gmail.com> - 2.2.2-1
-- Update to version 2.2.2.
-- Fixes RHBZ#1958215
-
-* Sat Feb 27 2021 Fabio Valentini <decathorpe(a)gmail.com> - 2.2.1-1
-- Update to version 2.2.1.
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.2.0-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Sat Nov 07 2020 Fabio Valentini <decathorpe(a)gmail.com> - 2.2.0-1
-- Update to version 2.2.0.
-- Fixes RHBZ#1895285
-
-* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.1.1-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.1.1-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Wed Jan 15 2020 Josh Stone <jistone(a)redhat.com> - 2.1.1-1
-- Update to 2.1.1
-
-* Sun Aug 25 08:50:10 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
2.1.0-1
-- Update to 2.1.0
-
-* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.7.2-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Thu Jun 20 00:12:03 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
1.7.2-4
-- Regenerate
-
-* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.7.2-3
-- Do not pull optional dependencies
-
-* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.7.2-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Tue Nov 13 2018 Josh Stone <jistone(a)redhat.com> - 1.7.2-1
-- Update to 1.7.2
-
-* Sat Nov 03 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.7.1-5
-- Adapt to new packaging
-
-* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.7.1-4
-- Rebuild to trigger tests
-
-* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.7.1-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Fri Jul 06 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.7.1-2
-- Do not ignore test results
-
-* Fri Jul 06 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.7.1-1
-- Update to 1.7.1
-
-* Tue Mar 13 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.7.0-2
-- Bump rustc-test to 0.3
-
-* Wed Feb 21 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.7.0-1
-- Update to 1.7.0
-
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.0-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.6.0-2
-- Rebuild for rust-packaging v5
-
-* Fri Nov 10 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.6.0-1
-- Initial package
+%autochangelog