# Generated by rust2rpm 10 # Needs test files not provided in the crate %bcond_with check %global debug_package %{nil} %global crate skeptic Name: rust-%{crate} Version: 0.13.4 Release: 5%{?dist} Summary: Test your Rust markdown documentation via Cargo # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/skeptic Source: %{crates_source} # Initial patched metadata # - Bump bytecount to 0.6 https://github.com/budziq/rust-skeptic/pull/109 # - Bump cargo_metadata to 0.8 https://github.com/budziq/rust-skeptic/pull/107 # - Bump glob to 0.3 (upstreamed) # - Bump pulldown-cmark to 0.6 https://github.com/budziq/rust-skeptic/pull/108 Patch0: skeptic-fix-metadata.diff Patch1: 0001-Bumped-glob-and-cargo_metadata-to-latest-version.patch Patch2: 0001-Bump-cargo_metadata-to-0.8.patch Patch3: 0001-Bump-pulldown-cmark-to-0.6.patch ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Test your Rust markdown documentation via Cargo.} %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 %doc README.md %{cargo_registry}/%{crate}-%{version}/ %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}/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 * Fri Sep 13 17:49:45 CEST 2019 Robert-André Mauchin - 0.13.4-5 - Bump bytecount to 0.6 - Bump pulldown-cmark to 0.6 * Thu Aug 01 00:51:23 CEST 2019 Robert-André Mauchin - 0.13.4-4 - Update 0001-Bump-cargo_metadata-to-0.8 patch * Wed Jul 31 19:54:43 CEST 2019 Robert-André Mauchin - 0.13.4-3 - Bump glob to 0.3 and cargo_metadata to 0.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.13.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Mar 13 2019 Igor Gnatenko - 0.13.4-1 - Initial package