Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:huakim:rust
rust-bstr
rust-bstr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rust-bstr.spec of Package rust-bstr
# # spec file for package rust-bstr # # 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 bstr Name: rust-bstr Version: 1.9.1 Release: 0 Summary: String type that is not required to be valid UTF-8 Group: Development/Libraries/Rust License: MIT OR Apache-2.0 URL: https://crates.io/crates/bstr Source: https://crates.io/api/v1/crates/%crate/%version/download#/%crate-%version.crate # PATCH-FIX-OPENSUSE bstr-fix-metadata.diff — Manually created patch for downstream crate metadata changes Patch: bstr-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: cargo-rpm-macros >= 24 BuildRequires: (crate(memchr) >= 2.7.2 with crate(memchr) < 3.0.0~) BuildRequires: (crate(memchr/alloc) >= 2.7.2 with crate(memchr/alloc) < 3.0.0~) BuildRequires: (crate(memchr/std) >= 2.7.2 with crate(memchr/std) < 3.0.0~) BuildRequires: (crate(regex-automata) >= 0.4.6 with crate(regex-automata) < 0.5.0~) BuildRequires: (crate(regex-automata/dfa-search) >= 0.4.6 with crate(regex-automata/dfa-search) < 0.5.0~) BuildRequires: (crate(serde) >= 1.0.198 with crate(serde) < 2.0.0~) BuildRequires: (crate(serde/alloc) >= 1.0.198 with crate(serde/alloc) < 2.0.0~) BuildRequires: (crate(serde/std) >= 1.0.198 with crate(serde/std) < 2.0.0~) BuildRequires: rust >= 1.65 %if %{with check} BuildRequires: (crate(quickcheck) >= 1.0.0 with crate(quickcheck) < 2.0.0~) BuildRequires: (crate(ucd-parse/default) >= 0.1.10 with crate(ucd-parse/default) < 0.2.0~) BuildRequires: (crate(unicode-segmentation/default) >= 1.11.0 with crate(unicode-segmentation/default) < 2.0.0~) %endif %global _description %{expand: A string type that is not required to be valid UTF-8.} %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}/COPYING %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT %license %{crate_instdir}/src/unicode/data/LICENSE-UNICODE %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}+alloc-devel Summary: %{summary} Group: Development/Libraries/Rust 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}+serde-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-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 %package -n %{name}+unicode-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+unicode-devel %{_description} This package contains library source intended for building other packages which use the "unicode" feature of the "%{crate}" crate. %files -n %{name}+unicode-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Tue Apr 23 16:24:11 EAT 2024 Your Name <you@example.com> - Version 1.9.1 - 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