|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate libc
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.2.119
|
|
|
|
|
Version: 0.2.120
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Raw FFI bindings to platform libraries like libc
|
|
|
|
|
|
|
|
|
@ -16,7 +16,7 @@ Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Raw FFI bindings to platform libraries like libc.}
|
|
|
|
@ -34,9 +34,11 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
|
|
|
%doc CONTRIBUTING.md README.md
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
%license %{crate_instdir}/LICENSE-APACHE
|
|
|
|
|
%license %{crate_instdir}/LICENSE-MIT
|
|
|
|
|
%doc %{crate_instdir}/CONTRIBUTING.md
|
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -48,7 +50,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+align-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -60,7 +62,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "align" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+align-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+const-extern-fn-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -72,7 +74,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "const-extern-fn" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+const-extern-fn-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+extra_traits-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -84,7 +86,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "extra_traits" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+extra_traits-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -96,7 +98,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+use_std-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -108,7 +110,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "use_std" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+use_std-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|