## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 27 %bcond check 1 %global debug_package %{nil} # prevent executables from being installed %global cargo_install_bin 0 %global crate pulldown-cmark Name: rust-pulldown-cmark0.11 Version: 0.11.3 Release: %autorelease Summary: Pull parser for CommonMark License: MIT URL: https://crates.io/crates/pulldown-cmark Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 26 %global _description %{expand: A pull parser for CommonMark.} %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 %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}+gen-tests-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gen-tests-devel %{_description} This package contains library source intended for building other packages which use the "gen-tests" feature of the "%{crate}" crate. %files -n %{name}+gen-tests-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+getopts-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+getopts-devel %{_description} This package contains library source intended for building other packages which use the "getopts" feature of the "%{crate}" crate. %files -n %{name}+getopts-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+html-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+html-devel %{_description} This package contains library source intended for building other packages which use the "html" feature of the "%{crate}" crate. %files -n %{name}+html-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pulldown-cmark-escape-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pulldown-cmark-escape-devel %{_description} This package contains library source intended for building other packages which use the "pulldown-cmark-escape" feature of the "%{crate}" crate. %files -n %{name}+pulldown-cmark-escape-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}+simd-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+simd-devel %{_description} This package contains library source intended for building other packages which use the "simd" feature of the "%{crate}" crate. %files -n %{name}+simd-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 ## START: Generated by rpmautospec * Sat Jan 25 2025 Fabio Valentini - 0.11.3-1 - Initial import (pulldown-cmark 0.11 compat package) ## END: Generated by rpmautospec