initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 1b41a47c95
commit 9f5ee98870

1
.gitignore vendored

@ -0,0 +1 @@
/base64-0.7.0.crate

@ -0,0 +1,65 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate base64
Name: rust-%{crate}
Version: 0.7.0
Release: 1%{?dist}
Summary: Encodes ands decode base64 as bytes or utf8
License: MIT or ASL 2.0
URL: https://crates.io/crates/base64
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(byteorder) >= 1.1.0 with crate(byteorder) < 2.0.0)
BuildRequires: (crate(safemem) >= 0.2.0 with crate(safemem) < 0.3.0)
%if %{with check}
# [dev-dependencies]
BuildRequires: (crate(rand) >= 0.3.15 with crate(rand) < 0.4.0)
%endif
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
Encodes and decodes base64 as bytes or utf8.
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 README.md RELEASE-NOTES.md
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Thu Nov 16 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.0-1
- Update to 0.7.0
* Fri Jun 16 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (base64-0.7.0.crate) = 8a9c9e3b63a6e003b54cd62ce9b16c2628c37e63cdb447d5de383367e7af58ad6b66c458568733074ad089e912831b8e3372f0819a56eabce8d87f8a284d9fcf
Loading…
Cancel
Save