diff --git a/base/comps/components-publish-channels.toml b/base/comps/components-publish-channels.toml index 0acc20dd73e..d85a01e5e7d 100644 --- a/base/comps/components-publish-channels.toml +++ b/base/comps/components-publish-channels.toml @@ -2358,6 +2358,7 @@ components = [ "shared-mime-info", "sharutils", "shell-color-prompt", + "ShellCheck", "shim", "shim-unsigned-aarch64", "shim-unsigned-x64", @@ -2995,4 +2996,13 @@ packages = [ "rust-zram-generator-devel", # srpm: rust-zram-generator # cargo-rpm-macros: build-time RPM macros for packaging cargo crates; not needed at base runtime, used by SDK packagers. "cargo-rpm-macros", # srpm: cargo-rpm-macros + # ShellCheck's Haskell library subpackages: only the statically-linked `shellcheck` + # executable is wanted in base. The ghc-ShellCheck library links the ghc runtime + # libraries (libHS*), and ghc-ShellCheck-devel hard-Requires ghc-compiler; both the + # ghc compiler and the ghc-* runtime libraries live in sdk. Keep these siblings in + # sdk so base carries only the executable (which needs only libc/libm/libffi/libgmp). + "ghc-ShellCheck", # srpm: ShellCheck + "ghc-ShellCheck-devel", # srpm: ShellCheck + "ghc-ShellCheck-doc", # srpm: ShellCheck + "ghc-ShellCheck-prof", # srpm: ShellCheck ] diff --git a/base/comps/components.toml b/base/comps/components.toml index 3e422e05cbf..6194798b017 100644 --- a/base/comps/components.toml +++ b/base/comps/components.toml @@ -47,6 +47,7 @@ overlay-files = ["overlays/*.overlay.toml"] [components.SDL3_ttf] [components.SDL_gfx] [components.SFCGAL] +[components.ShellCheck] [components.SuperLU] [components.SuperLUMT] [components.Thunar] diff --git a/locks/ShellCheck.lock b/locks/ShellCheck.lock new file mode 100644 index 00000000000..93c618ece4c --- /dev/null +++ b/locks/ShellCheck.lock @@ -0,0 +1,6 @@ +# Managed by azldev component update. Do not edit manually. +version = 1 +import-commit = '8d23c9a1acc822d3fe7623d20258bb2da9736342' +upstream-commit = '8d23c9a1acc822d3fe7623d20258bb2da9736342' +input-fingerprint = 'sha256:b1593888ca12e6813e350f57fcf54fd6b4b0ce7845bf1073f8c3e32673b7aa68' +resolution-input-hash = 'sha256:466421704711c4fd3c71f0b2ed715a0e61d49e3e26f3a2637fee755795849c8e' diff --git a/specs/s/ShellCheck/ShellCheck.spec b/specs/s/ShellCheck/ShellCheck.spec new file mode 100644 index 00000000000..6d906390097 --- /dev/null +++ b/specs/s/ShellCheck/ShellCheck.spec @@ -0,0 +1,410 @@ +# This spec file has been modified by azldev to include build configuration overlays. +# Do not edit manually; changes may be overwritten. + +# generated by cabal-rpm-2.3.1 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name ShellCheck +%global pkgver %{pkg_name}-%{version} +%{?haskell_setup} + +# testsuite hangs on epel9 +%bcond tests %{undefined el9} + +Name: %{pkg_name} +Version: 0.11.0 +Release: 2%{?dist} +Summary: Shell script analysis tool + +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 +# End cabal-rpm sources + +# Begin cabal-rpm deps: +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-Cabal-devel +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 +BuildRequires: ghc-array-prof +BuildRequires: ghc-base-prof +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} + +%description +The goals of ShellCheck are: + +* To point out and clarify typical beginner's syntax issues, + that causes a shell to give cryptic error messages. + +* To point out and clarify typical intermediate level semantic problems, + that causes a shell to behave strangely and counter-intuitively. + +* To point out subtle caveats, corner cases and pitfalls, that may cause an + advanced user's otherwise working script to fail under future circumstances. + + +%package -n ghc-%{name} +Summary: Haskell %{name} library + +%description -n ghc-%{name} +This package provides the Haskell %{name} shared library. + + +%package -n ghc-%{name}-devel +Summary: Haskell %{name} library development files +Provides: ghc-%{name}-static = %{version}-%{release} +Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +%endif +Requires: ghc-%{name}%{?_isa} = %{version}-%{release} + +%description -n ghc-%{name}-devel +This package provides the Haskell %{name} library development files. + + +%if %{with haddock} +%package -n ghc-%{name}-doc +Summary: Haskell %{name} library documentation +BuildArch: noarch +Requires: ghc-filesystem + +%description -n ghc-%{name}-doc +This package provides the Haskell %{name} library documentation. +%endif + + +%if %{with ghc_prof} +%package -n ghc-%{name}-prof +Summary: Haskell %{name} profiling library +Requires: ghc-%{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (ghc-%{name}-devel and ghc-prof) + +%description -n ghc-%{name}-prof +This package provides the Haskell %{name} profiling library. +%endif + + +%prep +# Begin cabal-rpm setup: +%setup -q +# End cabal-rpm setup + + +%build +# Begin cabal-rpm build: +%ghc_lib_build +# End cabal-rpm build + +pandoc -s -f markdown-smart -t man shellcheck.1.md -o shellcheck.1 + + +%install +# Begin cabal-rpm install +%ghc_lib_install +# End cabal-rpm install + +install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 + + +%check +%if %{with tests} +PATH=%{buildroot}%{_bindir}:$PATH +%cabal_test +%endif + + +%files +# Begin cabal-rpm files: +%license LICENSE +%doc CHANGELOG.md README.md +%{_bindir}/shellcheck +# End cabal-rpm files +%{_mandir}/man1/shellcheck.1* + + +%files -n ghc-%{name} -f ghc-%{name}.files +# Begin cabal-rpm files: +%license LICENSE +# End cabal-rpm files + + +%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files +%doc CHANGELOG.md README.md + + +%if %{with haddock} +%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files +%license LICENSE +%endif + + +%if %{with ghc_prof} +%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files +%endif + + +%changelog +* Wed Aug 06 2025 Jens Petersen - 0.11.0-1 +- https://hackage.haskell.org/package/ShellCheck-0.11.0/changelog + +* Wed Jul 23 2025 Fedora Release Engineering - 0.10.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sun Mar 30 2025 Jens Petersen - 0.10.0-5 +- Rebuild + +* Thu Jan 16 2025 Fedora Release Engineering - 0.10.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* 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 + +* 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) + +* Fri Mar 18 2022 Greg Hellings - 0.8.0-1 +- Update to 0.8.0 + +* Wed Jan 19 2022 Fedora Release Engineering - 0.7.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sat Jan 08 2022 Miro HronĨok - 0.7.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 + +* Fri Aug 06 2021 Jens Petersen - 0.7.2-3 +- rebuild + +* Wed Jul 21 2021 Fedora Release Engineering - 0.7.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue May 18 2021 Jens Petersen - 0.7.2-1 +- update to 0.7.2 + +* Mon Jan 25 2021 Fedora Release Engineering - 0.7.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 01 2020 Fedora Release Engineering - 0.7.1-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 0.7.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun Jun 07 2020 Jens Petersen - 0.7.1-1 +- update to 0.7.1 + +* Wed Feb 19 2020 Jens Petersen - 0.7.0-3 +- refresh to cabal-rpm-2.0.2 + +* Tue Jan 28 2020 Fedora Release Engineering - 0.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Jul 29 2019 Jens Petersen - 0.7.0-1 +- update to 0.7.0 + +* Wed Jul 24 2019 Fedora Release Engineering - 0.6.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat May 18 2019 Dridi Boukelmoune - 0.6.0-4 +- Add upstream patch for BZ#1707331 (infinite loop on annotations for SC2188) + +* Sun Feb 17 2019 Jens Petersen - 0.6.0-3 +- refresh to cabal-rpm-0.13 + +* Thu Jan 31 2019 Fedora Release Engineering - 0.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Dec 03 2018 Dridi Boukelmoune - 0.6.0-1 +- Update to 0.6.0 + +* Tue Oct 9 2018 Jens Petersen - 0.5.0-4 +- rebuild for static executable + +* Sat Jul 28 2018 Jens Petersen - 0.5.0-3 +- rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 0.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jul 03 2018 Dridi Boukelmoune - 0.5.0-1 +- Update to 0.5.0 + +* Wed Feb 07 2018 Fedora Release Engineering - 0.4.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 26 2018 Jens Petersen - 0.4.7-2 +- rebuild + +* Sun Dec 10 2017 Dridi Boukelmoune - 0.4.7-1 +- Update to 0.4.7 +- Install the manual shipped upstream + +* Wed Aug 02 2017 Fedora Release Engineering - 0.4.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.4.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Apr 25 2017 Dridi Boukelmoune - 0.4.6-1 +- update to 0.4.6 + +* Fri Feb 24 2017 Jens Petersen - 0.4.5-3 +- refresh to cabal-rpm-0.11.1 + +* Fri Feb 10 2017 Fedora Release Engineering - 0.4.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Jan 13 2017 Jens Petersen - 0.4.5-1 +- update to 0.4.5 + +* Sun Jun 26 2016 Jens Petersen - 0.4.4-1 +- update to 0.4.4 +- disable tests since they hang + +* Mon Mar 7 2016 Jens Petersen - 0.3.8-1 +- update to 0.3.8 +- skip tests on armv7hl + +* Wed Feb 03 2016 Fedora Release Engineering - 0.3.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jun 16 2015 Fedora Release Engineering - 0.3.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Apr 26 2015 Dridi - 0.3.7-1 +- bumped to version 0.3.7 +- updated summary with cabal's synopsis +- removed profiling symbols causing an FTBFS +- replaced regex-compat with regex-tdfa + +* Wed Jan 28 2015 Jens Petersen - 0.3.5-1 +- update to 0.3.5 + +* Tue Nov 4 2014 Jens Petersen - 0.3.4-2 +- disable tests on all archs (#1158522) + - QuickCheck should really only be used for buildtime tests + +* Thu Sep 11 2014 Dridi - 0.3.4-1 +- bumped to version 0.3.4 +- switched to hackage for the source tarball +- tests are now driven by cabal +- skip tests on ARM since TemplateHaskell fails + +* Fri Sep 5 2014 Jens Petersen - 0.3.3-2 +- reenable pandoc on ARM + +* Thu Sep 04 2014 Dridi - 0.3.3-1 +- rebuilt after a dependency upgrade + +* Sat Aug 30 2014 Dridi - 0.3.3-0 +- bumped to version 0.3.3 +- removed upstreamed patch + +* Thu Aug 28 2014 Dridi - 0.3.1-9 +- rebuilt after a dependency upgrade + +* Fri Aug 15 2014 Fedora Release Engineering - 0.3.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Jun 06 2014 Fedora Release Engineering - 0.3.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Mar 17 2014 Jens Petersen - 0.3.1-6 +- fix shellcheck rpath instead of using ld.so.conf.d +- simplify doc files + +* Sun Mar 16 2014 Dridi - 0.3.1-5 +- added missing ld config + +* Sat Mar 01 2014 Dridi - 0.3.1-4 +- executable dynamically linked to the library (bug #1069048) + +* Sun Feb 09 2014 Dridi - 0.3.1-3 +- removed Setup.hs, now available upstream +- stop building the man page on ARM, no pandoc (bug #992430) +- simpler workaroudn for bug #1052117 + +* Wed Feb 05 2014 Dridi - 0.3.1-2 +- build and install the man page + +* Tue Feb 04 2014 Dridi - 0.3.1-1 +- bumped to version 0.3.1 +- added a workaround for the Fedora haskell toolchain (bug #1052117) + +* Tue Dec 03 2013 Dridi - 0.2.0-3 +- rebuilt + +* Tue Dec 03 2013 Dridi Boukelmoune - 0.2.0-3 +- s/shell/POSIX shell/ in summary +- LICENSE and README co-owned by sub-packages + +* Sat Nov 30 2013 Dridi Boukelmoune - 0.2.0-2 +- added a patch for "for arg do" loops (d4bc0f6) + +* Sat Nov 23 2013 Dridi Boukelmoune - 0.2.0-1 +- spec file generated by cabal-rpm-0.8.6 +- added the description from the README +- fixed broken bits from the generated spec diff --git a/specs/s/ShellCheck/sources b/specs/s/ShellCheck/sources new file mode 100644 index 00000000000..35d8811b2f6 --- /dev/null +++ b/specs/s/ShellCheck/sources @@ -0,0 +1 @@ +SHA512 (ShellCheck-0.11.0.tar.gz) = 138cb7ad447a715528d6fe5af0fef43046516fbb9eebf5f30def6358a84416e13e9f89bbe4843039a0a7a19c944f2cf44ed51d64c17502aaf6d04b2581d81d83