Update to version 2.9.0; Fixes RHBZ#2245548

epel9 imports/e9/rust-ipnet-2.9.0-1.el9
Fabio Valentini 1 year ago
parent 1eb7ade2d0
commit f4d0c47f68
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -9,3 +9,4 @@
/ipnet-2.7.1.crate /ipnet-2.7.1.crate
/ipnet-2.7.2.crate /ipnet-2.7.2.crate
/ipnet-2.8.0.crate /ipnet-2.8.0.crate
/ipnet-2.9.0.crate

@ -1,19 +1,19 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 25
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate ipnet %global crate ipnet
Name: rust-ipnet Name: rust-ipnet
Version: 2.8.0 Version: 2.9.0
Release: %autorelease Release: %autorelease
Summary: Provides types and useful methods for working with IP prefixes Summary: Types and useful methods for working with IP prefixes
License: MIT OR Apache-2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/ipnet URL: https://crates.io/crates/ipnet
Source: %{crates_source} Source: %{crates_source}
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%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
@ -55,6 +55,30 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+heapless-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+heapless-devel %{_description}
This package contains library source intended for building other packages which
use the "heapless" feature of the "%{crate}" crate.
%files -n %{name}+heapless-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+ser_as_str-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+ser_as_str-devel %{_description}
This package contains library source intended for building other packages which
use the "ser_as_str" feature of the "%{crate}" crate.
%files -n %{name}+ser_as_str-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -80,7 +104,7 @@ use the "std" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

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

@ -0,0 +1,6 @@
[package]
summary = "Types and useful methods for working with IP prefixes"
[features]
hide = ["json", "schemars"]

@ -1 +1 @@
SHA512 (ipnet-2.8.0.crate) = 18773715f0acad731885e551a402432a6fb29f120575ddde380cd8af8d332acf2b5be4657d1a321ae7a6226fa0ae58feb6ac295b6e4cd255144465c2ea2c0692 SHA512 (ipnet-2.9.0.crate) = 8ce429ba2bae53cfdaf8a7d6bf980e10b9dd515446ef3ed4e4e11432043a18e09454260567419818f523bc589fc367194bc345660f2cc808d281db235d3e0b54

Loading…
Cancel
Save