Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
rust
rust-ulid
rust-ulid.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rust-ulid.spec of Package rust-ulid
# Generated by rust2rpm 26 %bcond_with check %global debug_package %{nil} %global crate ulid Name: rust-%{crate} Version: 1.1.2 Release: 1%{?dist} Summary: Universally Unique Lexicographically Sortable Identifier implementation License: MIT URL: https://crates.io/crates/ulid Source: https://crates.io/api/v1/crates/%crate/%version/download#/%crate-%version.crate # Automatically generated patch to strip dependencies and normalize metadata Patch: ulid-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A Universally Unique Lexicographically Sortable Identifier implementation.} %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}+postgres-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+postgres-devel %{_description} This package contains library source intended for building other packages which use the "postgres" feature of the "%{crate}" crate. %files -n %{name}+postgres-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rand-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rand-devel %{_description} This package contains library source intended for building other packages which use the "rand" feature of the "%{crate}" crate. %files -n %{name}+rand-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} 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} 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}+uuid-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+uuid-devel %{_description} This package contains library source intended for building other packages which use the "uuid" feature of the "%{crate}" crate. %files -n %{name}+uuid-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep # Some source files are executable; fix this. chmod a-x src/*.rs %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor