!18 Rectify the spec file

From: @WizardHowl 
Reviewed-by: @SuperSix173 
Signed-off-by: @SuperSix173
This commit is contained in:
openeuler-ci-bot 2023-01-06 02:14:26 +00:00 committed by Gitee
commit 2d651cb757
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,11 +1,13 @@
Name: libmpc
Version: 1.2.0
Release: 3
Release: 4
Summary: C library for multiple precision complex arithmetic
License: LGPLv3+ and GFDL-1.3-only
URL: http://www.multiprecision.org/
Source0: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz
Patch6000: backport-0001-added-missing-include.patch
BuildRequires: gcc
BuildRequires: gmp-devel >= 5.0.0
BuildRequires: mpfr-devel >= 4.1.0
@ -18,7 +20,6 @@ same principles as MPFR.
%package devel
Summary: Header and shared development libraries for MPC
Patch6000: backport-0001-added-missing-include.patch
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: mpfr-devel gmp-devel
@ -71,6 +72,9 @@ fi
%{_libdir}/libmpc.so
%changelog
* Thu Jan 5 2023 Wenyu Liu<liuwenyu7@huawei.com> - 1.2.0-4
- Rectify the content that does not comply with specifications in the spec file
* Mon June 6 2022 Xinyi Gou<rv7dzzhhs4c@163.com> - 1.2.0-3
- Specify license version