import rust-zerofrom-0.1.5-1.el10

i10ce changed/i10ce/rust-zerofrom-0.1.5-1.el10
MSVSphere Packaging Team 4 weeks ago
commit 9990a2a637
Signed by: sys_gitsync
GPG Key ID: B2B0B9F29E528FE8

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/zerofrom-0.1.5.crate

@ -0,0 +1 @@
2a159fb66fb938364e033c00b8b753e8f7906931 SOURCES/zerofrom-0.1.5.crate

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

@ -0,0 +1,2 @@
# Feature metapackages are not supposed to have documentation!
addFilter(r"\+[-_\w]+-devel.noarch: W: no-documentation")

@ -0,0 +1,6 @@
[package]
# The rust2rpm-generated summary would be "Trait for constructing" because
# rust2rpm attempts to remove the crate name from the beginning of the summary.
# In this case, the result doesnt make much sense, so we restore the original
# summary text.
summary = "ZeroFrom trait for constructing"

@ -0,0 +1,111 @@
## START: Set by rpmautospec
## (rpmautospec version 0.7.3)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
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 zerofrom
Name: rust-zerofrom
Version: 0.1.5
Release: %autorelease
Summary: ZeroFrom trait for constructing
License: Unicode-3.0
URL: https://crates.io/crates/zerofrom
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
ZeroFrom trait for constructing.}
%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
%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}+alloc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+alloc-devel %{_description}
This package contains library source intended for building other packages which
use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+derive-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+derive-devel %{_description}
This package contains library source intended for building other packages which
use the "derive" feature of the "%{crate}" crate.
%files -n %{name}+derive-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
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.1.5-1
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Sat Nov 23 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.1.5-1
- Update to 0.1.5 (close RHBZ#2328449)
* Tue Sep 10 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.1.4-1
- Initial package (close RHBZ#2310860)
## END: Generated by rpmautospec
Loading…
Cancel
Save