Update to version 2.4.0; Fixes RHBZ#2061202

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

1
.gitignore vendored

@ -2,3 +2,4 @@
/ipnet-2.2.0.crate /ipnet-2.2.0.crate
/ipnet-2.3.0.crate /ipnet-2.3.0.crate
/ipnet-2.3.1.crate /ipnet-2.3.1.crate
/ipnet-2.4.0.crate

@ -0,0 +1,4 @@
[DEFAULT]
unwanted-features =
json
schemars

@ -1,11 +1,11 @@
# Generated by rust2rpm 17 # Generated by rust2rpm 21
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate ipnet %global crate ipnet
Name: rust-%{crate} Name: rust-%{crate}
Version: 2.3.1 Version: 2.4.0
Release: %autorelease Release: %autorelease
Summary: Provides types and useful methods for working with IP prefixes Summary: Provides types and useful methods for working with IP prefixes
@ -15,11 +15,8 @@ URL: https://crates.io/crates/ipnet
Source: %{crates_source} Source: %{crates_source}
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:
Provides types and useful methods for working with IPv4 and IPv6 network Provides types and useful methods for working with IPv4 and IPv6 network
@ -39,13 +36,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 %license %{crate_instdir}/LICENSE-APACHE
%doc README.md RELEASES.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%doc %{crate_instdir}/RELEASES.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -53,11 +52,11 @@ 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}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
@ -65,11 +64,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description} %description -n %{name}+serde-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 "serde" feature of "%{crate}" crate. use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel %files -n %{name}+serde-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

@ -1 +1 @@
SHA512 (ipnet-2.3.1.crate) = db74ad4850e61b20b5280d0637a33a0a1dc2e3388bda38efbbdc221c04dfe04d304d57c3704fa68a824e65e8a3bdea2e743b2d0c2d06b1a8710c192cec1b6100 SHA512 (ipnet-2.4.0.crate) = 8658cf15c500969f58b3515cca0f7d055b6060cc2978121f184d51e2ea7eb876fd36a947b41939a0d9929ce492b377d3502d69507ffe3f08507ca597eee2b689

Loading…
Cancel
Save