Initial import

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
epel9
Igor Raits 4 years ago
parent a677a86c0f
commit b9cf4ac5da
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E

1
.gitignore vendored

@ -0,0 +1 @@
/bytelines-2.2.2.crate

@ -0,0 +1,75 @@
# Generated by rust2rpm 15
%bcond_without check
%global debug_package %{nil}
%global crate bytelines
Name: rust-%{crate}
Version: 2.2.2
Release: 1%{?dist}
Summary: Read input lines as byte slices for high efficiency
# Upstream license specification: MIT
# https://github.com/whitfin/bytelines/issues/4
License: MIT
URL: https://crates.io/crates/bytelines
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Read input lines as byte slices for high efficiency.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Thu Aug 27 16:44:40 CEST 2020 Igor Raits <i.gnatenko.brain@gmail.com> - 2.2.2-1
- Initial package

@ -0,0 +1 @@
SHA512 (bytelines-2.2.2.crate) = 0d768b579993c0d72914affe36d61632e0c39310094b4d3dde29e69039249c9bb88af18e8f8033c377b05938c50e43ebd29114d2c664b2c904be27c61b1b8dad
Loading…
Cancel
Save