Fix libcxxabi dependencies

The libcxxabi-devel dependency was simply wrong, a result of
copy&paste from the libcxxabi package.

The explicit libcxx dependency is to resolve the rpminspect warning.
This commit is contained in:
Nikita Popov 2022-10-05 16:22:39 +02:00
parent 18977449c9
commit cabfc5aa3c
1 changed files with 7 additions and 2 deletions

View File

@ -7,7 +7,7 @@
Name: libcxx
Version: %{libcxx_version}%{?rc_ver:~rc%{rc_ver}}
Release: 4%{?dist}
Release: 5%{?dist}
Summary: C++ standard library targeting C++11
License: MIT or NCSA
URL: http://libcxx.llvm.org/
@ -32,6 +32,8 @@ BuildRequires: gnupg2
ExcludeArch: ppc64 ppc64le
%endif
Requires: libcxxabi%{?_isa} = %{version}-%{release}
%description
libc++ is a new implementation of the C++ standard library, targeting C++11.
@ -57,7 +59,7 @@ libcxxabi provides low level support for a standard C++ library.
%package -n libcxxabi-devel
Summary: Headers and libraries for libcxxabi devel
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: libcxxabi%{?_isa} = %{version}-%{release}
%description -n libcxxabi-devel
%{summary}.
@ -145,6 +147,9 @@ mv tmp.a %{buildroot}%{_libdir}/libc++.a
%{_libdir}/libc++abi.a
%changelog
* Wed Oct 05 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-5
- Fix libcxxabi dependencies
* Wed Oct 05 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-4
- Combine with libcxxabi build