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 5. Update the "_revsn" tag in llvmX_Y.spec and
lldbX_Y.spec to match the revision number of the lldbX_Y.spec to match the revision number of the
tag. This can be found on 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 and should have like "[llvm-tag]" and
"Creating release candidate final" in the subject "Creating release candidate final" in the subject
line. You want to find the one for the current LLVM 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 5. Update the "_revsn" tag in llvmX_Y.spec and
lldbX_Y.spec to match the revision number of the lldbX_Y.spec to match the revision number of the
tag. This can be found on 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 and should have like "[llvm-tag]" and
"Creating release candidate final" in the subject "Creating release candidate final" in the subject
line. You want to find the one for the current LLVM 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 Thu Mar 29 07:26:34 UTC 2018 - msrb@suse.com

View File

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