From 9921b8f8d6a16e2bc7f2898c3525811996544142 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 20 Jun 2019 12:29:42 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- .rust2rpm.conf | 5 +++++ rust-pkg-config.spec | 17 +++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..00b10ad --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,5 @@ +[DEFAULT] +buildrequires = + /usr/bin/pkg-config +lib.requires = + /usr/bin/pkg-config diff --git a/rust-pkg-config.spec b/rust-pkg-config.spec index 848d2d9..3f2a7bd 100644 --- a/rust-pkg-config.spec +++ b/rust-pkg-config.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 9 +# Generated by rust2rpm 10 %bcond_without check %global debug_package %{nil} @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.3.14 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Library to run the pkg-config system tool # Upstream license specification: MIT/Apache-2.0 @@ -20,12 +20,6 @@ BuildArch: noarch %endif BuildRequires: rust-packaging -%if ! %{__cargo_skip_build} -%if %{with check} -BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0) -BuildRequires: /usr/bin/pkg-config -%endif -%endif %global _description %{expand: Library to run the pkg-config system tool at build time in order to be used in @@ -64,6 +58,10 @@ which use "default" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires +echo '/usr/bin/pkg-config' + %build %cargo_build @@ -76,6 +74,9 @@ which use "default" feature of "%{crate}" crate. %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