Update to version 1.0.0; Fixes RHBZ#2023887

epel9
Fabio Valentini 3 years ago
parent e9d2c9122e
commit b80d6a1360
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -2,3 +2,4 @@
/os_pipe-0.8.2.crate
/os_pipe-0.9.1.crate
/os_pipe-0.9.2.crate
/os_pipe-1.0.0.crate

@ -1,7 +1,10 @@
--- os_pipe-0.9.1/Cargo.toml 1970-01-01T00:00:00+00:00
+++ os_pipe-0.9.1/Cargo.toml 2019-11-19T21:20:55.704436+00:00
@@ -22,6 +22,3 @@
--- os_pipe-1.0.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ os_pipe-1.0.0/Cargo.toml 2022-02-03T14:14:05.272822+00:00
@@ -20,8 +20,6 @@
keywords = ["pipe", "pipe2", "createpipe", "dup"]
license = "MIT"
repository = "https://github.com/oconnor663/os_pipe.rs"
+autobins = false
[target."cfg(not(windows))".dependencies.libc]
version = "0.2.62"
-[target."cfg(windows)".dependencies.winapi]

@ -1,14 +1,12 @@
# Generated by rust2rpm 13
%bcond_without check
# Generated by rust2rpm 20
# * tests require building the example binaries
%bcond_with check
%global debug_package %{nil}
# https://github.com/oconnor663/os_pipe.rs/issues/18
%global __cargo_is_bin() false
%global crate os_pipe
Name: rust-%{crate}
Version: 0.9.2
Version: 1.0.0
Release: %autorelease
Summary: Cross-platform library for opening OS pipes
@ -17,13 +15,11 @@ License: MIT
URL: https://crates.io/crates/os_pipe
Source: %{crates_source}
# Initial patched metadata
# * No windows
# * drop windows-specific dependencies
# * drop unwanted example binaries
Patch0: os_pipe-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
@ -38,8 +34,8 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE
@ -52,8 +48,8 @@ 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.
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

@ -1 +1 @@
SHA512 (os_pipe-0.9.2.crate) = a18f2ceeac5b1db76ab21630cea1ef774b1c803497330a12587f0289f333b559d8b42d51927272bf5182702ab980bc1b68e7fd4c80d4e0cfe244aeb2154aa262
SHA512 (os_pipe-1.0.0.crate) = e7a6118e560f77cbdb20cf10157a43919e134667ca8a3a67d998a51e388a971a464ff5a61d4ba20ae725a0ab7022cc818d64802889b3d0aece71c4d42d338bf6

Loading…
Cancel
Save