From 1728339c2250111e8f168fa312727872beadcb43 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Jun 06 2019 21:51:46 +0000 Subject: Update to 0.2.8 --- diff --git a/.gitignore b/.gitignore index 6372095..f2f8cad 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ colcon-notification-0.2.7.tar.gz +/colcon-notification-0.2.8.tar.gz diff --git a/python-colcon-notification-0.2.5-root-path.patch b/python-colcon-notification-0.2.5-root-path.patch deleted file mode 100644 index 8080760..0000000 --- a/python-colcon-notification-0.2.5-root-path.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -uNr a/setup.py b/setup.py ---- a/setup.py 2018-08-04 18:06:27.000000000 -0700 -+++ b/setup.py 2018-10-27 15:57:56.702304700 -0700 -@@ -100,6 +100,8 @@ - dst_dir = os.path.join(command.prefix, dst_dir) - if dst_prefix: - dst_dir = os.path.join(dst_prefix) + dst_dir -+ elif command.root: -+ dst_dir = os.path.join(command.root) + dst_dir - for src in srcs: - if command.prefix is not None: - # use absolute path for symlinks pointing to the build dir diff --git a/python-colcon-notification-0.2.8-data-files.patch b/python-colcon-notification-0.2.8-data-files.patch new file mode 100644 index 0000000..9a1214c --- /dev/null +++ b/python-colcon-notification-0.2.8-data-files.patch @@ -0,0 +1,40 @@ +Description: Remove the data_files from the setup.cfg file since the + Debian package doesn't need the colcon-terminal-notifier.app. +Author: Dirk Thomas + +--- a/setup.cfg 2019-06-04 20:00:00.000000000 -0800 ++++ b/setup.cfg 2019-06-04 20:00:00.000000000 -0800 +@@ -47,19 +47,20 @@ + scspell3k>=2.2 + zip_safe = false + +-[options.data_files] +-# distutils replaces dashes in keys with underscores +-share/colcon_notification/colcon-terminal-notifier.app/Contents = +- colcon-terminal-notifier.app/Contents/Info.plist +- colcon-terminal-notifier.app/Contents/PkgInfo +-share/colcon_notification/colcon-terminal-notifier.app/Contents/MacOS = +- colcon-terminal-notifier.app/Contents/MacOS/colcon-terminal-notifier +-share/colcon_notification/colcon-terminal-notifier.app/Contents/Resources = +- colcon-terminal-notifier.app/Contents/Resources/colcon.icns +-share/colcon_notification/colcon-terminal-notifier.app/Contents/Resources/en.lproj = +- colcon-terminal-notifier.app/Contents/Resources/en.lproj/Credits.rtf +- colcon-terminal-notifier.app/Contents/Resources/en.lproj/InfoPlist.strings +- colcon-terminal-notifier.app/Contents/Resources/en.lproj/MainMenu.nib ++# the Fedora package doesn't need the colcon-terminal-notifier.app ++# [options.data_files] ++# # distutils replaces dashes in keys with underscores ++# share/colcon_notification/colcon-terminal-notifier.app/Contents = ++# colcon-terminal-notifier.app/Contents/Info.plist ++# colcon-terminal-notifier.app/Contents/PkgInfo ++# share/colcon_notification/colcon-terminal-notifier.app/Contents/MacOS = ++# colcon-terminal-notifier.app/Contents/MacOS/colcon-terminal-notifier ++# share/colcon_notification/colcon-terminal-notifier.app/Contents/Resources = ++# colcon-terminal-notifier.app/Contents/Resources/colcon.icns ++# share/colcon_notification/colcon-terminal-notifier.app/Contents/Resources/en.lproj = ++# colcon-terminal-notifier.app/Contents/Resources/en.lproj/Credits.rtf ++# colcon-terminal-notifier.app/Contents/Resources/en.lproj/InfoPlist.strings ++# colcon-terminal-notifier.app/Contents/Resources/en.lproj/MainMenu.nib + + [tool:pytest] + filterwarnings = diff --git a/python-colcon-notification.spec b/python-colcon-notification.spec index 23126a4..09c95fa 100644 --- a/python-colcon-notification.spec +++ b/python-colcon-notification.spec @@ -1,14 +1,16 @@ %global srcname colcon-notification Name: python-%{srcname} -Version: 0.2.7 -Release: 2%{?dist} +Version: 0.2.8 +Release: 1%{?dist} Summary: Extension for colcon to provide status notifications License: ASL 2.0 URL: https://colcon.readthedocs.io Source0: https://github.com/colcon/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz -Patch0: %{name}-0.2.5-root-path.patch + +# Taken from sources - disables install of data files per platform +Patch0: %{name}-0.2.8-data-files.patch BuildArch: noarch @@ -56,10 +58,12 @@ An extension for colcon-core to provide status notifications. %doc README.rst %{python3_sitelib}/colcon_notification/ %{python3_sitelib}/colcon_notification-%{version}-py%{python3_version}.egg-info/ -%{_datadir}/%{srcname}/ %changelog +* Thu Jun 06 2019 Scott K Logan - 0.2.8-1 +- Update to 0.2.8 (rhbz#1718092) + * Fri Apr 26 2019 Scott K Logan - 0.2.7-2 - Rebuilt to change main python from 3.4 to 3.6 in EPEL 7 - Handle automatic dependency generation (f30+) diff --git a/sources b/sources index 15b24c4..9fcd102 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (colcon-notification-0.2.7.tar.gz) = 826237bd643767593b928d89dde838383e7d7d4205056955bdb155f96dfb9cfc905c027a965b2e19e29a876de1b61641ffe1d7cbf39ebac3413c23cdb727a96f +SHA512 (colcon-notification-0.2.8.tar.gz) = c3080ff278c2453ddc18bde79b8ff15775a22f336f03fb05e5d32d4d0a798660cb103a9ce765608396cda986edaf894ca98857efb1101c8eb3bd1e7a23c9e3d3