## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 24 %bcond_without check %global debug_package %{nil} %global crate asn1 Name: rust-asn1 Version: 0.15.5 Release: %autorelease Summary: ASN.1 (DER) parser and writer for Rust License: BSD-3-Clause URL: https://crates.io/crates/asn1 Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: ASN.1 (DER) parser and writer for Rust.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch # const-generic feature was dropped in asn1 0.14 Obsoletes: rust-asn1+const-generics-devel < 0.14 %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %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}+fallible-allocations-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fallible-allocations-devel %{_description} This package contains library source intended for building other packages which use the "fallible-allocations" feature of the "%{crate}" crate. %files -n %{name}+fallible-allocations-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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Fri Jan 26 2024 Fedora Release Engineering - 0.15.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Aug 10 2023 Christian Heimes - 0.15.5-2 - Obsolete const-generics feature * Thu Aug 10 2023 Christian Heimes - 0.15.5-1 - Update to 0.15.5, resolves rhbz#2184208 * Wed Aug 09 2023 Christian Heimes - 0.15.4-1 - Update to 0.15.4, resolves rhbz#2184208 * Fri Jul 21 2023 Fedora Release Engineering - 0.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Mar 04 2023 Christian Heimes - 0.13.0-1 - Update to 0.13.0 * Fri Jan 20 2023 Fedora Release Engineering - 0.8.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.8.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.8.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Nov 21 2021 Christian Heimes - 0.8.7-1 - Update to 0.8.7 * Thu Sep 30 2021 Christian Heimes - 0.6.4-1 - Update to 0.6.4 * Wed Aug 18 2021 Christian Heimes - 0.8-1 - Upstream release 0.6.1 * Fri Jul 23 2021 Fedora Release Engineering - 0.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat May 08 2021 Christian Heimes - 0.4.1-2 - Fixed building and tests on non-x86 platforms * Mon May 03 16:22:30 CEST 2021 Christian Heimes - 0.4.1-1 - Initial package ## END: Generated by rpmautospec