You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-http/rust-http.spec

94 lines
2.6 KiB

# Generated by rust2rpm
# Tests are run in infrastructure
%bcond_with check
%global debug_package %{nil}
%global crate http
Name: rust-%{crate}
7 years ago
Version: 0.1.10
7 years ago
Release: 1%{?dist}
Summary: Set of types for representing HTTP requests and responses
License: MIT or ASL 2.0
URL: https://crates.io/crates/http
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(bytes) >= 0.4.0 with crate(bytes) < 0.5.0)
BuildRequires: (crate(fnv) >= 1.0.5 with crate(fnv) < 2.0.0)
BuildRequires: (crate(itoa) >= 0.4.1 with crate(itoa) < 0.5.0)
%if %{with check}
# [dev-dependencies]
BuildRequires: (crate(indexmap) >= 1.0.0 with crate(indexmap) < 2.0.0)
BuildRequires: (crate(quickcheck) >= 0.6.0 with crate(quickcheck) < 0.7.0)
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
BuildRequires: (crate(seahash) >= 3.0.5 with crate(seahash) < 4.0.0)
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0)
%endif
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
A set of types for representing HTTP requests and responses.
This package contains library source intended for building other packages
which use %{crate} from crates.io.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc CHANGELOG.md README.md
%{cargo_registry}/%{crate}-%{version}/
%changelog
7 years ago
* Thu Aug 09 2018 Josh Stone <jistone@redhat.com> - 0.1.10-1
- Update to 0.1.10
7 years ago
* Wed Aug 08 2018 Josh Stone <jistone@redhat.com> - 0.1.9-1
- Update to 0.1.9
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.8-2
- Rebuild to trigger tests
* Tue Jul 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.8-1
- Update to 0.1.8
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sat Jun 23 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.7-1
- Update to 0.1.7
* Thu Jun 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.6-1
- Update to 0.1.6
* Wed May 16 2018 Josh Stone <jistone@redhat.com> - 0.1.5-2
- Fix FTBFS from deprecated AsciiExt
* Fri Mar 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.5-1
- Initial package