SHA256
1
0
forked from pool/llvm

Accepting request 613052 from home:kbabioch:branches:devel:tools:compiler

- spec-cleaner and https:// usage

OBS-URL: https://build.opensuse.org/request/show/613052
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=510
This commit is contained in:
Michal Srb 2018-05-30 12:28:04 +00:00 committed by Git OBS Bridge
parent e3baf945af
commit c4bbdda8a4
3 changed files with 10 additions and 34 deletions

View File

@ -54,7 +54,7 @@ llvmX_Y package need to be updated.
5. Update the "_revsn" tag in llvmX_Y.spec and
lldbX_Y.spec to match the revision number of the
tag. This can be found on
http://lists.llvm.org/pipermail/llvm-branch-commits
https://lists.llvm.org/pipermail/llvm-branch-commits
and should have like "[llvm-tag]" and
"Creating release candidate final" in the subject
line. You want to find the one for the current LLVM
@ -94,7 +94,7 @@ needs to be updated.
5. Update the "_revsn" tag in llvmX_Y.spec and
lldbX_Y.spec to match the revision number of the
tag. This can be found on
http://lists.llvm.org/pipermail/llvm-branch-commits
https://lists.llvm.org/pipermail/llvm-branch-commits
and should have like "[llvm-tag]" and
"Creating release candidate final" in the subject
line. You want to find the one for the current LLVM

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 30 12:25:16 UTC 2018 - kbabioch@suse.com
- spec-cleaner and https:// usage
-------------------------------------------------------------------
Thu Mar 29 07:26:34 UTC 2018 - msrb@suse.com

View File

@ -16,6 +16,7 @@
#
%define _sonum 6
%ifarch x86_64
%define has_lldb 1
# python3-lldb%{_sonum} is only built with these distributions (see llvm%{_sonum} package)
@ -23,15 +24,13 @@
%define has_lldb_python 1
%endif
%endif
%define _sonum 6
Name: llvm
Version: 6.0.0
Release: 0
Summary: Low Level Virtual Machine
License: NCSA
Group: Development/Languages/Other
Url: http://www.llvm.org
URL: https://www.llvm.org
# This file documents the process for updating llvm
Source0: README.packaging
Source101: baselibs.conf
@ -45,6 +44,7 @@ BuildRequires: llvm%{_sonum}-devel = %{version}
BuildRequires: llvm%{_sonum}-emacs-plugins = %{version}
BuildRequires: llvm%{_sonum}-gold = %{version}
BuildRequires: llvm%{_sonum}-vim-plugins = %{version}
Requires: llvm%{_sonum} = %{version}
%if 0%{?has_lldb}
BuildRequires: lldb%{_sonum} = %{version}
BuildRequires: lldb%{_sonum}-devel = %{version}
@ -52,7 +52,6 @@ BuildRequires: lldb%{_sonum}-devel = %{version}
%if 0%{?has_lldb_python}
BuildRequires: python3-lldb%{_sonum} = %{version}
%endif
Requires: llvm%{_sonum} = %{version}
%description
LLVM is a compiler infrastructure designed for compile-time,
@ -66,7 +65,6 @@ This package is a dummy package that depends on the version of
llvm that openSUSE currently supports. Packages that
don't require a specific LLVM version should depend on this.
%package devel
Summary: Header Files for LLVM
Group: Development/Languages/Other
@ -81,7 +79,6 @@ This package is a dummy package that depends on the version of
llvm-devel that openSUSE currently supports. Packages that
don't require a specific LLVM version should depend on this.
%package -n clang
Summary: CLANG frontend for LLVM
Group: Development/Languages/Other
@ -96,7 +93,6 @@ This package is a dummy package that depends on the version of
clang that openSUSE currently supports. Packages that
don't require a specific Clang version should depend on this.
%package -n clang-checker
Summary: Static code analyzer for CLANG
Group: Development/Languages/Other
@ -112,7 +108,6 @@ This package is a dummy package that depends on the version of
clang-checker that openSUSE currently supports. Packages that
don't require a specific Clang version should depend on this.
%package -n clang-devel
Summary: CLANG frontend for LLVM (devel package)
Group: Development/Languages/Other
@ -130,7 +125,6 @@ This package is a dummy package that depends on the version of
clang-devel that openSUSE currently supports. Packages that
don't require a specific Clang version should depend on this.
%package LTO-devel
Summary: Link-time optimizer for LLVM (devel package)
Group: Development/Languages/Other
@ -144,7 +138,6 @@ This package is a dummy package that depends on the version of
llvm-LTO-devel that openSUSE currently supports. Packages that
don't require a specific LLVM version should depend on this.
%package gold
Summary: Gold linker plugin for LLVM
Group: Development/Languages/Other
@ -157,7 +150,6 @@ This package is a dummy package that depends on the version of
llvm-gold that openSUSE currently supports. Packages that
don't require a specific LLVM version should depend on this.
%package vim-plugins
Summary: Vim plugins for LLVM
Group: Productivity/Text/Editors
@ -171,7 +163,6 @@ This package is a dummy package that depends on the version of
llvm-vim-plugins that openSUSE currently supports. Packages that
don't require a specific LLVM version should depend on this.
%package emacs-plugins
Summary: Emacs plugins for LLVM
Group: Productivity/Text/Editors
@ -185,7 +176,6 @@ This package is a dummy package that depends on the version of
llvm-emacs-plugins that openSUSE currently supports. Packages that
don't require a specific LLVM version should depend on this.
%package -n lldb
Summary: Software debugger built using LLVM libraries
Group: Development/Tools/Debuggers
@ -201,7 +191,6 @@ This package is a dummy package that depends on the version of
lldb that openSUSE currently supports. Packages that
don't require a specific LLDB version should depend on this.
%package -n lldb-devel
Summary: Development files for LLDB
Group: Development/Languages/Other
@ -214,7 +203,6 @@ This package is a dummy package that depends on the version of
lldb-devel that openSUSE currently supports. Packages that
don't require a specific LLDB version should depend on this.
%package -n python3-lldb
Summary: Python bindings for liblldb
Group: Development/Languages/Python
@ -227,7 +215,6 @@ This package is a dummy package that depends on the version of
python3-lldb that openSUSE currently supports. Packages that
don't require a specific LLDB version should depend on this.
%package -n lld
Summary: Linker for Clang/LLVM
Group: Development/Tools/Building
@ -238,7 +225,6 @@ LLD is a linker from the LLVM project. That is a drop-in replacement for
system linkers and runs much faster than them. It also provides features that
are useful for toolchain developers.
%prep
# Not needed
@ -249,63 +235,48 @@ echo "This is a dummy package to provide a dependency on the system compiler." >
# Not needed
%files
%defattr(-,root,root)
%doc README
%files -n clang
%defattr(-,root,root)
%doc README
%files -n clang-checker
%defattr(-,root,root)
%doc README
%files gold
%defattr(-,root,root)
%doc README
%files devel
%defattr(-,root,root,-)
%doc README
%files -n clang-devel
%defattr(-,root,root)
%doc README
%files LTO-devel
%defattr(-,root,root)
%doc README
%files emacs-plugins
%defattr(-,root,root,-)
%doc README
%files vim-plugins
%defattr(-,root,root,-)
%doc README
%if 0%{?has_lldb}
%files -n lldb
%defattr(-,root,root)
%doc README
%files -n lldb-devel
%defattr(-,root,root)
%doc README
%endif
%if 0%{?has_lldb_python}
%files -n python3-lldb
%defattr(-,root,root)
%doc README
%endif
%files -n lld
%defattr(-,root,root)
%doc README
%changelog