Regenerate with rust2rpm v24

epel9
Fabio Valentini 2 years ago
parent 4b99c0b4e4
commit 9942fe9517
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,3 +0,0 @@
# rust-url1
The rust-url1 package

@ -1,29 +1,25 @@
# Generated by rust2rpm 15 # Generated by rust2rpm 24
# * outdated dev-dependencies: serde_json ^0.6.1
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate url %global crate url
Name: rust-%{crate}1 Name: rust-url1
Version: 1.7.2 Version: 1.7.2
Release: %autorelease Release: %autorelease
Summary: URL library for Rust, based on the WHATWG URL Standard Summary: URL library for Rust, based on the WHATWG URL Standard
# Upstream license specification: MIT/Apache-2.0 # 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 URL: https://crates.io/crates/url
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Manually created patch for downstream crate metadata changes
# * Exclude CI files, https://github.com/servo/rust-url/pull/467 # * drop unused optional feature for supporting serde 0.9
# * drop optional + unused serde feature (serde < 1 no longer available) # * exclude files that are only useful for upstream development
Patch0: url-fix-metadata.diff Patch: url-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
URL library for Rust, based on the WHATWG URL Standard.} URL library for Rust, based on the WHATWG URL Standard.}
@ -36,13 +32,15 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-MIT LICENSE-APACHE %license %{crate_instdir}/LICENSE-APACHE
%doc README.md UPGRADING.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%doc %{crate_instdir}/UPGRADING.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -50,11 +48,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+encoding-devel %package -n %{name}+encoding-devel
Summary: %{summary} Summary: %{summary}
@ -62,11 +60,11 @@ BuildArch: noarch
%description -n %{name}+encoding-devel %{_description} %description -n %{name}+encoding-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "encoding" feature of "%{crate}" crate. use the "encoding" feature of the "%{crate}" crate.
%files -n %{name}+encoding-devel %files -n %{name}+encoding-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+heap_size-devel %package -n %{name}+heap_size-devel
Summary: %{summary} Summary: %{summary}
@ -74,11 +72,11 @@ BuildArch: noarch
%description -n %{name}+heap_size-devel %{_description} %description -n %{name}+heap_size-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "heap_size" feature of "%{crate}" crate. use the "heap_size" feature of the "%{crate}" crate.
%files -n %{name}+heap_size-devel %files -n %{name}+heap_size-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+heapsize-devel %package -n %{name}+heapsize-devel
Summary: %{summary} Summary: %{summary}
@ -86,11 +84,11 @@ BuildArch: noarch
%description -n %{name}+heapsize-devel %{_description} %description -n %{name}+heapsize-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "heapsize" feature of "%{crate}" crate. use the "heapsize" feature of the "%{crate}" crate.
%files -n %{name}+heapsize-devel %files -n %{name}+heapsize-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+query_encoding-devel %package -n %{name}+query_encoding-devel
Summary: %{summary} Summary: %{summary}
@ -98,11 +96,11 @@ BuildArch: noarch
%description -n %{name}+query_encoding-devel %{_description} %description -n %{name}+query_encoding-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "query_encoding" feature of "%{crate}" crate. use the "query_encoding" feature of the "%{crate}" crate.
%files -n %{name}+query_encoding-devel %files -n %{name}+query_encoding-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustc-serialize-devel %package -n %{name}+rustc-serialize-devel
Summary: %{summary} Summary: %{summary}
@ -110,11 +108,11 @@ BuildArch: noarch
%description -n %{name}+rustc-serialize-devel %{_description} %description -n %{name}+rustc-serialize-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "rustc-serialize" feature of "%{crate}" crate. use the "rustc-serialize" feature of the "%{crate}" crate.
%files -n %{name}+rustc-serialize-devel %files -n %{name}+rustc-serialize-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1,5 +1,5 @@
--- url-1.7.2/Cargo.toml 1970-01-01T00:00:00+00:00 --- url-1.7.2/Cargo.toml 1970-01-01T00:00:00+00:00
+++ url-1.7.2/Cargo.toml 2020-11-08T19:39:28.387877+00:00 +++ url-1.7.2/Cargo.toml 2023-05-17T10:09:00.047183+00:00
@@ -21,6 +21,7 @@ @@ -21,6 +21,7 @@
categories = ["parser-implementations", "web-programming", "encoding"] categories = ["parser-implementations", "web-programming", "encoding"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"

Loading…
Cancel
Save