Merge branch 'rawhide' into epel9

epel9
Fabio Valentini 2 years ago
commit 2a79f97858
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

5
.gitignore vendored

@ -1,2 +1,7 @@
/os_str_bytes-2.4.0.crate /os_str_bytes-2.4.0.crate
/os_str_bytes-5.0.0.crate /os_str_bytes-5.0.0.crate
/os_str_bytes-6.0.0.crate
/os_str_bytes-6.0.1.crate
/os_str_bytes-6.1.0.crate
/os_str_bytes-6.2.0.crate
/os_str_bytes-6.3.0.crate

@ -1,16 +0,0 @@
--- os_str_bytes-5.0.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ os_str_bytes-5.0.0/Cargo.toml 2021-11-23T13:51:48.444589+00:00
@@ -30,13 +30,6 @@
version = "2.4"
optional = true
-[dependencies.print_bytes]
-version = "0.5"
-optional = true
-
-[dependencies.uniquote]
-version = "3.0"
-optional = true
[dev-dependencies.getrandom]
version = "0.2"

@ -1,31 +1,24 @@
# Generated by rust2rpm 18 # Generated by rust2rpm 22
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate os_str_bytes %global crate os_str_bytes
Name: rust-%{crate} Name: rust-os_str_bytes
Version: 5.0.0 Version: 6.3.0
Release: %autorelease Release: %autorelease
Summary: Utilities for converting between byte sequences and platform-native strings Summary: Convert between byte sequences and platform-native strings
# Upstream license specification: MIT OR Apache-2.0 License: MIT OR Apache-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}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Utilities for converting between byte sequences and platform-native strings.} Convert between byte sequences and platform-native strings.}
%description %{_description} %description %{_description}
@ -35,13 +28,15 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-MIT LICENSE-APACHE COPYRIGHT %license %{crate_instdir}/COPYRIGHT
%doc README.md %license %{crate_instdir}/LICENSE-APACHE
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -49,23 +44,23 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+deprecated-byte-patterns-devel %package -n %{name}+checked_conversions-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+deprecated-byte-patterns-devel %{_description} %description -n %{name}+checked_conversions-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "deprecated-byte-patterns" feature of "%{crate}" crate. use the "checked_conversions" feature of the "%{crate}" crate.
%files -n %{name}+deprecated-byte-patterns-devel %files -n %{name}+checked_conversions-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+memchr-devel %package -n %{name}+memchr-devel
Summary: %{summary} Summary: %{summary}
@ -73,11 +68,23 @@ BuildArch: noarch
%description -n %{name}+memchr-devel %{_description} %description -n %{name}+memchr-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "memchr" feature of "%{crate}" crate. use the "memchr" feature of the "%{crate}" crate.
%files -n %{name}+memchr-devel %files -n %{name}+memchr-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/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 the "print_bytes" feature of the "%{crate}" crate.
%files -n %{name}+print_bytes-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+raw_os_str-devel %package -n %{name}+raw_os_str-devel
Summary: %{summary} Summary: %{summary}
@ -85,11 +92,11 @@ BuildArch: noarch
%description -n %{name}+raw_os_str-devel %{_description} %description -n %{name}+raw_os_str-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "raw_os_str" feature of "%{crate}" crate. use the "raw_os_str" feature of the "%{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 %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -0,0 +1,3 @@
[DEFAULT]
unwanted-features =
uniquote

@ -1 +1 @@
SHA512 (os_str_bytes-5.0.0.crate) = 338b8c811e5c1c609ce2480f93d0370846335244a48e7cb88b7baa08dca765ce276d4abe2d828afd40e4ded87b9b9fc7c3b940749d27743ab1db3ef7f1016046 SHA512 (os_str_bytes-6.3.0.crate) = 34f861a15543933c9fcb560a835bd943231ffcef2c68126d8633f8e792d2d59a20765947feddb0c795a15329d74260d6c2bf74a1f10ee88f355f47240acbb42e

Loading…
Cancel
Save