no longer needed

epel10
Fabio Valentini 3 years ago
parent ca29597a62
commit 33fcdffdf3
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

2
.gitignore vendored

@ -1,2 +0,0 @@
/bitreader-0.3.4.crate
/bitreader-0.3.5.crate

@ -1,3 +0,0 @@
# rust-bitreader
The rust-bitreader package

@ -1,2 +0,0 @@
* Fri Jun 25 2021 Rémi Lauzier <remilauzier@protonmail.com> - 0.3.4-1
- Initial package

@ -0,0 +1 @@
no longer needed

@ -1,85 +0,0 @@
# Generated by rust2rpm 20
%bcond_without check
%global debug_package %{nil}
%global crate bitreader
Name: rust-%{crate}
Version: 0.3.5
Release: %autorelease
Summary: BitReader helps reading individual bits from a slice of bytes
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/bitreader
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand:
BitReader helps reading individual bits from a slice of bytes.
You can read "unusual" numbers of bits from the byte slice, for example 13 bits
at once. The reader internally keeps track of position within the buffer.}
%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 LICENSE-APACHE LICENSE-MIT
%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 the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 %{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
%autochangelog

@ -1 +0,0 @@
SHA512 (bitreader-0.3.5.crate) = a336cc5929d1449c09eed66be0c959be0301e1e9f929817df57e0a42d09ae73f393b32ab6ab43bb532db0e6bd7f9d4fb2f5c01854ae042a1b3c30dcee979f2ab
Loading…
Cancel
Save