|
|
@ -5,18 +5,13 @@
|
|
|
|
%global crate idna
|
|
|
|
%global crate idna
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.1.4
|
|
|
|
Version: 0.1.5
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: IDNA (Internationalizing Domain Names in Applications) and Punycode
|
|
|
|
Summary: IDNA (Internationalizing Domain Names in Applications) and Punycode
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/idna
|
|
|
|
URL: https://crates.io/crates/idna
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * Bump rustc-test to 0.3, https://github.com/servo/rust-url/commit/9d500e76a0e1644c93b3869588f979e4440e74d6
|
|
|
|
|
|
|
|
Patch0: idna-0.1.4-fix-metadata.diff
|
|
|
|
|
|
|
|
# Make it work with new rustc-test
|
|
|
|
|
|
|
|
Patch1: 0001-Update-to-rustc_test-0.3-unbreak-tests-on-nightly-20.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
@ -45,9 +40,7 @@ This package contains library source intended for building other packages
|
|
|
|
which use %{crate} from crates.io.
|
|
|
|
which use %{crate} from crates.io.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -N
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
%patch1 -p2
|
|
|
|
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -67,6 +60,9 @@ which use %{crate} from crates.io.
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/src/{IdnaMappingTable.txt,make_uts46_mapping_table.py*}
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/src/{IdnaMappingTable.txt,make_uts46_mapping_table.py*}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Jul 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.5-1
|
|
|
|
|
|
|
|
- Update to 0.1.5
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 13 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.4-4
|
|
|
|
* Tue Mar 13 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.4-4
|
|
|
|
- Bump rustc-test to 0.3
|
|
|
|
- Bump rustc-test to 0.3
|
|
|
|
|
|
|
|
|
|
|
|