diff --git a/nunit2.spec b/nunit2.spec index 2feb643..4dec0d4 100644 --- a/nunit2.spec +++ b/nunit2.spec @@ -2,23 +2,18 @@ Name: nunit2 Version: 2.6.4 -Release: 38%{?dist} +Release: 15%{?dist} Summary: Unit test framework for CLI -# Automatically converted from old format: MIT with advertising - review is highly recommended. -License: LicenseRef-Callaway-MIT-with-advertising +License: MIT with advertising Url: http://www.nunit.org/ Source0: https://github.com/nunit/nunitv2/archive/%{version}.tar.gz Source1: nunit2.pc Source2: nunit2-gui.sh Source3: nunit2-console.sh Source4: nunit2.desktop -BuildRequires: mono-devel libgdiplus-devel desktop-file-utils mono-winforms +BuildRequires: mono-devel libgdiplus-devel desktop-file-utils ExclusiveArch: %{mono_arches} -# nunit2 fails to build on armv7hl. Mono crashes. -# https://bugzilla.redhat.com/show_bug.cgi?id=1923663 -ExcludeArch: armv7hl - %description NUnit is a unit testing framework for all .NET languages. It serves the same purpose as JUnit does in the Java world. It supports test @@ -31,7 +26,6 @@ the Microsoft .NET Framework. %package gui Summary: Tools for run NUnit test Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: mono-winforms %description gui Desktop application for run NUnit test @@ -117,91 +111,24 @@ cp -p src/GuiRunner/nunit-gui-exe/App.ico %{buildroot}/%{_datadir}/icons/NUnit2/ %post gui /bin/touch --no-create %{_datadir}/icons/NUnit &>/dev/null || : +/usr/bin/update-desktop-database &> /dev/null || : %postun gui if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/NUnit &>/dev/null /usr/bin/gtk-update-icon-cache %{_datadir}/icons/NUnit &>/dev/null || : fi +/usr/bin/update-desktop-database &> /dev/null || : %posttrans gui /usr/bin/gtk-update-icon-cache %{_datadir}/icons/NUnit &>/dev/null || : %changelog -* Thu Jul 24 2025 Fedora Release Engineering - 2.6.4-38 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild +* Fri Aug 09 2019 Timotheus Pokorra - 2.6.4-15 +- do a new build to make sure we have nunit2 in all new arches -* Fri Jan 17 2025 Fedora Release Engineering - 2.6.4-37 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Mon Sep 02 2024 Miroslav Suchý - 2.6.4-36 -- convert license to SPDX - -* Thu Jul 18 2024 Fedora Release Engineering - 2.6.4-35 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Thu Jan 25 2024 Fedora Release Engineering - 2.6.4-34 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sun Jan 21 2024 Fedora Release Engineering - 2.6.4-33 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Jul 20 2023 Fedora Release Engineering - 2.6.4-32 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Thu Jan 19 2023 Fedora Release Engineering - 2.6.4-31 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Fri Jul 22 2022 Fedora Release Engineering - 2.6.4-30 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Jan 20 2022 Fedora Release Engineering - 2.6.4-29 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Thu Jul 22 2021 Fedora Release Engineering - 2.6.4-28 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Mon Feb 08 2021 Timotheus Pokorra - 2.6.4-27 -- Exclude building on armv7hl (BZ #1923663) - -* Tue Jan 26 2021 Fedora Release Engineering - 2.6.4-26 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Tue Jul 28 2020 Fedora Release Engineering - 2.6.4-25 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jan 29 2020 Fedora Release Engineering - 2.6.4-24 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Wed Aug 21 2019 Timotheus Pokorra - 2.6.4-23 -- Rebuilt with new mono package so that the Provides is fixed again - -* Thu Jul 25 2019 Fedora Release Engineering - 2.6.4-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Mon Apr 29 2019 Timotheus Pokorra - 2.6.4-21 -- Explicitly require some mono packages because the provides script fail - -* Fri Feb 01 2019 Fedora Release Engineering - 2.6.4-20 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 2.6.4-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu Feb 08 2018 Fedora Release Engineering - 2.6.4-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 2.6.4-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 2.6.4-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 2.6.4-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Oct 13 2016 Peter Robinson - 2.6.4-14 -- aarch64 bootstrap +* Thu Sep 08 2016 Timotheus Pokorra - 2.6.4-14 +- new build in side tag epel7-mono4 * Tue Jul 26 2016 Timotheus Pokorra - 2.6.4-13 - rename package to nunit2