Skip to content

Commit

Permalink
[llvm] Split llvm libs to separate package. Contributes to JB#51574
Browse files Browse the repository at this point in the history
  • Loading branch information
mlehtima committed Jan 29, 2021
1 parent 0096e7e commit 9ca89c3
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions rpm/llvm.spec
Expand Up @@ -26,6 +26,7 @@ Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: cmake, ninja
BuildRequires: gcc, python3-base
Requires: %{name}-libs = %{version}-%{release}

%description
LLVM is a compiler infrastructure designed for compile-time, link-time, runtime,
Expand All @@ -37,10 +38,16 @@ languages is in development. The compiler infrastructure
includes mirror sets of programming tools as well as libraries with equivalent
functionality.

%package libs
Summary: LLVM shared libraries

%description libs
Shared libraries for the LLVM compiler infrastructure.

%package devel
Summary: Libraries and Header Files for LLVM
Group: Development/Tools
Requires: %{name} = %{version}
Requires: %{name} = %{version}-%{release}

%description devel
LLVM Header files
Expand Down Expand Up @@ -104,9 +111,12 @@ popd
%defattr(-, root, root)
%license llvm/LICENSE.TXT
%{_bindir}/*
%{_datadir}/opt-viewer

%files libs
%license llvm/LICENSE.TXT
%{_libdir}/*.so.*
%{_libdir}/libLLVM-*.so
%{_datadir}/opt-viewer

%files devel
%defattr(-, root, root)
Expand Down

0 comments on commit 9ca89c3

Please sign in to comment.