Rectify the spec file

Patch files should be after the source item

Signed-off-by: WizardHowl <liuwenyu7@huawei.com>
(cherry picked from commit 6f4c2d70811690543f519fde235f1cab8e64fef5)
This commit is contained in:
WizardHowl 2023-01-06 02:29:02 +00:00 committed by openeuler-sync-bot
parent b36528ec81
commit d2b7b0b225

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
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
* Fri Jan 6 2023 Wenyu Liu<liuwenyu7@huawei.com> - 1.2.0-4
- Rectify the content that does not comply with specifications in the spec file
* Tue Oct 25 2022 Wenyu Liu<liuwenyu7@huawei.com> - 1.2.0-3
- rebuild package.