# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate version-sync Name: rust-%{crate} Version: 0.9.3 Release: %autorelease Summary: Simple crate for ensuring that version numbers in README files are updated # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/version-sync Source: %{crates_source} ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Crate for ensuring that version numbers in README files and other files are kept in sync with the crate version.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %license LICENSE %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %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 "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+contains_regex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+contains_regex-devel %{_description} This package contains library source intended for building other packages which use "contains_regex" feature of "%{crate}" crate. %files -n %{name}+contains_regex-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+html_root_url_updated-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+html_root_url_updated-devel %{_description} This package contains library source intended for building other packages which use "html_root_url_updated" feature of "%{crate}" crate. %files -n %{name}+html_root_url_updated-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+markdown_deps_updated-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+markdown_deps_updated-devel %{_description} This package contains library source intended for building other packages which use "markdown_deps_updated" feature of "%{crate}" crate. %files -n %{name}+markdown_deps_updated-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+proc-macro2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+proc-macro2-devel %{_description} This package contains library source intended for building other packages which use "proc-macro2" feature of "%{crate}" crate. %files -n %{name}+proc-macro2-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+pulldown-cmark-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pulldown-cmark-devel %{_description} This package contains library source intended for building other packages which use "pulldown-cmark" feature of "%{crate}" crate. %files -n %{name}+pulldown-cmark-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+regex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+regex-devel %{_description} This package contains library source intended for building other packages which use "regex" feature of "%{crate}" crate. %files -n %{name}+regex-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+semver-parser-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+semver-parser-devel %{_description} This package contains library source intended for building other packages which use "semver-parser" feature of "%{crate}" crate. %files -n %{name}+semver-parser-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+syn-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+syn-devel %{_description} This package contains library source intended for building other packages which use "syn" feature of "%{crate}" crate. %files -n %{name}+syn-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+toml-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+toml-devel %{_description} This package contains library source intended for building other packages which use "toml" feature of "%{crate}" crate. %files -n %{name}+toml-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+url-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+url-devel %{_description} This package contains library source intended for building other packages which use "url" feature of "%{crate}" crate. %files -n %{name}+url-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 %autochangelog