From 41b0e57cc9343dafea5472856b2c473b722ccc0d Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Thu, 19 Dec 2024 01:00:37 +0300 Subject: [PATCH] import ShellCheck-0.10.0-3.el9 --- .ShellCheck.metadata | 2 +- .gitignore | 2 +- SPECS/ShellCheck.spec | 75 +++++++++++++++++++++++++++++++++++++------ 3 files changed, 67 insertions(+), 12 deletions(-) diff --git a/.ShellCheck.metadata b/.ShellCheck.metadata index 2eb0a93..8361579 100644 --- a/.ShellCheck.metadata +++ b/.ShellCheck.metadata @@ -1 +1 @@ -5212a632e357fd47c808b9e4e9a3589e288c3f8b SOURCES/ShellCheck-0.8.0.tar.gz +8b005a078e668d5a2f5bc270091ba1771ee482a5 SOURCES/ShellCheck-0.10.0.tar.gz diff --git a/.gitignore b/.gitignore index 67364f0..60a1ef4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/ShellCheck-0.8.0.tar.gz +SOURCES/ShellCheck-0.10.0.tar.gz diff --git a/SPECS/ShellCheck.spec b/SPECS/ShellCheck.spec index e68bc26..3eadee3 100644 --- a/SPECS/ShellCheck.spec +++ b/SPECS/ShellCheck.spec @@ -1,18 +1,19 @@ -# generated by cabal-rpm-2.0.9 +# generated by cabal-rpm-2.2.1 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name ShellCheck %global pkgver %{pkg_name}-%{version} +%{?haskell_setup} -# the tests hang -%bcond_with tests +# testsuite hangs on epel9 +%bcond tests %{undefined el9} Name: %{pkg_name} -Version: 0.8.0 -Release: 2%{?dist} +Version: 0.10.0 +Release: 3%{?dist} Summary: Shell script analysis tool -License: GPLv3+ +License: GPL-3.0-or-later Url: https://www.shellcheck.net/ # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz @@ -21,6 +22,23 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +BuildRequires: ghc-Diff-devel +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-aeson-devel +BuildRequires: ghc-array-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-directory-devel +BuildRequires: ghc-fgl-devel +BuildRequires: ghc-filepath-devel +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-parsec-devel +BuildRequires: ghc-process-devel +BuildRequires: ghc-regex-tdfa-devel +BuildRequires: ghc-transformers-devel +%if %{with ghc_prof} BuildRequires: ghc-Diff-prof BuildRequires: ghc-QuickCheck-prof BuildRequires: ghc-aeson-prof @@ -30,11 +48,14 @@ BuildRequires: ghc-bytestring-prof BuildRequires: ghc-containers-prof BuildRequires: ghc-deepseq-prof BuildRequires: ghc-directory-prof +BuildRequires: ghc-fgl-prof BuildRequires: ghc-filepath-prof BuildRequires: ghc-mtl-prof BuildRequires: ghc-parsec-prof BuildRequires: ghc-process-prof BuildRequires: ghc-regex-tdfa-prof +BuildRequires: ghc-transformers-prof +%endif # End cabal-rpm deps BuildRequires: pandoc Provides: shellcheck = %{version}-%{release} @@ -104,7 +125,8 @@ This package provides the Haskell %{name} profiling library. # Begin cabal-rpm build: %ghc_lib_build # End cabal-rpm build -./manpage + +pandoc -s -f markdown-smart -t man shellcheck.1.md -o shellcheck.1 %install @@ -117,6 +139,7 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 %check %if %{with tests} +PATH=%{buildroot}%{_bindir}:$PATH %cabal_test %endif @@ -124,7 +147,7 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 %files # Begin cabal-rpm files: %license LICENSE -%doc README.md +%doc CHANGELOG.md README.md %{_bindir}/shellcheck # End cabal-rpm files %{_mandir}/man1/shellcheck.1* @@ -137,7 +160,7 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files -%doc README.md +%doc CHANGELOG.md README.md %if %{with haddock} @@ -152,9 +175,41 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 %changelog -* Wed Jan 10 2024 MSVSphere Packaging Team - 0.8.0-2 +* Sun Jul 21 2024 Jens Petersen - 0.10.0-3 +- include CHANGELOG.md + +* Wed Jul 17 2024 Fedora Release Engineering - 0.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Apr 15 2024 Dridi Boukelmoune - 0.10.0-1 +- Updated to 0.10.0 +- Reenabled tests by default + +* Mon Jan 22 2024 Fedora Release Engineering - 0.9.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 0.9.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jan 10 2024 MSVSphere Packaging Team - 0.9.0-4 - Rebuilt for MSVSphere 9.3 +* Sat Jul 29 2023 Jens Petersen - 0.9.0-4 +- rebuild + +* Wed Jul 19 2023 Fedora Release Engineering - 0.9.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Jens Petersen - 0.9.0-2 +- SPDX migration +- refresh to cabal-rpm-2.1.0 + +* Fri Dec 23 2022 Dridi Boukelmoune - 0.9.0-1 +- Update to 0.9.0 + +* Wed Jul 20 2022 Fedora Release Engineering - 0.8.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Wed Jun 15 2022 Jens Petersen - 0.8.0-2 - add lowercase Provides (#1964325)