parent
ca29597a62
commit
33fcdffdf3
@ -1,2 +0,0 @@
|
|||||||
/bitreader-0.3.4.crate
|
|
||||||
/bitreader-0.3.5.crate
|
|
@ -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
|
|
Loading…
Reference in new issue