Update to version 3.0.2; Fixes RHBZ#2016784

epel10
Fabio Valentini 1 year ago
parent 52b1180550
commit 19335001d7
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -3,3 +3,4 @@
/configparser-2.0.1.crate /configparser-2.0.1.crate
/configparser-2.1.0.crate /configparser-2.1.0.crate
/configparser-3.0.2.crate

@ -1,11 +1,11 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 25
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate configparser %global crate configparser
Name: rust-configparser Name: rust-configparser
Version: 2.1.0 Version: 3.0.2
Release: %autorelease Release: %autorelease
Summary: Simple configuration parsing utility with no dependencies Summary: Simple configuration parsing utility with no dependencies
@ -13,7 +13,7 @@ License: MIT OR LGPL-3.0-or-later
URL: https://crates.io/crates/configparser URL: https://crates.io/crates/configparser
Source: %{crates_source} Source: %{crates_source}
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
A simple configuration parsing utility with no dependencies that allows A simple configuration parsing utility with no dependencies that allows
@ -51,8 +51,32 @@ 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}+async-std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+async-std-devel %{_description}
This package contains library source intended for building other packages which
use the "async-std" feature of the "%{crate}" crate.
%files -n %{name}+async-std-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+indexmap-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+indexmap-devel %{_description}
This package contains library source intended for building other packages which
use the "indexmap" feature of the "%{crate}" crate.
%files -n %{name}+indexmap-devel
%ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
# remove executable bits from files # remove executable bits from files
chmod -x README.md CHANGELOG.md Cargo.toml.orig src/*.rs tests/*.rs chmod -x README.md CHANGELOG.md Cargo.toml.orig src/*.rs tests/*.rs
%cargo_prep %cargo_prep

@ -0,0 +1,2 @@
[package]
summary = "Simple configuration parsing utility with no dependencies"

@ -1 +1 @@
SHA512 (configparser-2.1.0.crate) = af459b2a3c228ebff981b1b6a158ab84af44a2037b499abc45c43234ba1014c826407a6212a9c36fc6a7acb6bf6407cfcbf52b72a35176cf7dfec94d0515fd6a SHA512 (configparser-3.0.2.crate) = ffa9055a736a93dd062b92ab1345a29565804021268787ab6dd314c00ccec4d2dd94562b1576ac356692011ae67ddc86ae8965e217b1607b680f0669eb4ea9ec

Loading…
Cancel
Save