commit
97c640389a
Binary file not shown.
@ -0,0 +1,302 @@
|
||||
## 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
|
||||
%bcond_without check
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global crate elliptic-curve
|
||||
|
||||
Name: rust-elliptic-curve
|
||||
Version: 0.13.8
|
||||
Release: %autorelease
|
||||
Summary: General purpose Elliptic Curve Cryptography
|
||||
|
||||
License: Apache-2.0 OR MIT
|
||||
URL: https://crates.io/crates/elliptic-curve
|
||||
Source: %{crates_source}
|
||||
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
|
||||
%global _description %{expand:
|
||||
General purpose Elliptic Curve Cryptography (ECC) support, including
|
||||
types and traits for representing various elliptic curve forms, scalars,
|
||||
points, and public/secret keys composed thereof.}
|
||||
|
||||
%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-APACHE
|
||||
%license %{crate_instdir}/LICENSE-MIT
|
||||
%doc %{crate_instdir}/CHANGELOG.md
|
||||
%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
|
||||
|
||||
%package -n %{name}+alloc-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+alloc-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "alloc" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+alloc-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+arithmetic-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+arithmetic-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "arithmetic" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+arithmetic-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+bits-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+bits-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "bits" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+bits-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+dev-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+dev-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "dev" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+dev-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+digest-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+digest-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "digest" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+digest-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+ecdh-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+ecdh-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "ecdh" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+ecdh-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+ff-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+ff-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "ff" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+ff-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+group-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+group-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "group" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+group-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+hash2curve-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+hash2curve-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "hash2curve" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+hash2curve-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+hazmat-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+hazmat-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "hazmat" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+hazmat-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+jwk-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+jwk-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "jwk" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+jwk-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+pem-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+pem-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "pem" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+pem-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+pkcs8-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+pkcs8-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "pkcs8" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+pkcs8-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+sec1-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+sec1-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "sec1" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+sec1-devel
|
||||
%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}+std-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+std-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "std" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+std-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+voprf-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+voprf-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "voprf" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+voprf-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 <tigro@msvsphere-os.ru> - 0.13.8-1
|
||||
- Rebuilt for MSVSphere 9.3
|
||||
|
||||
* Thu Dec 21 2023 Fabio Valentini <decathorpe@gmail.com> - 0.13.8-1
|
||||
- Update to version 0.13.8; Fixes RHBZ#2250551
|
||||
|
||||
* Thu Nov 16 2023 Fabio Valentini <decathorpe@gmail.com> - 0.13.7-1
|
||||
- Update to version 0.13.7; Fixes RHBZ#2249921
|
||||
|
||||
* Sat Oct 07 2023 Fabio Valentini <decathorpe@gmail.com> - 0.13.6-1
|
||||
- Update to version 0.13.6; Fixes RHBZ#2241800
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu Jun 08 2023 Fabio Valentini <decathorpe@gmail.com> - 0.13.5-1
|
||||
- Initial import (#2213264)
|
Loading…
Reference in new issue