|
|
|
@ -7,13 +7,13 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.7.2
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: URL library for Rust, based on the WHATWG URL Standard
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/url
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Exclude CI files, https://github.com/servo/rust-url/pull/467
|
|
|
|
|
Patch0: url-fix-metadata.diff
|
|
|
|
@ -21,13 +21,9 @@ Patch0: url-fix-metadata.diff
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(encoding/default) >= 0.2.0 with crate(encoding/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(heapsize/default) >= 0.4.1 with crate(heapsize/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(idna/default) >= 0.1.0 with crate(idna/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(matches/default) >= 0.1.0 with crate(matches/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(percent-encoding/default) >= 1.0.0 with crate(percent-encoding/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(rustc-serialize/default) >= 0.3.0 with crate(rustc-serialize/default) < 0.4.0)
|
|
|
|
|
BuildRequires: (crate(serde/default) >= 0.6.1 with crate(serde/default) < 0.9.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(bencher/default) >= 0.1.0 with crate(bencher/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(rustc-serialize/default) >= 0.3.0 with crate(rustc-serialize/default) < 0.4.0)
|
|
|
|
@ -139,7 +135,7 @@ which use "serde" feature of "%{crate}" crate.
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -154,6 +150,9 @@ which use "serde" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.7.2-3
|
|
|
|
|
- Do not pull optional dependencies
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|