Blame rust-chunked_transfer.spec

d954e85
# Generated by rust2rpm 13
465b443
%bcond_without check
465b443
%global debug_package %{nil}
465b443
465b443
%global crate chunked_transfer
465b443
465b443
Name:           rust-%{crate}
344dc38
Version:        1.2.0
ca61951
Release:        2%{?dist}
465b443
Summary:        Encoder and decoder for HTTP chunked transfer coding (RFC 7230 § 4.1)
465b443
465b443
# Upstream license specification: Apache-2.0
465b443
License:        ASL 2.0
465b443
URL:            https://crates.io/crates/chunked_transfer
465b443
Source:         %{crates_source}
465b443
465b443
ExclusiveArch:  %{rust_arches}
465b443
%if %{__cargo_skip_build}
465b443
BuildArch:      noarch
465b443
%endif
465b443
465b443
BuildRequires:  rust-packaging
465b443
465b443
%global _description %{expand:
465b443
Encoder and decoder for HTTP chunked transfer coding (RFC 7230 § 4.1).}
465b443
465b443
%description %{_description}
465b443
465b443
%package        devel
465b443
Summary:        %{summary}
465b443
BuildArch:      noarch
465b443
465b443
%description    devel %{_description}
465b443
465b443
This package contains library source intended for building other packages
465b443
which use "%{crate}" crate.
465b443
465b443
%files          devel
465b443
%doc README.md
465b443
%license LICENSE
d954e85
%{cargo_registry}/%{crate}-%{version_no_tilde}/
465b443
465b443
%package     -n %{name}+default-devel
465b443
Summary:        %{summary}
465b443
BuildArch:      noarch
465b443
465b443
%description -n %{name}+default-devel %{_description}
465b443
465b443
This package contains library source intended for building other packages
465b443
which use "default" feature of "%{crate}" crate.
465b443
465b443
%files       -n %{name}+default-devel
d954e85
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
465b443
465b443
%prep
465b443
%autosetup -n %{crate}-%{version_no_tilde} -p1
465b443
%cargo_prep
465b443
465b443
%generate_buildrequires
465b443
%cargo_generate_buildrequires
465b443
465b443
%build
465b443
%cargo_build
465b443
465b443
%install
465b443
%cargo_install
465b443
465b443
%if %{with check}
465b443
%check
465b443
%cargo_test
465b443
%endif
465b443
465b443
%changelog
ca61951
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
ca61951
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ca61951
344dc38
* Fri Jun 19 2020 Josh Stone <jistone@redhat.com> - 1.2.0-1
344dc38
- Update to 1.2.0
344dc38
d954e85
* Sun Apr 19 11:56:07 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.0-1
d954e85
- Update to 1.1.0
d954e85
d3acce4
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
d3acce4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
d3acce4
465b443
* Fri Dec 13 19:26:53 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.0-1
465b443
- Initial package