| |
@@ -0,0 +1,648 @@
|
| |
+ # Generated by rust2rpm NNN
|
| |
+ %bcond_without check
|
| |
+
|
| |
+ %global crate nix
|
| |
+ %global real_crate nix-0.24.1
|
| |
+
|
| |
+ Name: rust-nix-0.24.1
|
| |
+ Version: 0.24.1
|
| |
+ Release: 1%{?dist}
|
| |
+ Summary: Rust friendly bindings to *nix APIs
|
| |
+
|
| |
+ License: MIT
|
| |
+ URL: https://crates.io/crates/nix-0.24.1
|
| |
+ Source: %{crates_source}
|
| |
+ # Initial patched metadata
|
| |
+ Patch: nix-0.24.1-patch1.diff
|
| |
+
|
| |
+ ExclusiveArch: %{rust_arches}
|
| |
+
|
| |
+ BuildRequires: rust-packaging >= 21
|
| |
+ BuildRequires: (crate(bitflags/default) >= 1.1.0 with crate(bitflags/default) < 2.0.0~)
|
| |
+ BuildRequires: (crate(cfg-if/default) >= 1.0.0 with crate(cfg-if/default) < 2.0.0~)
|
| |
+ BuildRequires: (crate(libc/default) >= 0.2.121 with crate(libc/default) < 0.3.0~)
|
| |
+ BuildRequires: (crate(libc/extra_traits) >= 0.2.121 with crate(libc/extra_traits) < 0.3.0~)
|
| |
+ BuildRequires: (crate(memoffset/default) >= 0.6.3 with crate(memoffset/default) < 0.7.0~)
|
| |
+ %if %{with check}
|
| |
+ BuildRequires: (crate(assert-impl/default) >= 0.1.0 with crate(assert-impl/default) < 0.2.0~)
|
| |
+ BuildRequires: (crate(caps/default) >= 0.5.1 with crate(caps/default) < 0.6.0~)
|
| |
+ BuildRequires: (crate(lazy_static/default) >= 1.2.0 with crate(lazy_static/default) < 2.0.0~)
|
| |
+ BuildRequires: (crate(parking_lot/default) >= 0.11.2 with crate(parking_lot/default) < 0.12.0~)
|
| |
+ BuildRequires: (crate(rand/default) >= 0.8.0 with crate(rand/default) < 0.9.0~)
|
| |
+ BuildRequires: (crate(semver/default) >= 1.0.0 with crate(semver/default) < 2.0.0~)
|
| |
+ BuildRequires: (crate(sysctl/default) >= 0.1.0 with crate(sysctl/default) < 0.2.0~)
|
| |
+ BuildRequires: (crate(tempfile/default) >= 3.2.0 with crate(tempfile/default) < 4.0.0~)
|
| |
+ %endif
|
| |
+
|
| |
+ %global _description %{expand:
|
| |
+ Rust friendly bindings to *nix APIs.}
|
| |
+
|
| |
+ %description %{_description}
|
| |
+
|
| |
+ %package -n %{crate}
|
| |
+ Summary: %{summary}
|
| |
+
|
| |
+ %description -n %{crate} %{_description}
|
| |
+
|
| |
+ %files -n %{crate}
|
| |
+ %license LIC1
|
| |
+ %license LIC2
|
| |
+ %doc DOC1
|
| |
+ %doc DOC2
|
| |
+ %{_bindir}/nix
|
| |
+
|
| |
+ %package devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: (crate(bitflags/default) >= 1.1.0 with crate(bitflags/default) < 2.0.0~)
|
| |
+ Requires: (crate(cfg-if/default) >= 1.0.0 with crate(cfg-if/default) < 2.0.0~)
|
| |
+ Requires: (crate(libc/default) >= 0.2.121 with crate(libc/default) < 0.3.0~)
|
| |
+ Requires: (crate(libc/extra_traits) >= 0.2.121 with crate(libc/extra_traits) < 0.3.0~)
|
| |
+
|
| |
+ %description devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "%{crate}" crate.
|
| |
+
|
| |
+ %files devel
|
| |
+ %license %{crate_instdir}/LIC1
|
| |
+ %license %{crate_instdir}/LIC2
|
| |
+ %doc %{crate_instdir}/DOC1
|
| |
+ %doc %{crate_instdir}/DOC2
|
| |
+ %{crate_instdir}/
|
| |
+
|
| |
+ %package -n %{name}+default-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/default) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+ Requires: crate(nix/acct) = 0.24.1
|
| |
+ Requires: crate(nix/aio) = 0.24.1
|
| |
+ Requires: crate(nix/dir) = 0.24.1
|
| |
+ Requires: crate(nix/env) = 0.24.1
|
| |
+ Requires: crate(nix/event) = 0.24.1
|
| |
+ Requires: crate(nix/feature) = 0.24.1
|
| |
+ Requires: crate(nix/fs) = 0.24.1
|
| |
+ Requires: crate(nix/hostname) = 0.24.1
|
| |
+ Requires: crate(nix/inotify) = 0.24.1
|
| |
+ Requires: crate(nix/ioctl) = 0.24.1
|
| |
+ Requires: crate(nix/kmod) = 0.24.1
|
| |
+ Requires: crate(nix/mman) = 0.24.1
|
| |
+ Requires: crate(nix/mount) = 0.24.1
|
| |
+ Requires: crate(nix/mqueue) = 0.24.1
|
| |
+ Requires: crate(nix/net) = 0.24.1
|
| |
+ Requires: crate(nix/personality) = 0.24.1
|
| |
+ Requires: crate(nix/poll) = 0.24.1
|
| |
+ Requires: crate(nix/process) = 0.24.1
|
| |
+ Requires: crate(nix/pthread) = 0.24.1
|
| |
+ Requires: crate(nix/ptrace) = 0.24.1
|
| |
+ Requires: crate(nix/quota) = 0.24.1
|
| |
+ Requires: crate(nix/reboot) = 0.24.1
|
| |
+ Requires: crate(nix/resource) = 0.24.1
|
| |
+ Requires: crate(nix/sched) = 0.24.1
|
| |
+ Requires: crate(nix/signal) = 0.24.1
|
| |
+ Requires: crate(nix/socket) = 0.24.1
|
| |
+ Requires: crate(nix/term) = 0.24.1
|
| |
+ Requires: crate(nix/time) = 0.24.1
|
| |
+ Requires: crate(nix/ucontext) = 0.24.1
|
| |
+ Requires: crate(nix/uio) = 0.24.1
|
| |
+ Requires: crate(nix/user) = 0.24.1
|
| |
+ Requires: crate(nix/zerocopy) = 0.24.1
|
| |
+
|
| |
+ %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}+acct-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/acct) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+acct-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "acct" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+acct-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+aio-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/aio) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+aio-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "aio" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+aio-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+dir-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/dir) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+ Requires: crate(nix/fs) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+dir-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "dir" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+dir-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+env-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/env) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+env-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "env" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+env-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+event-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/event) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+event-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "event" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+event-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+feature-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/feature) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+feature-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "feature" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+feature-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+fs-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/fs) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+fs-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "fs" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+fs-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+hostname-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/hostname) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+hostname-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "hostname" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+hostname-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+inotify-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/inotify) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+inotify-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "inotify" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+inotify-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+ioctl-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/ioctl) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+ioctl-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "ioctl" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+ioctl-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+kmod-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/kmod) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+kmod-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "kmod" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+kmod-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+memoffset-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/memoffset) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: (crate(memoffset/default) >= 0.6.3 with crate(memoffset/default) < 0.7.0~)
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+memoffset-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "memoffset" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+memoffset-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+mman-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/mman) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+mman-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "mman" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+mman-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+mount-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/mount) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+ Requires: crate(nix/uio) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+mount-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "mount" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+mount-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+mqueue-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/mqueue) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+ Requires: crate(nix/fs) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+mqueue-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "mqueue" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+mqueue-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+net-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/net) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+ Requires: crate(nix/socket) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+net-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "net" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+net-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+personality-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/personality) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+personality-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "personality" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+personality-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+poll-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/poll) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+poll-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "poll" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+poll-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+process-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/process) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+process-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "process" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+process-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+pthread-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/pthread) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+pthread-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "pthread" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+pthread-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+ptrace-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/ptrace) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+ Requires: crate(nix/process) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+ptrace-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "ptrace" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+ptrace-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+quota-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/quota) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+quota-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "quota" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+quota-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+reboot-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/reboot) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+reboot-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "reboot" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+reboot-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+resource-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/resource) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+resource-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "resource" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+resource-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+sched-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/sched) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+ Requires: crate(nix/process) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+sched-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "sched" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+sched-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+signal-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/signal) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+ Requires: crate(nix/process) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+signal-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "signal" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+signal-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+socket-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/socket) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+ Requires: crate(nix/memoffset) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+socket-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "socket" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+socket-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+term-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/term) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+term-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "term" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+term-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+time-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/time) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+time-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "time" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+time-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+ucontext-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/ucontext) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+ Requires: crate(nix/signal) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+ucontext-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "ucontext" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+ucontext-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+uio-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/uio) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+uio-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "uio" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+uio-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+user-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/user) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+ Requires: crate(nix/feature) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+user-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "user" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+user-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %package -n %{name}+zerocopy-devel
|
| |
+ Summary: %{summary}
|
| |
+ BuildArch: noarch
|
| |
+ Provides: crate(nix/zerocopy) = 0.24.1
|
| |
+ Requires: cargo
|
| |
+ Requires: crate(nix) = 0.24.1
|
| |
+ Requires: crate(nix/fs) = 0.24.1
|
| |
+ Requires: crate(nix/uio) = 0.24.1
|
| |
+
|
| |
+ %description -n %{name}+zerocopy-devel %{_description}
|
| |
+
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "zerocopy" feature of the "%{crate}" crate.
|
| |
+
|
| |
+ %files -n %{name}+zerocopy-devel
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
+
|
| |
+ %prep
|
| |
+ %autosetup -n %{real_crate}-%{version_no_tilde} -p1
|
| |
+ %cargo_prep
|
| |
+
|
| |
+ %build
|
| |
+ %cargo_build
|
| |
+
|
| |
+ %install
|
| |
+ %cargo_install
|
| |
+
|
| |
+ %if %{with check}
|
| |
+ %check
|
| |
+ %cargo_test
|
| |
+ %endif
|
| |
+
|
| |
+ %changelog
|
| |
+ * Thu Jan 01 1970 Jane Jane <jane@jane.org> - 0.24.1-1
|
| |
+ - Initial package
|
| |