From 183df40986b3d57537891e85a5f79db0a1d8f252 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 8 Aug 2020 00:50:48 +0000 Subject: [PATCH] 0.11.0 rc1 Release --- .gitignore | 1 + python-lit.spec | 13 +++++++------ sources | 2 +- version.patch | 42 ------------------------------------------ 4 files changed, 9 insertions(+), 49 deletions(-) delete mode 100644 version.patch diff --git a/.gitignore b/.gitignore index da4e333..4471a6a 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /lit-0.9.0.tar.gz /lit-0.10.0rc1.tar.gz /lit-0.10.0.tar.gz +/lit-0.11.0rc1.tar.gz diff --git a/python-lit.spec b/python-lit.spec index bada82e..69050a2 100644 --- a/python-lit.spec +++ b/python-lit.spec @@ -6,8 +6,8 @@ %global with_python2 1 %endif -#%%global rc_ver 1 -%global baserelease 4 +%global rc_ver 1 +%global baserelease 0.1 %bcond_without check @@ -16,16 +16,14 @@ %{!?py2_install: %global py2_install %{expand: CFLAGS="%{optflags}" %{__python2} setup.py %{?py_setup_args} install -O1 --skip-build --root %{buildroot}}} Name: python-%{srcname} -Version: 0.10.0 +Version: 0.11.0 Release: %{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist} BuildArch: noarch License: NCSA Summary: Tool for executing llvm test suites URL: https://pypi.python.org/pypi/lit -Source0: https://files.pythonhosted.org/packages/e7/56/7967ff7ea510c12a4f3d5f6582a416ff74bd6b1194be265c979df6701c56/lit-0.10.0.tar.gz - -Patch0: version.patch +Source0: https://files.pythonhosted.org/packages/be/39/44e2e9c977a4beb2d60566736b78bbbd7d194034a89f409fb867e48bd167/lit-0.11.0rc1.tar.gz # for file check %if %{with check} @@ -106,6 +104,9 @@ sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python2_sitelib}/%{srcna %endif %changelog +* Fri Aug 07 2020 Tom Stellard - 0.11.0-0.1.rc1 +- 0.11.0 rc1 Release + * Wed Jul 29 2020 Fedora Release Engineering - 0.10.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 67f214a..9230a72 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lit-0.10.0.tar.gz) = 1591e893d5197f2273d9a98951bcd1d58f05c7661c79374b461476015098ee9a668792b7226d5d0ba5c5b96f0556cc377432b058651b56c3ac3b34049c356a3f +SHA512 (lit-0.11.0rc1.tar.gz) = 63aafc051c486aef68bcefd16adf865b8e6973450dbaa830fdd53d122a3c8d3d70a04d025687a3a2b520449c29f660bf82706675694f77548c1a93eeadeef741 diff --git a/version.patch b/version.patch deleted file mode 100644 index 179c004..0000000 --- a/version.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff --git a/llvm/utils/lit/lit/cl_arguments.py b/llvm/utils/lit/lit/cl_arguments.py -index bac2be2..402fadb 100644 ---- a/llvm/utils/lit/lit/cl_arguments.py -+++ b/llvm/utils/lit/lit/cl_arguments.py -@@ -15,7 +15,9 @@ def parse_args(): - parser.add_argument("--version", - dest="show_version", - help="Show version and exit", -- action="store_true") -+ version="lit " + lit.__version__, -+ action="version") -+ - parser.add_argument("-j", "--threads", "--workers", - dest="workers", - metavar="N", -diff --git a/llvm/utils/lit/lit/main.py b/llvm/utils/lit/lit/main.py -index c58b06c..0f0c76b 100755 ---- a/llvm/utils/lit/lit/main.py -+++ b/llvm/utils/lit/lit/main.py -@@ -21,10 +21,6 @@ import lit.util - def main(builtin_params={}): - opts = lit.cl_arguments.parse_args() - -- if opts.show_version: -- print("lit %s" % lit.__version__) -- return -- - params = create_params(builtin_params, opts.user_params) - is_windows = platform.system() == 'Windows' - -diff --git a/llvm/utils/lit/tests/version.py b/llvm/utils/lit/tests/version.py -new file mode 100644 -index 0000000..6d1d0fc ---- /dev/null -+++ b/llvm/utils/lit/tests/version.py -@@ -0,0 +1,5 @@ -+# Basic sanity check that --version works. -+# -+# RUN: %{lit} --version | FileCheck %s -+# -+# CHECK: lit {{[0-9]+\.[0-9]+\.[0-9]+[a-zA-Z0-9]*}} -