|
|
@ -7,44 +7,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.3.0
|
|
|
|
Version: 0.3.0
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: Fork of Rust’s `test` crate that doesn’t require unstable language features
|
|
|
|
Summary: Fork of Rust’s `test` crate that doesn’t require unstable language features
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT OR Apache-2.0
|
|
|
|
# https://github.com/servo/rustc-test/issues/5
|
|
|
|
# https://github.com/servo/rustc-test/issues/5
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/rustc-test
|
|
|
|
URL: https://crates.io/crates/rustc-test
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Initial patched metadata
|
|
|
|
# * Bump term to 0.5, https://github.com/servo/rustc-test/pull/9
|
|
|
|
# * Bump term to 0.5, https://github.com/servo/rustc-test/pull/9
|
|
|
|
Patch0: rustc-test-0.3.0-fix-metadata.diff
|
|
|
|
Patch0: rustc-test-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
BuildRequires: (crate(getopts/default) >= 0.2.0 with crate(getopts/default) < 0.3.0)
|
|
|
|
BuildRequires: (crate(getopts) >= 0.2.0 with crate(getopts) < 0.3.0)
|
|
|
|
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
|
|
|
|
BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
|
|
|
|
BuildRequires: (crate(rustc-serialize/default) >= 0.3.0 with crate(rustc-serialize/default) < 0.4.0)
|
|
|
|
BuildRequires: (crate(rustc-serialize) >= 0.3.0 with crate(rustc-serialize) < 0.4.0)
|
|
|
|
BuildRequires: (crate(rustc_version/default) >= 0.2.1 with crate(rustc_version/default) < 0.3.0)
|
|
|
|
BuildRequires: (crate(term) >= 0.5.0 with crate(term) < 0.6.0)
|
|
|
|
BuildRequires: (crate(term/default) >= 0.5.0 with crate(term/default) < 0.6.0)
|
|
|
|
BuildRequires: (crate(time) >= 0.1.0 with crate(time) < 0.2.0)
|
|
|
|
BuildRequires: (crate(time/default) >= 0.1.0 with crate(time/default) < 0.2.0)
|
|
|
|
# [build-dependencies]
|
|
|
|
|
|
|
|
BuildRequires: (crate(rustc_version) >= 0.2.1 with crate(rustc_version) < 0.3.0)
|
|
|
|
%global _description \
|
|
|
|
|
|
|
|
A fork of Rust’s `test` crate that doesn’t require unstable language features.
|
|
|
|
%description
|
|
|
|
|
|
|
|
%{summary}.
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel %{_description}
|
|
|
|
A fork of Rust’s `test` crate that doesn’t require unstable language features.
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use %{crate} from crates.io.
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+asm_black_box-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+asm_black_box-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "asm_black_box" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+asm_black_box-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+capture-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+capture-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "capture" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+capture-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -58,10 +97,10 @@ which use %{crate} from crates.io.
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.0-5
|
|
|
|
|
|
|
|
- Adapt to new packaging
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|