Blame rust-block-padding.spec

a102f7d
# Generated by rust2rpm
0489786
%bcond_with check
a102f7d
%global debug_package %{nil}
a102f7d
a102f7d
%global crate block-padding
a102f7d
a102f7d
Name:           rust-%{crate}
115006c
Version:        0.1.4
115006c
Release:        1%{?dist}
a102f7d
Summary:        Padding and unpadding of messages divided into blocks
a102f7d
a5c167c
# Upstream license specification: MIT OR Apache-2.0
a102f7d
License:        MIT or ASL 2.0
a102f7d
URL:            https://crates.io/crates/block-padding
0489786
Source:         %{crates_source}
a102f7d
a102f7d
ExclusiveArch:  %{rust_arches}
a102f7d
a102f7d
BuildRequires:  rust-packaging
0489786
BuildRequires:  (crate(byte-tools/default) >= 0.3.0 with crate(byte-tools/default) < 0.4.0)
a102f7d
0489786
%global _description \
0489786
Padding and unpadding of messages divided into blocks.
0489786
0489786
%description %{_description}
a102f7d
a102f7d
%package        devel
a102f7d
Summary:        %{summary}
a102f7d
BuildArch:      noarch
a102f7d
0489786
%description    devel %{_description}
a102f7d
a102f7d
This package contains library source intended for building other packages
0489786
which use "%{crate}" crate.
0489786
0489786
%files          devel
0489786
%license LICENSE-MIT LICENSE-APACHE
0489786
%{cargo_registry}/%{crate}-%{version}/
0489786
0489786
%package     -n %{name}+default-devel
0489786
Summary:        %{summary}
0489786
BuildArch:      noarch
0489786
0489786
%description -n %{name}+default-devel %{_description}
0489786
0489786
This package contains library source intended for building other packages
0489786
which use "default" feature of "%{crate}" crate.
0489786
0489786
%files       -n %{name}+default-devel
0489786
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
a102f7d
a102f7d
%prep
0489786
%autosetup -n %{crate}-%{version_no_tilde} -p1
a102f7d
%cargo_prep
a102f7d
a102f7d
%build
a102f7d
%cargo_build
a102f7d
a102f7d
%install
a102f7d
%cargo_install
a102f7d
a102f7d
%if %{with check}
a102f7d
%check
a102f7d
%cargo_test
a102f7d
%endif
a102f7d
a102f7d
%changelog
115006c
* Tue Apr 30 08:43:00 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.4-1
115006c
- Update to 0.1.4
115006c
ad65376
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-2
ad65376
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ad65376
a5c167c
* Mon Jan 28 2019 Josh Stone <jistone@redhat.com> - 0.1.3-1
a5c167c
- Update to 0.1.3
a5c167c
0489786
* Sun Jan 27 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.2-2
0489786
- Run tests in infrastructure
0489786
db1b13a
* Wed Oct 03 2018 Josh Stone <jistone@redhat.com> - 0.1.2-1
db1b13a
- Update to 0.1.2
db1b13a
a102f7d
* Sun Aug 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-1
a102f7d
- Initial package