mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
@@ -1,33 +1,41 @@
|
||||
# Generated by rust2rpm 26
|
||||
#bcond_without check
|
||||
|
||||
%global crate maturin
|
||||
# Don't mangle shebangs
|
||||
%global __brp_mangle_shebangs %{nil}
|
||||
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
Name: rust-terra-maturin
|
||||
Version: 1.7.8
|
||||
Release: 1%?dist
|
||||
Summary: Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages
|
||||
Release: %autorelease
|
||||
Summary: Build and publish Rust crates as Python packages
|
||||
|
||||
License: MIT OR Apache-2.0
|
||||
URL: https://crates.io/crates/maturin
|
||||
Source: %{crates_source}
|
||||
|
||||
BuildRequires: pkgconfig anda-srpm-macros cargo-rpm-macros >= 24
|
||||
Conflicts: rust-maturin
|
||||
BuildRequires: anda-srpm-macros cargo-rpm-macros >= 24 mold
|
||||
|
||||
%global _description %{expand:
|
||||
Build and publish crates with pyo3, rust-cpython and cffi bindings as
|
||||
well as rust binaries as python packages.}
|
||||
Build and publish crates with pyo3, cffi and uniffi bindings as well as
|
||||
rust binaries as python packages.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package -n terra-%{crate}
|
||||
Summary: %{summary}
|
||||
Conflicts: %crate
|
||||
License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-DFS-2016) AND 0BSD AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSD-2-Clause) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND BSL-1.0 AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND ISC AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR LGPL-3.0-or-later) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT)
|
||||
# LICENSE.dependencies contains a full license breakdown
|
||||
|
||||
%description -n terra-%{crate} %{_description}
|
||||
|
||||
%files -n terra-%{crate}
|
||||
%license license-apache
|
||||
%license license-mit
|
||||
%license LICENSE.dependencies
|
||||
%doc Changelog.md
|
||||
%doc README.md
|
||||
%{_bindir}/maturin
|
||||
@@ -42,6 +50,10 @@ This package contains library source intended for building other packages which
|
||||
use the "%{crate}" crate.
|
||||
|
||||
%files devel
|
||||
%license %{crate_instdir}/license-apache
|
||||
%license %{crate_instdir}/license-mit
|
||||
%doc %{crate_instdir}/Changelog.md
|
||||
%doc %{crate_instdir}/README.md
|
||||
%{crate_instdir}/
|
||||
|
||||
%package -n %{name}+default-devel
|
||||
@@ -284,16 +296,16 @@ use the "scaffolding" feature of the "%{crate}" crate.
|
||||
%files -n %{name}+scaffolding-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+tracing-subscriber-devel
|
||||
%package -n %{name}+schemars-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+tracing-subscriber-devel %{_description}
|
||||
%description -n %{name}+schemars-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "tracing-subscriber" feature of the "%{crate}" crate.
|
||||
use the "schemars" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+tracing-subscriber-devel
|
||||
%files -n %{name}+schemars-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+unicode-xid-devel
|
||||
@@ -373,8 +385,9 @@ use the "zig" feature of the "%{crate}" crate.
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
cargo add time -F macros
|
||||
%cargo_build
|
||||
#cargo_build
|
||||
%{cargo_license_summary_online}
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
|
||||
Reference in New Issue
Block a user