From 394d873a5d5d4d81378e627bbab47e7d41e54398 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Sat, 7 Sep 2019 15:32:28 +0200 Subject: [PATCH] new release Version: 1.2.2-1 --- .gitignore | 2 +- argparse-manpage.spec | 9 ++++++--- build-and-update-all-branches | 36 +++++++++++++++++++++++++++++++++++ sources | 2 +- 4 files changed, 44 insertions(+), 5 deletions(-) create mode 100755 build-and-update-all-branches diff --git a/.gitignore b/.gitignore index d7eb268..e402717 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/argparse-manpage-1.1.tar.gz +/argparse-manpage-*.tar.gz diff --git a/argparse-manpage.spec b/argparse-manpage.spec index b6bb71b..a5d82e0 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -29,14 +29,14 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage -Version: 1.1 -Release: 6%{?dist} +Version: 1.2.2 +Release: 1%{?dist} Summary: %{sum Python} BuildArch: noarch License: ASL 2.0 URL: https://github.com/praiskup/%{name} -Source0: https://github.com/praiskup/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +Source0: %pypi_source %if %{with python2} BuildRequires: python2-setuptools python2-devel @@ -142,6 +142,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest %changelog +* Sat Sep 07 2019 Pavel Raiskup - 1.2.2-1 +- new release + * Mon Aug 19 2019 Miro HronĨok - 1.1-6 - Rebuilt for Python 3.8 diff --git a/build-and-update-all-branches b/build-and-update-all-branches new file mode 100755 index 0000000..6aa7ffb --- /dev/null +++ b/build-and-update-all-branches @@ -0,0 +1,36 @@ +#! /bin/sh + +# Prepare master branch, review the list of branches below and then execute this +# script. + +branches='master epel7 f29 f30 f31' + +exit_handler () +{ + git checkout master +} + +trap exit_handler EXIT + +set -e +set -x + +koji hello + +tasks= +for branch in $branches; do + if test $branch != master; then + git checkout "$branch" + git merge master + fi + git push + tasks="${tasks}`fedpkg build --nowait | grep 'Created task' | cut -d: -f2`" +done + +koji watch-task $tasks + +for branch in $branches; do + test $branch != master || continue + git checkout $branch + fedpkg update +done diff --git a/sources b/sources index 6ad9820..dfd45aa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (argparse-manpage-1.1.tar.gz) = 2479d06558390439835f0ca8a8af3c48e5d905b51274add7d4a4047911ad3a01259e1342b540d002e33263a19e590326d62a9167bbf1df6ccb5183fb7825edcc +SHA512 (argparse-manpage-1.2.2.tar.gz) = 20e3018b3c2b63f90017ad089abf5caae958954322d9d6a90f0a78fa72b2f9a02f2a0e9460d3c61f33fa34a24c440b4fb3ca9ebc6bd8024d1e3272520495a102