SHA256
1
0
forked from pool/b4

up to 0.5.0+git20200526.ga926bac9e6c2

OBS-URL: https://build.opensuse.org/package/show/devel:tools/b4?expand=0&rev=2
This commit is contained in:
Jiri Slaby 2020-05-26 13:06:17 +00:00 committed by Git OBS Bridge
parent eb7452b425
commit 2bf7949a63
4 changed files with 12 additions and 36 deletions

View File

@ -1,32 +0,0 @@
From 345a58f37d51b302937a14f623076c5dd13dcc32 Mon Sep 17 00:00:00 2001
From: Jiri Slaby <jslaby@suse.cz>
Date: Tue, 26 May 2020 13:40:37 +0200
Subject: [PATCH] fix unicode
---
setup.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index ed24367c6c56..c73c9f4b2b0b 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
+import io
import os
import re
from setuptools import setup
@@ -11,7 +12,7 @@ from setuptools import setup
def read(fname):
- return open(os.path.join(os.path.dirname(__file__), fname)).read()
+ return io.open(os.path.join(os.path.dirname(__file__), fname), "r", encoding="utf-8").read()
def find_version(source):
--
2.26.2

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://git.kernel.org/pub/scm/utils/b4/b4.git</param>
<param name="changesrevision">59be08453137a3b9c6a25dc6787b5066a88a84cd</param></service></servicedata>
<param name="changesrevision">a926bac9e6c222e1bfe87ce79d925083c5879060</param></service></servicedata>

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue May 26 13:05:22 UTC 2020 - jslaby@suse.com
- Update to version 0.5.0+git20200526.ga926bac9e6c2:
* Use unicode escape sequences
* Up the version to 0.6.0-dev
* Prepare for 0.5.0
* Backfill series before diffing them
-------------------------------------------------------------------
Tue May 26 09:56:21 UTC 2020 - Jiri Slaby <jslaby@suse.com>

View File

@ -17,16 +17,15 @@
%define skip_python2 1
%define version_unconverted 0.4.0+git20200525.g59be08453137
%define version_unconverted 0.5.0+git20200526.ga926bac9e6c2
Name: b4
Version: 0.4.0+git20200525.g59be08453137
Version: 0.5.0+git20200526.ga926bac9e6c2
Release: 0
Summary: Helper scripts for kernel.org patches
License: GPL-2.0-or-later
URL: https://git.kernel.org/pub/scm/utils/b4/b4.git
Group: Development/Tools/Other
Source0: %{name}-%{version}.tar.xz
Patch0: 0001-fix-unicode.patch
BuildArch: noarch
BuildRequires: %{python_module setuptools}