|
|
@ -13,6 +13,9 @@ Summary: Utilities for converting between byte sequences and platform-nat
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/os_str_bytes
|
|
|
|
URL: https://crates.io/crates/os_str_bytes
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * drop optional dependencies that are not packaged for Fedora
|
|
|
|
|
|
|
|
Patch0: os_str_bytes-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
@ -76,18 +79,6 @@ which use "memchr" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+memchr-devel
|
|
|
|
%files -n %{name}+memchr-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+print_bytes-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+print_bytes-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "print_bytes" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+print_bytes-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+raw_os_str-devel
|
|
|
|
%package -n %{name}+raw_os_str-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -100,18 +91,6 @@ which use "raw_os_str" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+raw_os_str-devel
|
|
|
|
%files -n %{name}+raw_os_str-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+uniquote-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+uniquote-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "uniquote" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+uniquote-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|