[packages/llvm] - reordered clang packages: multilib with other ABIs rt stuff after base containing basic ABI rt

qboosh qboosh at pld-linux.org
Tue Dec 21 18:18:27 CET 2021


commit cb7d0198fbe457df64c6035e409f0869c7ebd911
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Dec 21 18:19:08 2021 +0100

    - reordered clang packages:
      multilib with other ABIs rt stuff after base containing basic ABI rt
      devel and docs after libs

 llvm.spec | 110 +++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)
---
diff --git a/llvm.spec b/llvm.spec
index 16f899c..2ad9b36 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -364,18 +364,6 @@ LLVM do języków C, C++, Objective C i Objective C++. Narzędzia są
 budowane jako biblioteki i zaprojektowane z myślą o swobodnym łączeniu
 i rozszerzaniu.
 
-%package -n clang-libs
-Summary:	Clang shared libraries
-Summary(pl.UTF-8):	Biblioteki współdzielone Clanga
-Group:		Libraries
-URL:		https://clang.llvm.org/
-
-%description -n clang-libs
-Clang shared libraries.
-
-%description -n clang-libs -l pl.UTF-8
-Biblioteki współdzielone Clanga.
-
 %package -n clang-multilib
 Summary:	A C language family frontend for LLVM - 32-bit support
 Summary(pl.UTF-8):	Frontend LLVM-a do języków z rodziny C - obsługa binariów 32-bitowych
@@ -407,27 +395,17 @@ i rozszerzaniu.
 Ten pakiet zawiera rozszerzenie kompilatora C o obsługę tworzenia
 programów 32-bitowych na maszynie 64-bitowej.
 
-%package -n clang-analyzer
-Summary:	A source code analysis framework
-Summary(pl.UTF-8):	Szkielet do analizy kodu źródłowego
-Group:		Development/Languages
-URL:		https://clang-analyzer.llvm.org/
-Requires:	clang = %{version}-%{release}
-# not picked up automatically since files are currently not instaled
-# in standard Python hierarchies yet
-Requires:	python3
+%package -n clang-libs
+Summary:	Clang shared libraries
+Summary(pl.UTF-8):	Biblioteki współdzielone Clanga
+Group:		Libraries
+URL:		https://clang.llvm.org/
 
-%description -n clang-analyzer
-The Clang Static Analyzer consists of both a source code analysis
-framework and a standalone tool that finds bugs in C and Objective-C
-programs. The standalone tool is invoked from the command-line, and is
-intended to run in tandem with a build of a project or code base.
+%description -n clang-libs
+Clang shared libraries.
 
-%description -n clang-analyzer -l pl.UTF-8
-Clang Static Analyzer składa się ze szkieletu do analizy kodu
-źródłowego oraz samodzielnego narzędzia znajdującego błędy w
-programach w C i C++. Narzędzie jest wywoływane z linii poleceń, z
-myślą o uruchamianiu wraz z kompilacją projektu lub kodu.
+%description -n clang-libs -l pl.UTF-8
+Biblioteki współdzielone Clanga.
 
 %package -n clang-devel
 Summary:	Header files for Clang
@@ -470,6 +448,28 @@ API documentation for the Clang compiler.
 %description -n clang-apidocs -l pl.UTF-8
 Dokumentacja API kompilatora Clang.
 
+%package -n clang-analyzer
+Summary:	A source code analysis framework
+Summary(pl.UTF-8):	Szkielet do analizy kodu źródłowego
+Group:		Development/Languages
+URL:		https://clang-analyzer.llvm.org/
+Requires:	clang = %{version}-%{release}
+# not picked up automatically since files are currently not instaled
+# in standard Python hierarchies yet
+Requires:	python3
+
+%description -n clang-analyzer
+The Clang Static Analyzer consists of both a source code analysis
+framework and a standalone tool that finds bugs in C and Objective-C
+programs. The standalone tool is invoked from the command-line, and is
+intended to run in tandem with a build of a project or code base.
+
+%description -n clang-analyzer -l pl.UTF-8
+Clang Static Analyzer składa się ze szkieletu do analizy kodu
+źródłowego oraz samodzielnego narzędzia znajdującego błędy w
+programach w C i C++. Narzędzie jest wywoływane z linii poleceń, z
+myślą o uruchamianiu wraz z kompilacją projektu lub kodu.
+
 %package -n clang-tools-extra
 Summary:	Extra tools for Clang
 Summary(pl.UTF-8):	Dodatkowe narzędzia do kompilatora Clang
@@ -1119,11 +1119,6 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_datadir}/clang
 %{_datadir}/clang/clang-format-diff.py
 
-%files -n clang-libs
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libclang.so.%{abi}
-%attr(755,root,root) %{_libdir}/libclang.so.*.*.*
-
 %if %{with rt} && %{with multilib}
 %ifarch %{x8664} x32
 %files -n clang-multilib
@@ -1140,6 +1135,30 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 %endif
 
+%files -n clang-libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libclang.so.%{abi}
+%attr(755,root,root) %{_libdir}/libclang.so.*.*.*
+
+%files -n clang-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libclang.so
+%{_libdir}/libclang*.a
+%{_includedir}/clang
+%{_includedir}/clang-c
+%{_includedir}/clang-tidy
+%{_libdir}/cmake/clang
+
+%files -n clang-doc
+%defattr(644,root,root,755)
+%doc tools/clang/docs/*.{html,png,txt}
+
+%if %{with apidocs}
+%files -n clang-apidocs
+%defattr(644,root,root,755)
+%doc clang-apidoc/*
+%endif
+
 %files -n clang-analyzer
 %defattr(644,root,root,755)
 %dir %{_libexecdir}/clang-analyzer
@@ -1162,25 +1181,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_prefix}/lib/libscanbuild
 %{_datadir}/scan-view
 
-%files -n clang-devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libclang.so
-%{_libdir}/libclang*.a
-%{_includedir}/clang
-%{_includedir}/clang-c
-%{_includedir}/clang-tidy
-%{_libdir}/cmake/clang
-
-%files -n clang-doc
-%defattr(644,root,root,755)
-%doc tools/clang/docs/*.{html,png,txt}
-
-%if %{with apidocs}
-%files -n clang-apidocs
-%defattr(644,root,root,755)
-%doc clang-apidoc/*
-%endif
-
 %files -n clang-tools-extra
 %defattr(644,root,root,755)
 %doc tools/clang/tools/extra/{CODE_OWNERS.TXT,README.txt}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/cb7d0198fbe457df64c6035e409f0869c7ebd911



More information about the pld-cvs-commit mailing list