Notification time stamped 2022-12-31 17:16:34 UTC
From f45ddadd6a3ab32aa27f8db9547c25b21b63664c Mon Sep 17 00:00:00 2001
From: Todd Zullinger <tmz(a)pobox.com>
Date: Dec 30 2022 17:35:24 +0000
Subject: use %make_build and %make_install macros
These macros do the same thing as the previous code. They allow future
adjustments to the make command line to be more easily added.
---
diff --git a/ncdu.spec b/ncdu.spec
index 769dde4..c9096e9 100644
--- a/ncdu.spec
+++ b/ncdu.spec
@@ -24,10 +24,10 @@ and provides a fast way to see what directories are using your disk space.
%build
%configure
-make %{?_smp_mflags}
+%make_build
%install
-make install DESTDIR=%{buildroot}
+%make_install
%files
%{_mandir}/man1/ncdu.1*
@@ -38,6 +38,7 @@ make install DESTDIR=%{buildroot}
%changelog
* Fri Dec 30 2022 Todd Zullinger <tmz(a)pobox.com> - 1.18-3
- verify upstream signatures in %%prep
+- use %%make_build and %%make_install macros
* Tue Dec 27 2022 Richard Fearn <richardfearn(a)gmail.com> - 1.18-2
- Use SPDX license identifier
https://src.fedoraproject.org/rpms/ncdu/c/f45ddadd6a3ab32aa27f8db9547c25b21…
Notification time stamped 2022-12-31 16:37:39 UTC
From 8a81ebbc0d7c8ba212d9d3b7678aa1312bd9ef03 Mon Sep 17 00:00:00 2001
From: Tom Callaway <spot(a)fedoraproject.org>
Date: Dec 31 2022 16:37:33 +0000
Subject: allow use of coverage v7 (upstream already has this change in git) (#2157154)
---
diff --git a/pytest-testmon-1.4.2-allow-coverage-7.patch b/pytest-testmon-1.4.2-allow-coverage-7.patch
new file mode 100644
index 0000000..027a0a1
--- /dev/null
+++ b/pytest-testmon-1.4.2-allow-coverage-7.patch
@@ -0,0 +1,12 @@
+diff -up pytest-testmon-1.4.2/setup.cfg.cov7 pytest-testmon-1.4.2/setup.cfg
+--- pytest-testmon-1.4.2/setup.cfg.cov7 2022-12-31 11:33:39.594171989 -0500
++++ pytest-testmon-1.4.2/setup.cfg 2022-12-31 11:33:49.797270703 -0500
+@@ -35,7 +35,7 @@ classifiers =
+ python_requires = >=3.7, <3.12
+ install_requires =
+ pytest>=5,<8
+- coverage>=6,<7
++ coverage>=6,<8
+ packages =
+ testmon
+
diff --git a/python-pytest-testmon.spec b/python-pytest-testmon.spec
index 528ebbb..40534b1 100644
--- a/python-pytest-testmon.spec
+++ b/python-pytest-testmon.spec
@@ -7,6 +7,10 @@ Summary: A py.test plug-in which executes only tests affected by recent c
License: MIT
URL: http://testmon.org/
Source0: %pypi_source
+# Upstream made this change without any corresponding code changes
+# https://github.com/tarpas/pytest-testmon/commit/cf4517c6c3e929be82f87c74474…
+# This patch should be safe to drop when 1.4.3 releases.
+Patch0: pytest-testmon-1.4.2-allow-coverage-7.patch
BuildArch: noarch
BuildRequires: python3-devel
@@ -51,6 +55,9 @@ This a Python 3 version of the package.
%{python3_sitelib}/pytest_testmon-%{version}-py%{python3_version}.egg-info
%changelog
+* Sat Dec 31 2022 Tom Callaway <spot(a)fedoraproject.org> - 1.4.2-2
+- allow use of coverage v7 (upstream already has this change in git) (#2157154)
+
* Wed Nov 23 2022 Dan Radez <dradez(a)redhat.com> - 1.4.2-1
- update to 1.4.2 (rhbz#2143715)
https://src.fedoraproject.org/rpms/python-pytest-testmon/c/8a81ebbc0d7c8ba2…