Split libmpdec++ into a mpdecimal++ subpackage
The C++ library is quite small (~40K), but it brings in libstdc++ (~2.7M). The split prevents packages only using the C library (such as Python) from transitively depending on libstdc++. Provide names of Fedora contributors Resolves: rhbz#2157620
This commit is contained in:
parent
5756130938
commit
0ae58a8df0
@ -17,13 +17,24 @@ BuildRequires: gcc-c++
|
||||
BuildRequires: unzip
|
||||
|
||||
%description
|
||||
The package contains a library limpdec implementing General Decimal Arithmetic
|
||||
Specification. The specification, written by Mike Cowlishaw from IBM, defines
|
||||
a general purpose arbitrary precision data type together with rigorously
|
||||
specified functions and rounding behavior.
|
||||
The package contains a library libmpdec implementing General Decimal
|
||||
Arithmetic Specification. The specification, written by Mike Cowlishaw from
|
||||
IBM, defines a general purpose arbitrary precision data type together with
|
||||
rigorously specified functions and rounding behavior.
|
||||
|
||||
%package -n %{name}++
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Summary: Library for general decimal arithmetic (C++)
|
||||
|
||||
%description -n %{name}++
|
||||
The package contains a library libmpdec++ implementing General Decimal
|
||||
Arithmetic Specification. The specification, written by Mike Cowlishaw from
|
||||
IBM, defines a general purpose arbitrary precision data type together with
|
||||
rigorously specified functions and rounding behavior.
|
||||
|
||||
%package devel
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}++%{?_isa} = %{version}-%{release}
|
||||
Summary: Development headers for mpdecimal library
|
||||
|
||||
%description devel
|
||||
@ -76,6 +87,8 @@ fi
|
||||
%license LICENSE.txt
|
||||
%{_libdir}/libmpdec.so.%{version}
|
||||
%{_libdir}/libmpdec.so.3
|
||||
|
||||
%files -n %{name}++
|
||||
%{_libdir}/libmpdec++.so.%{version}
|
||||
%{_libdir}/libmpdec++.so.3
|
||||
|
||||
@ -92,8 +105,21 @@ fi
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%changelog
|
||||
* Thu Jan 19 2023 Miro Hrončok <mhroncok@redhat.com> - 2.5.1-3
|
||||
- Split libmpdec++ into a mpdecimal++ subpackage
|
||||
- This prevents packages only using the libmpdec library from transitively depending on libstdc++
|
||||
|
||||
* Wed Jan 18 2023 Charalampos Stratakis <cstratak@redhat.com> - 2.5.1-2
|
||||
- Fix license information
|
||||
|
||||
* Tue Jan 17 2023 Charalampos Stratakis <cstratak@redhat.com> - 2.5.1-1
|
||||
- Import into RHEL
|
||||
- Fedora contributions by:
|
||||
Charalampos Stratakis <cstratak@redhat.com>
|
||||
Igor Gnatenko <ignatenkobrain@fedoraproject.org>
|
||||
Jan Vcelak <jvcelak@fedoraproject.org>
|
||||
Jaroslav Škarvada <jskarvad@redhat.com>
|
||||
Jeff Law <law@redhat.com>
|
||||
Lukas Zachar <lzachar@redhat.com>
|
||||
Miro Hrončok <miro@hroncok.cz>
|
||||
Tom Stellard <tstellar@redhat.com>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user