|
|
166bad2 |
# Generated by rust2rpm 10
|
|
|
166bad2 |
%bcond_without check
|
|
|
6ff3665 |
%global debug_package %{nil}
|
|
|
6ff3665 |
|
|
|
6ff3665 |
# Binary is pretty useless
|
|
|
6ff3665 |
%global __cargo_is_bin() false
|
|
|
6ff3665 |
|
|
|
6ff3665 |
%global crate difference
|
|
|
6ff3665 |
|
|
|
6ff3665 |
Name: rust-%{crate}
|
|
|
6ff3665 |
Version: 2.0.0
|
|
|
3604e3a |
Release: 15%{?dist}
|
|
|
6ff3665 |
Summary: Rust text diffing and assertion library
|
|
|
6ff3665 |
|
|
|
166bad2 |
# Upstream license specification: MIT
|
|
|
6ff3665 |
License: MIT
|
|
|
6ff3665 |
URL: https://crates.io/crates/difference
|
|
|
166bad2 |
Source: %{crates_source}
|
|
|
6ff3665 |
# Initial patched metadata
|
|
|
8fc6164 |
# * Bump term to 0.6, https://github.com/johannhof/difference.rs/pull/42
|
|
|
0e0f92d |
# * Bump quickcheck to 0.9, https://github.com/johannhof/difference.rs/pull/38
|
|
|
6ff3665 |
# * Remove bin feature, it is useless
|
|
|
e0d5bf2 |
Patch0: difference-fix-metadata.diff
|
|
|
0e0f92d |
# Use ..= for an inclusive range instead of deprecated ...
|
|
|
0e0f92d |
# https://github.com/johannhof/difference.rs/pull/41
|
|
|
0e0f92d |
Patch1: https://patch-diff.githubusercontent.com/raw/johannhof/difference.rs/pull/41.patch#/0001-Fix-inclusive-range.patch
|
|
|
6ff3665 |
|
|
|
6ff3665 |
ExclusiveArch: %{rust_arches}
|
|
|
166bad2 |
%if %{__cargo_skip_build}
|
|
|
166bad2 |
BuildArch: noarch
|
|
|
166bad2 |
%endif
|
|
|
6ff3665 |
|
|
|
6ff3665 |
BuildRequires: rust-packaging
|
|
|
6ff3665 |
|
|
|
166bad2 |
%global _description %{expand:
|
|
|
166bad2 |
Rust text diffing and assertion library.}
|
|
|
00e19cf |
|
|
|
00e19cf |
%description %{_description}
|
|
|
6ff3665 |
|
|
|
6ff3665 |
%package devel
|
|
|
6ff3665 |
Summary: %{summary}
|
|
|
6ff3665 |
BuildArch: noarch
|
|
|
6ff3665 |
|
|
|
00e19cf |
%description devel %{_description}
|
|
|
00e19cf |
|
|
|
00e19cf |
This package contains library source intended for building other packages
|
|
|
00e19cf |
which use "%{crate}" crate.
|
|
|
00e19cf |
|
|
|
00e19cf |
%files devel
|
|
|
00e19cf |
%license LICENSE
|
|
|
00e19cf |
%doc README.md
|
|
|
00e19cf |
%{cargo_registry}/%{crate}-%{version}/
|
|
|
00e19cf |
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
|
|
|
00e19cf |
|
|
|
00e19cf |
%package -n %{name}+default-devel
|
|
|
00e19cf |
Summary: %{summary}
|
|
|
00e19cf |
BuildArch: noarch
|
|
|
00e19cf |
|
|
|
00e19cf |
%description -n %{name}+default-devel %{_description}
|
|
|
6ff3665 |
|
|
|
6ff3665 |
This package contains library source intended for building other packages
|
|
|
00e19cf |
which use "default" feature of "%{crate}" crate.
|
|
|
00e19cf |
|
|
|
00e19cf |
%files -n %{name}+default-devel
|
|
|
00e19cf |
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
00e19cf |
|
|
|
6ff3665 |
%prep
|
|
|
166bad2 |
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
6ff3665 |
%cargo_prep
|
|
|
6ff3665 |
|
|
|
166bad2 |
%generate_buildrequires
|
|
|
166bad2 |
%cargo_generate_buildrequires
|
|
|
166bad2 |
|
|
|
6ff3665 |
%build
|
|
|
6ff3665 |
%cargo_build
|
|
|
6ff3665 |
|
|
|
6ff3665 |
%install
|
|
|
6ff3665 |
%cargo_install
|
|
|
6ff3665 |
|
|
|
6ff3665 |
%if %{with check}
|
|
|
6ff3665 |
%check
|
|
|
6ff3665 |
%cargo_test
|
|
|
6ff3665 |
%endif
|
|
|
6ff3665 |
|
|
|
6ff3665 |
%changelog
|
|
|
3604e3a |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-15
|
|
|
3604e3a |
- Second attempt - Rebuilt for
|
|
|
3604e3a |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
3604e3a |
|
|
|
1f5cb23 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-14
|
|
|
1f5cb23 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
1f5cb23 |
|
|
|
3cb28a8 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-13
|
|
|
3cb28a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
3cb28a8 |
|
|
|
8fc6164 |
* Thu Dec 14 03:15:34 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.0-12
|
|
|
8fc6164 |
- Bump term to 0.6
|
|
|
8fc6164 |
|
|
|
0e0f92d |
* Fri Sep 13 20:26:35 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.0-11
|
|
|
0e0f92d |
- Bump quickcheck to 0.9
|
|
|
0e0f92d |
|
|
|
29849d9 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-10
|
|
|
29849d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
29849d9 |
|
|
|
166bad2 |
* Fri Jun 21 21:38:44 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.0-9
|
|
|
166bad2 |
- Regenerate
|
|
|
166bad2 |
|
|
|
f059628 |
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.0-8
|
|
|
f059628 |
- Tests are run in infrastructure
|
|
|
f059628 |
|
|
|
ea7b324 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-7
|
|
|
ea7b324 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
ea7b324 |
|
|
|
00e19cf |
* Tue Nov 13 2018 Josh Stone <jistone@redhat.com> - 2.0.0-6
|
|
|
00e19cf |
- Adapt to new packaging
|
|
|
00e19cf |
|
|
|
e0d5bf2 |
* Mon Sep 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.0-5
|
|
|
e0d5bf2 |
- Bump quickcheck to 0.7
|
|
|
e0d5bf2 |
|
|
|
e273b5f |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
|
|
e273b5f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
e273b5f |
|
|
|
edd0075 |
* Thu May 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.0-3
|
|
|
edd0075 |
- Bump term to 0.5
|
|
|
edd0075 |
|
|
|
7eba2f6 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
|
|
|
7eba2f6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
7eba2f6 |
|
|
|
6ff3665 |
* Wed Jan 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.0-1
|
|
|
6ff3665 |
- Initial package
|