Update to version 0.5.4; Fixes RHBZ#2008168

epel9
Fabio Valentini 2 years ago
parent e7dfe90905
commit 28e94895d5
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -4,3 +4,4 @@
/caps-0.3.4.crate
/caps-0.5.1.crate
/caps-0.5.2.crate
/caps-0.5.4.crate

@ -1,25 +1,22 @@
# Generated by rust2rpm 17
# Generated by rust2rpm 22
%bcond_without check
%global debug_package %{nil}
%global crate caps
Name: rust-%{crate}
Version: 0.5.2
Name: rust-caps
Version: 0.5.4
Release: %autorelease
Summary: Pure-Rust library to work with Linux capabilities
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/caps
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Pure-Rust library to work with Linux capabilities.}
@ -32,13 +29,15 @@ 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-MIT LICENSE-APACHE-2.0 COPYRIGHT
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/COPYRIGHT
%license %{crate_instdir}/LICENSE-APACHE-2.0
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -46,11 +45,35 @@ 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
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde_support-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde_support-devel %{_description}
This package contains library source intended for building other packages which
use the "serde_support" feature of the "%{crate}" crate.
%files -n %{name}+serde_support-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (caps-0.5.2.crate) = fe6716748d7ea89d6d296584f5ce69ed974ba935c4f67e639f06af09bf0de45485700b3cfabc72a0e4063b5c8a2d658a46d5ed612fd54c8427e46017485a8d4a
SHA512 (caps-0.5.4.crate) = 911449b199df1a572e44b5965d7a81c78ee3fa0a2bd09c7d22c0cfb27769410d8324881f5bc6b83c626ee1d9b372ec0e32271c910d4d6e33ac8695d629198bbc

Loading…
Cancel
Save