|
|
1d3d21a |
# Generated by rust2rpm
|
|
|
7e906e9 |
# Tests are run in infrastructure
|
|
|
7e906e9 |
%bcond_with check
|
|
|
1d3d21a |
%global debug_package %{nil}
|
|
|
1d3d21a |
|
|
|
1d3d21a |
%global crate encoding_rs
|
|
|
1d3d21a |
|
|
|
1d3d21a |
Name: rust-%{crate}
|
|
|
93b2c37 |
Version: 0.8.6
|
|
|
6f34cd7 |
Release: 1%{?dist}
|
|
|
1d3d21a |
Summary: Gecko-oriented implementation of the Encoding Standard
|
|
|
1d3d21a |
|
|
|
1d3d21a |
License: MIT or ASL 2.0
|
|
|
1d3d21a |
URL: https://crates.io/crates/encoding_rs
|
|
|
1d3d21a |
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
1d3d21a |
# Initial patched metadata
|
|
|
1d3d21a |
# * No simd
|
|
|
6f34cd7 |
Patch0: encoding_rs-0.8.4-fix-metadata.diff
|
|
|
1d3d21a |
|
|
|
1d3d21a |
ExclusiveArch: %{rust_arches}
|
|
|
1d3d21a |
|
|
|
1d3d21a |
BuildRequires: rust-packaging
|
|
|
1d3d21a |
# [dependencies]
|
|
|
1d3d21a |
BuildRequires: (crate(cfg-if) >= 0.1.0 with crate(cfg-if) < 0.2.0)
|
|
|
1d3d21a |
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
|
|
|
1d3d21a |
%if %{with check}
|
|
|
1d3d21a |
# [dev-dependencies]
|
|
|
1d3d21a |
BuildRequires: (crate(bincode) >= 0.8.0 with crate(bincode) < 0.9.0)
|
|
|
1d3d21a |
BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
|
|
|
1d3d21a |
BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0)
|
|
|
1d3d21a |
%endif
|
|
|
1d3d21a |
|
|
|
1d3d21a |
%description
|
|
|
1d3d21a |
%{summary}.
|
|
|
1d3d21a |
|
|
|
1d3d21a |
%package devel
|
|
|
1d3d21a |
Summary: %{summary}
|
|
|
1d3d21a |
BuildArch: noarch
|
|
|
1d3d21a |
|
|
|
1d3d21a |
%description devel
|
|
|
1d3d21a |
A Gecko-oriented implementation of the Encoding Standard.
|
|
|
1d3d21a |
|
|
|
1d3d21a |
This package contains library source intended for building other packages
|
|
|
1d3d21a |
which use %{crate} from crates.io.
|
|
|
1d3d21a |
|
|
|
1d3d21a |
%prep
|
|
|
1d3d21a |
%autosetup -n %{crate}-%{version} -p1
|
|
|
1d3d21a |
%cargo_prep
|
|
|
1d3d21a |
|
|
|
1d3d21a |
%build
|
|
|
1d3d21a |
%cargo_build
|
|
|
1d3d21a |
|
|
|
1d3d21a |
%install
|
|
|
1d3d21a |
%cargo_install
|
|
|
1d3d21a |
|
|
|
1d3d21a |
%if %{with check}
|
|
|
1d3d21a |
%check
|
|
|
1d3d21a |
%cargo_test
|
|
|
1d3d21a |
%endif
|
|
|
1d3d21a |
|
|
|
1d3d21a |
%files devel
|
|
|
1d3d21a |
%license COPYRIGHT LICENSE-MIT LICENSE-APACHE
|
|
|
1d3d21a |
%doc README.md CONTRIBUTING.md Ideas.md
|
|
|
1d3d21a |
%{cargo_registry}/%{crate}-%{version}/
|
|
|
1d3d21a |
%exclude %{cargo_registry}/%{crate}-%{version}/generate-encoding-data.py*
|
|
|
1d3d21a |
|
|
|
1d3d21a |
%changelog
|
|
|
93b2c37 |
* Mon Aug 13 2018 Josh Stone <jistone@redhat.com> - 0.8.6-1
|
|
|
93b2c37 |
- Update to 0.8.6
|
|
|
93b2c37 |
|
|
|
8087aac |
* Fri Aug 10 2018 Josh Stone <jistone@redhat.com> - 0.8.5-1
|
|
|
8087aac |
- Update to 0.8.5
|
|
|
8087aac |
|
|
|
6f34cd7 |
* Sun Jul 29 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.4-1
|
|
|
6f34cd7 |
- Update to 0.8.4
|
|
|
6f34cd7 |
|
|
|
9163d22 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-3
|
|
|
9163d22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
9163d22 |
|
|
|
de1385f |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
|
|
|
de1385f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
de1385f |
|
|
|
df02fe0 |
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.2-1
|
|
|
df02fe0 |
- Update to 0.7.2
|
|
|
df02fe0 |
|
|
|
9aa106e |
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.1-2
|
|
|
9aa106e |
- Rebuild for rust-packaging v5
|
|
|
9aa106e |
|
|
|
1d3d21a |
* Mon Nov 13 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.1-1
|
|
|
1d3d21a |
- Update to 0.7.1
|
|
|
1d3d21a |
|
|
|
1d3d21a |
* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.11-1
|
|
|
1d3d21a |
- Update to 0.6.11
|
|
|
1d3d21a |
|
|
|
1d3d21a |
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-2
|
|
|
1d3d21a |
- Port to use rust-packaging
|
|
|
1d3d21a |
|
|
|
1d3d21a |
* Wed Mar 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-1
|
|
|
1d3d21a |
- Initial package
|