commit
6af0e8ad23
@ -0,0 +1 @@
|
|||||||
|
SOURCES/lebe-0.5.2.crate
|
@ -0,0 +1 @@
|
|||||||
|
0f2780449afc75aa35a205dbcd8f3acfe8b3f2b8 SOURCES/lebe-0.5.2.crate
|
@ -0,0 +1,3 @@
|
|||||||
|
# rust-lebe
|
||||||
|
|
||||||
|
The rust-lebe package
|
@ -0,0 +1,10 @@
|
|||||||
|
[requires]
|
||||||
|
build = [
|
||||||
|
"tomcli",
|
||||||
|
]
|
||||||
|
|
||||||
|
[scripts.prep]
|
||||||
|
post = [
|
||||||
|
"# Do not depend on bencher; it is needed only for benchmarks.",
|
||||||
|
"tomcli set Cargo.toml del dev-dependencies.bencher",
|
||||||
|
]
|
@ -0,0 +1,103 @@
|
|||||||
|
## START: Set by rpmautospec
|
||||||
|
## (rpmautospec version 0.7.2)
|
||||||
|
## RPMAUTOSPEC: autorelease, autochangelog
|
||||||
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||||
|
release_number = 6;
|
||||||
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
||||||
|
print(release_number + base_release_number - 1);
|
||||||
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
||||||
|
## END: Set by rpmautospec
|
||||||
|
|
||||||
|
# Generated by rust2rpm 26
|
||||||
|
%bcond_without check
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
%global crate lebe
|
||||||
|
|
||||||
|
Name: rust-lebe
|
||||||
|
Version: 0.5.2
|
||||||
|
Release: %autorelease
|
||||||
|
Summary: Tiny, dead simple, high performance endianness conversions with a generic API
|
||||||
|
|
||||||
|
License: BSD-3-Clause
|
||||||
|
URL: https://crates.io/crates/lebe
|
||||||
|
Source: %{crates_source}
|
||||||
|
|
||||||
|
BuildRequires: cargo-rpm-macros >= 24
|
||||||
|
BuildRequires: tomcli
|
||||||
|
|
||||||
|
%global _description %{expand:
|
||||||
|
Tiny, dead simple, high performance endianness conversions with a
|
||||||
|
generic API.}
|
||||||
|
|
||||||
|
%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-BSD-3-Clause
|
||||||
|
%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
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{crate}-%{version} -p1
|
||||||
|
%cargo_prep
|
||||||
|
# Do not depend on bencher; it is needed only for benchmarks.
|
||||||
|
tomcli set Cargo.toml del dev-dependencies.bencher
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
%cargo_generate_buildrequires
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cargo_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cargo_install
|
||||||
|
|
||||||
|
%if %{with check}
|
||||||
|
%check
|
||||||
|
%cargo_test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.5.2-6
|
||||||
|
- Rebuilt for MSVSphere 10
|
||||||
|
|
||||||
|
## START: Generated by rpmautospec
|
||||||
|
* Sun Sep 15 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.5.2-6
|
||||||
|
- Drop benchmark-only dev-dependency on bencher
|
||||||
|
|
||||||
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Aug 30 2022 Orion Poplawski <orion@nwra.com> - 0.5.2-1
|
||||||
|
- Initial import
|
||||||
|
## END: Generated by rpmautospec
|
Loading…
Reference in new issue