commit 3d089c66fc263363aa3d255a6b18645e77b85eb1 Author: tigro Date: Mon Jan 15 22:01:52 2024 +0300 import rust-openpgp-cert-d-0.3.1-1.el9 diff --git a/.rust-openpgp-cert-d.metadata b/.rust-openpgp-cert-d.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/openpgp-cert-d-0.3.1.crate b/SOURCES/openpgp-cert-d-0.3.1.crate new file mode 100644 index 0000000..211007c Binary files /dev/null and b/SOURCES/openpgp-cert-d-0.3.1.crate differ diff --git a/SPECS/rust-openpgp-cert-d.spec b/SPECS/rust-openpgp-cert-d.spec new file mode 100644 index 0000000..41cf1a2 --- /dev/null +++ b/SPECS/rust-openpgp-cert-d.spec @@ -0,0 +1,98 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by rust2rpm 25 +# * files required for compiling tests are not included in published crates +%bcond_with check +%global debug_package %{nil} + +%global crate openpgp-cert-d + +Name: rust-openpgp-cert-d +Version: 0.3.1 +Release: %autorelease +Summary: Shared OpenPGP Certificate Directory + +License: MIT +URL: https://crates.io/crates/openpgp-cert-d +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Shared OpenPGP Certificate Directory.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE.txt +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Mon Jan 15 2024 Arkady L. Shane - 0.3.1-1 +- Rebuilt for MSVSphere 9.3 + +* Tue Dec 19 2023 Fabio Valentini - 0.3.1-1 +- Update to version 0.3.1; Fixes RHBZ#2253187 + +* Mon Nov 06 2023 Fabio Valentini - 0.1.2-1 +- Update to version 0.1.2; Fixes RHBZ#2248420 + +* Thu Nov 02 2023 Fabio Valentini - 0.1.1-1 +- Update to version 0.1.1; Fixes RHBZ#2247711 + +* Thu Nov 02 2023 Fabio Valentini - 0.1.0-3 +- Bump sha1collisiondetection dependency from 0.2 to 0.3 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Apr 28 2023 Fabio Valentini - 0.1.0-1 +- Initial import (#2186547)