Remove redundant tags/sections
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=23
This commit is contained in:
20
mpc.spec
20
mpc.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package mpc (Version 0.8.1)
|
||||
# spec file for package mpc
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,17 +15,14 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define debug_package_requires libmpc2 = %{version}-%{release}
|
||||
|
||||
Name: mpc
|
||||
BuildRequires: gmp-devel mpfr-devel
|
||||
License: LGPLv2.1+
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Libraries/C and C++
|
||||
AutoReqProv: on
|
||||
Version: 0.8.1
|
||||
Release: 3
|
||||
Version: 0.8.2
|
||||
Release: 1
|
||||
Summary: MPC multiple-precision complex shared library
|
||||
Url: http://www.multiprecision.org/mpc/
|
||||
Source: mpc-%{version}.tar.bz2
|
||||
@@ -40,10 +37,8 @@ built upon and follows the same principles as MPFR.
|
||||
|
||||
|
||||
%package -n libmpc2
|
||||
License: LGPLv2.1+
|
||||
Summary: MPC multiple-precision complex shared library
|
||||
Group: Development/Libraries/C and C++
|
||||
AutoReqProv: on
|
||||
|
||||
%description -n libmpc2
|
||||
MPC is a C library for the arithmetic of complex numbers with
|
||||
@@ -53,11 +48,9 @@ built upon and follows the same principles as MPFR.
|
||||
|
||||
|
||||
%package devel
|
||||
License: LGPLv2.1+
|
||||
Summary: MPC multiple-precision complex library development files
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libmpc2 = %{version} mpfr-devel
|
||||
AutoReqProv: on
|
||||
PreReq: %install_info_prereq
|
||||
|
||||
%description devel
|
||||
@@ -89,9 +82,6 @@ rm $RPM_BUILD_ROOT%{_libdir}/libmpc.la
|
||||
%postun devel
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -n libmpc2
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libmpc.so.2*
|
||||
|
Reference in New Issue
Block a user