parent
8e6011fe83
commit
2f3a5dae90
@ -1 +0,0 @@
|
|||||||
/hamcrest2-0.3.0.crate
|
|
@ -0,0 +1 @@
|
|||||||
|
unused leaf package for more than two release cycles
|
@ -1,11 +0,0 @@
|
|||||||
--- hamcrest2-0.3.0/Cargo.toml 1970-01-01T00:00:00+00:00
|
|
||||||
+++ hamcrest2-0.3.0/Cargo.toml 2021-06-18T04:18:16.513685+00:00
|
|
||||||
@@ -23,7 +23,7 @@
|
|
||||||
license = "MIT/Apache-2.0"
|
|
||||||
repository = "https://github.com/Valloric/hamcrest2-rust"
|
|
||||||
[dependencies.num]
|
|
||||||
-version = "0.2"
|
|
||||||
+version = "0.3.1"
|
|
||||||
|
|
||||||
[dependencies.regex]
|
|
||||||
version = "1"
|
|
@ -1,91 +0,0 @@
|
|||||||
# Generated by rust2rpm 17
|
|
||||||
%bcond_without check
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
%global crate hamcrest2
|
|
||||||
|
|
||||||
Name: rust-%{crate}
|
|
||||||
Version: 0.3.0
|
|
||||||
Release: 5%{?dist}
|
|
||||||
Summary: Port of the Hamcrest testing library
|
|
||||||
|
|
||||||
# Upstream license specification: MIT/Apache-2.0
|
|
||||||
License: MIT or ASL 2.0
|
|
||||||
URL: https://crates.io/crates/hamcrest2
|
|
||||||
Source: %{crates_source}
|
|
||||||
# Bump num to 0.3.1
|
|
||||||
Patch0: hamcrest2-fix-metadata.diff
|
|
||||||
|
|
||||||
ExclusiveArch: %{rust_arches}
|
|
||||||
%if %{__cargo_skip_build}
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
|
||||||
|
|
||||||
BuildRequires: rust-packaging
|
|
||||||
|
|
||||||
%global _description %{expand:
|
|
||||||
Port of the Hamcrest testing library. Fork of original hamcrest-rust (which is
|
|
||||||
unmaintained) with extra matchers, better docs etc.}
|
|
||||||
|
|
||||||
%description %{_description}
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "%{crate}" crate.
|
|
||||||
|
|
||||||
%files devel
|
|
||||||
%license LICENSE-APACHE LICENSE-MIT
|
|
||||||
%doc README.md CHANGELOG.md
|
|
||||||
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
||||||
|
|
||||||
%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
|
|
||||||
which use "default" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+default-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
||||||
%cargo_prep
|
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%cargo_generate_buildrequires
|
|
||||||
|
|
||||||
%build
|
|
||||||
%cargo_build
|
|
||||||
|
|
||||||
%install
|
|
||||||
%cargo_install
|
|
||||||
|
|
||||||
%if %{with check}
|
|
||||||
%check
|
|
||||||
%cargo_test
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
|
|
||||||
- Second attempt - Rebuilt for
|
|
||||||
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jun 17 2021 Davide Cavalca <davide@cavalca.name> - 0.3.0-1
|
|
||||||
- Initial package
|
|
Loading…
Reference in new issue