You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
245 lines
6.8 KiB
245 lines
6.8 KiB
# Generated by rust2rpm 18
|
|
%bcond_without check
|
|
%global debug_package %{nil}
|
|
|
|
%global crate linux-raw-sys
|
|
|
|
Name: rust-%{crate}
|
|
Version: 0.0.36
|
|
Release: 2%{?dist}
|
|
Summary: Generated bindings for Linux's userspace API
|
|
|
|
# Upstream license specification: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
|
|
License: ASL 2.0 or MIT
|
|
URL: https://crates.io/crates/linux-raw-sys
|
|
Source: %{crates_source}
|
|
# Initial patched metadata
|
|
# - drop dependencies on compiler internals
|
|
Patch0: linux-raw-sys-fix-metadata.diff
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
%if %{__cargo_skip_build}
|
|
BuildArch: noarch
|
|
%endif
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%global _description %{expand:
|
|
Generated bindings for Linux's userspace API.}
|
|
|
|
%description %{_description}
|
|
|
|
%package devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "%{crate}" crate.
|
|
|
|
%files devel
|
|
%doc README.md
|
|
%license LICENSE-APACHE LICENSE-MIT COPYRIGHT
|
|
%license LICENSE-Apache-2.0_WITH_LLVM-exception
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%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 "default" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+default-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+errno-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+errno-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "errno" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+errno-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+general-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+general-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "general" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+general-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+netlink-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+netlink-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "netlink" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+netlink-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+no_std-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+no_std-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "no_std" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+no_std-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "std" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+std-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+v2_6_32-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+v2_6_32-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "v2_6_32" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+v2_6_32-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+v3_10-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+v3_10-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "v3_10" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+v3_10-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+v3_2-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+v3_2-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "v3_2" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+v3_2-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+v4_2-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+v4_2-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "v4_2" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+v4_2-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+v4_20-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+v4_20-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "v4_20" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+v4_20-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+v4_4-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+v4_4-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "v4_4" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+v4_4-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+v5_11-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+v5_11-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "v5_11" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+v5_11-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+v5_4-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+v5_4-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "v5_4" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+v5_4-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%prep
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
%cargo_prep
|
|
|
|
%generate_buildrequires
|
|
%cargo_generate_buildrequires
|
|
|
|
%build
|
|
%cargo_build
|
|
|
|
%install
|
|
%cargo_install
|
|
|
|
%if %{with check}
|
|
%check
|
|
%cargo_test
|
|
%endif
|
|
|
|
%changelog
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.36-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Sun Nov 28 2021 Olivier Lemasle <o.lemasle@gmail.com> - 0.0.36-1
|
|
- Bump to upstream 0.0.36
|
|
|
|
* Thu Sep 23 2021 Olivier Lemasle <o.lemasle@gmail.com> - 0.0.28-1
|
|
- Bump to upstream 0.0.28
|
|
|
|
* Fri Jul 16 18:55:15 CEST 2021 Olivier Lemasle <o.lemasle@gmail.com> - 0.0.16-1
|
|
- Initial package
|