Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 2b46b97345
commit 9a3d92d21f
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,5 +1,5 @@
--- net2-0.2.33/Cargo.toml 1970-01-01T01:00:00+01:00 --- net2-0.2.33/Cargo.toml 1970-01-01T00:00:00+00:00
+++ net2-0.2.33/Cargo.toml 2018-11-11T13:44:38.254464+01:00 +++ net2-0.2.33/Cargo.toml 2019-06-22T07:37:47.354641+00:00
@@ -29,6 +29,3 @@ @@ -29,6 +29,3 @@
nightly = [] nightly = []
[target."cfg(any(target_os=\"redox\", unix))".dependencies.libc] [target."cfg(any(target_os=\"redox\", unix))".dependencies.libc]

@ -1,30 +1,31 @@
# Generated by rust2rpm # Generated by rust2rpm 10
%bcond_with check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate net2 %global crate net2
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.2.33 Version: 0.2.33
Release: 5%{?dist} Release: 6%{?dist}
Summary: Extensions to the standard library's networking types as proposed in RFC 1158 Summary: Extensions to the standard library's networking types as proposed in RFC 1158
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/net2 URL: https://crates.io/crates/net2
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source: %{crates_source}
# Initial patched metadata # Initial patched metadata
# * No windows # * No windows
Patch0: net2-fix-metadata.diff Patch0: net2-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0)
BuildRequires: (crate(libc/default) >= 0.2.42 with crate(libc/default) < 0.3.0)
%global _description \ %global _description %{expand:
Extensions to the standard library's networking types as proposed in RFC 1158. Extensions to the standard library's networking types as proposed in RFC 1158.}
%description %{_description} %description %{_description}
@ -66,10 +67,25 @@ which use "duration" feature of "%{crate}" crate.
%files -n %{name}+duration-devel %files -n %{name}+duration-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+nightly-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+nightly-devel %{_description}
This package contains library source intended for building other packages
which use "nightly" feature of "%{crate}" crate.
%files -n %{name}+nightly-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build
@ -82,6 +98,9 @@ which use "duration" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sat Jun 22 09:37:47 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.33-6
- Regenerate
* Sat Mar 09 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.33-5 * Sat Mar 09 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.33-5
- Adapt to new packaging - Adapt to new packaging

Loading…
Cancel
Save