Initial import (#2281027)

epel10
Fabio Valentini 8 months ago
parent a6b46965f3
commit 1e8fc7a4d2
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/byteorder-lite-0.1.0.crate

@ -1,3 +0,0 @@
# rust-byteorder-lite
The rust-byteorder-lite package

@ -0,0 +1,81 @@
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate byteorder-lite
Name: rust-byteorder-lite
Version: 0.1.0
Release: %autorelease
Summary: Library for reading/writing numbers in big-endian and little-endian
License: Unlicense OR MIT
URL: https://crates.io/crates/byteorder-lite
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Library for reading/writing numbers in big-endian and little-endian.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-MIT
%license %{crate_instdir}/UNLICENSE
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%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 the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (byteorder-lite-0.1.0.crate) = d38837acc5926fe98ddf4336a603412f678b5f46d53a7eb926a8885d28aa24d51e3968f0eb2e6d2d7711e5ba30b8006a27076ea596b0699e93ad3d9e05483c4c
Loading…
Cancel
Save