Fixup requirements

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
epel9
Igor Raits 5 years ago
parent 27aa2d46eb
commit ad3188f129
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E

@ -0,0 +1,5 @@
[DEFAULT]
buildrequires =
pkgconfig(expat) >= 2.1.0
lib.requires =
pkgconfig(expat) >= 2.1.0

@ -1,4 +1,4 @@
# Generated by rust2rpm 13
# Generated by rust2rpm 15
%bcond_without check
%global debug_package %{nil}
@ -6,16 +6,15 @@
Name: rust-%{crate}
Version: 2.1.6
Release: 1%{?dist}
Release: 2%{?dist}
Summary: XML parser library written in C
# Upstream license specification: MIT
# https://github.com/servo/libexpat/issues/28
# https://github.com/servo/libexpat/issues/30
License: MIT
URL: https://crates.io/crates/expat-sys
Source: %{crates_source}
# README.md symlink issue
# https://github.com/servo/libexpat/issues/29
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
@ -23,7 +22,6 @@ BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: pkgconfig(expat)
%global _description %{expand:
XML parser library written in C.}
@ -33,6 +31,7 @@ XML parser library written in C.}
%package devel
Summary: %{summary}
BuildArch: noarch
Requires: pkgconfig(expat) >= 2.1.0
%description devel %{_description}
@ -61,6 +60,7 @@ rm -vr expat
%generate_buildrequires
%cargo_generate_buildrequires
echo 'pkgconfig(expat) >= 2.1.0'
%build
%cargo_build
@ -74,5 +74,8 @@ rm -vr expat
%endif
%changelog
* Sun Jun 21 08:51:23 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.1.6-2
- Fixup requirements
* Sat May 23 22:32:05 CEST 2020 returntrip <stefano@figura.im> - 2.1.6-1
- Initial package

Loading…
Cancel
Save