Add provides for the major version of sub-packages
This commit is contained in:
parent
ab84dbf5d4
commit
15784b25a9
11
llvm.spec
11
llvm.spec
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
|
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
|
||||||
Release: 7%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
Release: 8%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
@ -78,6 +78,8 @@ BuildRequires: python3-devel
|
|||||||
|
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
Provides: llvm(major) = %{maj_ver}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
LLVM is a compiler infrastructure designed for compile-time, link-time,
|
LLVM is a compiler infrastructure designed for compile-time, link-time,
|
||||||
runtime, and idle-time optimization of programs from arbitrary programming
|
runtime, and idle-time optimization of programs from arbitrary programming
|
||||||
@ -94,6 +96,8 @@ Requires: libedit-devel
|
|||||||
Requires(post): %{_sbindir}/alternatives
|
Requires(post): %{_sbindir}/alternatives
|
||||||
Requires(postun): %{_sbindir}/alternatives
|
Requires(postun): %{_sbindir}/alternatives
|
||||||
|
|
||||||
|
Provides: llvm-devel(major) = %{maj_ver}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains library and header files needed to develop new native
|
This package contains library and header files needed to develop new native
|
||||||
programs that use the LLVM infrastructure.
|
programs that use the LLVM infrastructure.
|
||||||
@ -133,6 +137,8 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|||||||
Requires: gcc
|
Requires: gcc
|
||||||
Requires: findutils
|
Requires: findutils
|
||||||
|
|
||||||
|
Provides: llvm-test(major) = %{maj_ver}
|
||||||
|
|
||||||
%description test
|
%description test
|
||||||
LLVM regression tests.
|
LLVM regression tests.
|
||||||
|
|
||||||
@ -463,6 +469,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 17 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-8
|
||||||
|
- Add provides for the major version of sub-packages
|
||||||
|
|
||||||
* Fri May 17 2019 sguelton@redhat.com - 8.0.0-7
|
* Fri May 17 2019 sguelton@redhat.com - 8.0.0-7
|
||||||
- Fix conflicts between llvm-static = 8 and llvm-dev < 8 around LLVMStaticExports.cmake
|
- Fix conflicts between llvm-static = 8 and llvm-dev < 8 around LLVMStaticExports.cmake
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user