Blame rust-byte-tools.spec

ae23302
# Generated by rust2rpm 10
ae23302
%bcond_without check
3578cb6
%global debug_package %{nil}
3578cb6
3578cb6
%global crate byte-tools
3578cb6
3578cb6
Name:           rust-%{crate}
465cbc8
Version:        0.3.1
efa3920
Release:        6%{?dist}
ae23302
Summary:        Bytes related utility functions
3578cb6
465cbc8
# Upstream license specification: MIT OR Apache-2.0
3578cb6
License:        MIT or ASL 2.0
3578cb6
URL:            https://crates.io/crates/byte-tools
363afb4
Source:         %{crates_source}
3578cb6
3578cb6
ExclusiveArch:  %{rust_arches}
ae23302
%if %{__cargo_skip_build}
ae23302
BuildArch:      noarch
ae23302
%endif
3578cb6
3578cb6
BuildRequires:  rust-packaging
3578cb6
ae23302
%global _description %{expand:
ae23302
Bytes related utility functions.}
363afb4
363afb4
%description %{_description}
3578cb6
3578cb6
%package        devel
3578cb6
Summary:        %{summary}
3578cb6
BuildArch:      noarch
3578cb6
363afb4
%description    devel %{_description}
3578cb6
3578cb6
This package contains library source intended for building other packages
363afb4
which use "%{crate}" crate.
363afb4
363afb4
%files          devel
363afb4
%license LICENSE-MIT LICENSE-APACHE
363afb4
%{cargo_registry}/%{crate}-%{version}/
363afb4
363afb4
%package     -n %{name}+default-devel
363afb4
Summary:        %{summary}
363afb4
BuildArch:      noarch
363afb4
363afb4
%description -n %{name}+default-devel %{_description}
363afb4
363afb4
This package contains library source intended for building other packages
363afb4
which use "default" feature of "%{crate}" crate.
363afb4
363afb4
%files       -n %{name}+default-devel
363afb4
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
3578cb6
3578cb6
%prep
363afb4
%autosetup -n %{crate}-%{version_no_tilde} -p1
3578cb6
%cargo_prep
3578cb6
ae23302
%generate_buildrequires
ae23302
%cargo_generate_buildrequires
ae23302
3578cb6
%build
3578cb6
%cargo_build
3578cb6
3578cb6
%install
3578cb6
%cargo_install
3578cb6
3578cb6
%if %{with check}
3578cb6
%check
3578cb6
%cargo_test
3578cb6
%endif
3578cb6
3578cb6
%changelog
efa3920
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-6
efa3920
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
efa3920
8d8d793
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-5
8d8d793
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
8d8d793
ba03d9a
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-4
ba03d9a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ba03d9a
ae23302
* Sat Jun 22 10:25:04 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.1-3
ae23302
- Regenerate
ae23302
b6473b1
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
b6473b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b6473b1
465cbc8
* Mon Jan 28 2019 Josh Stone <jistone@redhat.com> - 0.3.1-1
465cbc8
- Update to 0.3.1
465cbc8
363afb4
* Sun Jan 27 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.0-2
363afb4
- Run tests in infrastructure
363afb4
fc50119
* Wed Oct 03 2018 Josh Stone <jistone@redhat.com> - 0.3.0-1
fc50119
- Update to 0.3.0
fc50119
3578cb6
* Sun Aug 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-1
3578cb6
- Initial package