From 68f2a933429c43bf1ee3a9666ed3e7b28e213519 Mon Sep 17 00:00:00 2001 From: cao-fei8 Date: Fri, 13 Jan 2023 12:20:53 +0800 Subject: [PATCH] update README w/ codecov and lgtm Reference: https://github.com/rthalley/dnspython/commit/53fb24527687399bd3eeae7670ba7df2dd5c280e Signed-off-by: cao-fei8 --- 0001-update-README-w-codecov-and-lgtm.patch | 25 +++++++++++++++++++++ python-dns.spec | 6 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0001-update-README-w-codecov-and-lgtm.patch diff --git a/0001-update-README-w-codecov-and-lgtm.patch b/0001-update-README-w-codecov-and-lgtm.patch new file mode 100644 index 0000000..57fa362 --- /dev/null +++ b/0001-update-README-w-codecov-and-lgtm.patch @@ -0,0 +1,25 @@ +From 53fb24527687399bd3eeae7670ba7df2dd5c280e Mon Sep 17 00:00:00 2001 +From: Bob Halley +Date: Mon, 21 Feb 2022 14:32:25 -0800 +Subject: [PATCH] update README w/ codecov and lgtm + +--- + README.md | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/README.md b/README.md +index 81503f3..2344807 100644 +--- a/README.md ++++ b/README.md +@@ -4,6 +4,8 @@ + [![Documentation Status](https://readthedocs.org/projects/dnspython/badge/?version=latest)](https://dnspython.readthedocs.io/en/latest/?badge=latest) + [![PyPI version](https://badge.fury.io/py/dnspython.svg)](https://badge.fury.io/py/dnspython) + [![License: ISC](https://img.shields.io/badge/License-ISC-brightgreen.svg)](https://opensource.org/licenses/ISC) ++[![Coverage](https://codecov.io/github/rthalley/dnspython/coverage.svg?branch=master)](https://codecov.io/github/rthalley/dnspython) ++[![LGTM Grade](https://img.shields.io/lgtm/grade/python/github/rthalley/dnspython)](https://img.shields.io/lgtm/grade/python/github/rthalley/dnspython) + + ## INTRODUCTION + +-- +2.33.0 + diff --git a/python-dns.spec b/python-dns.spec index 1c13b0c..3d26943 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -14,7 +14,7 @@ messages, names, and records. Name: python-dns Summary: %{sum} Version: 2.2.1 -Release: 2 +Release: 3 License: ISC and MIT URL: http://www.dnspython.org/ Source0: https://github.com/rthalley/dnspython/archive/v%{version}/dnspython-%{version}.tar.gz @@ -22,6 +22,7 @@ Source0: https://github.com/rthalley/dnspython/archive/v%{version}/dnspyt Patch0: fix-failed-tests.patch Patch1: backport-fix-missing-version-in-setup.cfg.patch Patch2: 0001-fix-win32util.py-file-mode.patch +Patch3: 0001-update-README-w-codecov-and-lgtm.patch BuildArch: noarch @@ -64,6 +65,9 @@ pytest %doc examples %changelog +* Fri Jan 13 2023 caofei - 2.2.1-3 +- update README w/ codecov and lgtm + * Mon Jan 9 2023 caofei - 2.2.1-2 - fix win32util.py file mode