Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:huakim:rust
rust-adler32
rust-adler32.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rust-adler32.spec of Package rust-adler32
# # spec file for package rust-adler32 # # Copyright (c) 2024 Your Name <you@example.com>. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # # Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate adler32 Name: rust-adler32 Version: 1.2.0 Release: 0 Summary: Minimal Adler32 implementation for Rust Group: Development/Libraries/Rust License: Zlib URL: https://crates.io/crates/adler32 Source: https://crates.io/api/v1/crates/%crate/%version/download#/%crate-%version.crate # Automatically generated patch to strip dependencies and normalize metadata Patch: adler32-fix-metadata-auto.diff # PATCH-FIX-OPENSUSE adler32-fix-metadata.diff — Manually created patch for downstream crate metadata changes Patch: adler32-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 %if 0 BuildRequires: (crate(criterion/default) >= 0.5.0 with crate(criterion/default) < 0.6.0~) BuildRequires: (crate(getrandom/default) >= 0.2.0 with crate(getrandom/default) < 0.3.0~) BuildRequires: (crate(getrandom/wasm-bindgen) >= 0.2.0 with crate(getrandom/wasm-bindgen) < 0.3.0~) BuildRequires: (crate(humansize/default) >= 2.1.0 with crate(humansize/default) < 3.0.0~) BuildRequires: (crate(rand/default) >= 0.8.0 with crate(rand/default) < 0.9.0~) %endif %global _description %{expand: Minimal Adler32 implementation for Rust.} %description %{_description} %package devel Summary: %{summary} Group: Development/Libraries/Rust 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} Group: Development/Libraries/Rust 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}+compiler_builtins-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+compiler_builtins-devel %{_description} This package contains library source intended for building other packages which use the "compiler_builtins" feature of the "%{crate}" crate. %files -n %{name}+compiler_builtins-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+core-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+core-devel %{_description} This package contains library source intended for building other packages which use the "core" feature of the "%{crate}" crate. %files -n %{name}+core-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rustc-dep-of-std-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+rustc-dep-of-std-devel %{_description} This package contains library source intended for building other packages which use the "rustc-dep-of-std" feature of the "%{crate}" crate. %files -n %{name}+rustc-dep-of-std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} Group: Development/Libraries/Rust 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 %build %cargo_build %install %cargo_install %if 0 %check %cargo_test %endif %changelog * Tue Apr 23 16:16:41 EAT 2024 Your Name <you@example.com> - Version 1.2.0 - Initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor