# Generated by rust2rpm 10 %bcond_without check %global debug_package %{nil} %global crate pkg-config Name: rust-%{crate} Version: 0.3.14 Release: 6%{?dist} Summary: Library to run the pkg-config system tool # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/pkg-config Source: %{crates_source} ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Library to run the pkg-config system tool at build time in order to be used in Cargo build scripts.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch Requires: /usr/bin/pkg-config %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %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 echo '/usr/bin/pkg-config' %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Thu Jun 20 12:29:16 CEST 2019 Igor Gnatenko - 0.3.14-6 - Regenerate * Sun Jun 09 11:21:52 CEST 2019 Igor Gnatenko - 0.3.14-5 - Regenerate * Sat Feb 02 2019 Fedora Release Engineering - 0.3.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Oct 26 2018 Igor Gnatenko - 0.3.14-3 - Adapt to new packaging * Sun Oct 07 2018 Igor Gnatenko - 0.3.14-2 - Run tests in infrastructure * Sat Sep 08 2018 Josh Stone - 0.3.14-1 - Update to 0.3.14 * Tue Aug 07 2018 Josh Stone - 0.3.13-1 - Update to 0.3.13 * Thu Jul 19 2018 Igor Gnatenko - 0.3.120.3.12-11 - Update to 0.3.12 * Sat Jul 14 2018 Fedora Release Engineering - 0.3.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Apr 24 2018 Igor Gnatenko - 0.3.11-1 - Update to 0.3.11 * Fri Feb 09 2018 Fedora Release Engineering - 0.3.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 25 2018 Josh Stone - 0.3.9-5 - Fix unused_imports warning for AsciiExt (rust 1.23) * Mon Jan 08 2018 Igor Gnatenko - 0.3.9-4 - Rebuild for rust-packaging v5 * Thu Nov 30 2017 Igor Gnatenko - 0.3.9-3 - Bump lazy_static to 1 * Wed Jun 14 2017 Igor Gnatenko - 0.3.9-2 - Port to use rust-packaging * Sun Feb 26 2017 Igor Gnatenko - 0.3.9-1 - Initial package