2019-02-17 14:42:36 +00:00
|
|
|
# generated by cabal-rpm-0.13
|
2015-01-28 15:09:33 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
2013-12-04 22:43:09 +00:00
|
|
|
%global pkg_name ShellCheck
|
2017-02-23 15:16:58 +00:00
|
|
|
%global pkgver %{pkg_name}-%{version}
|
2014-09-22 03:09:13 +00:00
|
|
|
|
2016-07-03 23:17:18 +00:00
|
|
|
%bcond_with tests
|
2015-04-26 14:05:26 +00:00
|
|
|
|
2014-11-06 10:50:20 +00:00
|
|
|
Name: %{pkg_name}
|
2018-12-03 08:51:53 +00:00
|
|
|
Version: 0.6.0
|
2019-07-24 17:18:02 +00:00
|
|
|
Release: 5%{?dist}
|
2015-04-26 14:05:26 +00:00
|
|
|
Summary: Shell script analysis tool
|
2013-12-04 22:43:09 +00:00
|
|
|
|
2016-03-07 09:02:56 +00:00
|
|
|
License: GPLv3+
|
2018-07-21 03:44:05 +00:00
|
|
|
Url: https://www.shellcheck.net/
|
2019-02-17 14:42:36 +00:00
|
|
|
# Begin cabal-rpm sources:
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
# End cabal-rpm sources
|
2013-12-04 22:43:09 +00:00
|
|
|
|
2019-05-18 10:05:51 +00:00
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1707331
|
|
|
|
Patch0: https://github.com/koalaman/shellcheck/commit/138080bd.patch
|
|
|
|
|
2019-02-17 14:42:36 +00:00
|
|
|
# Begin cabal-rpm deps:
|
2014-11-06 10:50:20 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-rpm-macros
|
2016-03-07 09:02:56 +00:00
|
|
|
BuildRequires: ghc-QuickCheck-devel
|
2018-07-03 07:41:39 +00:00
|
|
|
BuildRequires: ghc-aeson-devel
|
2018-10-09 14:50:23 +00:00
|
|
|
BuildRequires: ghc-bytestring-devel
|
2014-11-06 10:50:20 +00:00
|
|
|
BuildRequires: ghc-containers-devel
|
|
|
|
BuildRequires: ghc-directory-devel
|
|
|
|
BuildRequires: ghc-mtl-devel
|
|
|
|
BuildRequires: ghc-parsec-devel
|
2016-06-26 11:38:57 +00:00
|
|
|
BuildRequires: ghc-process-devel
|
2015-04-26 14:05:26 +00:00
|
|
|
BuildRequires: ghc-regex-tdfa-devel
|
2013-12-04 22:43:09 +00:00
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
%description
|
|
|
|
The goals of ShellCheck are:
|
|
|
|
|
2015-01-28 15:09:33 +00:00
|
|
|
* To point out and clarify typical beginner's syntax issues,
|
|
|
|
that causes a shell to give cryptic error messages.
|
2013-12-04 22:43:09 +00:00
|
|
|
|
2015-01-28 15:09:33 +00:00
|
|
|
* To point out and clarify typical intermediate level semantic problems,
|
|
|
|
that causes a shell to behave strangely and counter-intuitively.
|
2013-12-04 22:43:09 +00:00
|
|
|
|
2015-01-28 15:09:33 +00:00
|
|
|
* To point out subtle caveats, corner cases and pitfalls, that may cause an
|
|
|
|
advanced user's otherwise working script to fail under future circumstances.
|
2013-12-04 22:43:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package -n ghc-%{name}
|
2014-11-06 10:50:20 +00:00
|
|
|
Summary: Haskell %{name} library
|
2013-12-04 22:43:09 +00:00
|
|
|
|
|
|
|
%description -n ghc-%{name}
|
|
|
|
This package provides the Haskell %{name} shared library.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n ghc-%{name}-devel
|
2014-11-06 10:50:20 +00:00
|
|
|
Summary: Haskell %{name} library development files
|
|
|
|
Provides: ghc-%{name}-static = %{version}-%{release}
|
2018-01-24 13:10:18 +00:00
|
|
|
Provides: ghc-%{name}-doc = %{version}-%{release}
|
|
|
|
%if %{defined ghc_version}
|
2014-11-06 10:50:20 +00:00
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
2013-12-04 22:43:09 +00:00
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
2018-01-24 13:10:18 +00:00
|
|
|
%endif
|
2014-11-06 10:50:20 +00:00
|
|
|
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
2013-12-04 22:43:09 +00:00
|
|
|
|
|
|
|
%description -n ghc-%{name}-devel
|
|
|
|
This package provides the Haskell %{name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2019-02-17 14:42:36 +00:00
|
|
|
# Begin cabal-rpm setup:
|
2019-05-18 10:05:51 +00:00
|
|
|
%autosetup -p1
|
2019-02-17 14:42:36 +00:00
|
|
|
# End cabal-rpm setup
|
2013-12-04 22:43:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2019-02-17 14:42:36 +00:00
|
|
|
# Begin cabal-rpm build:
|
2013-12-04 22:43:09 +00:00
|
|
|
%ghc_lib_build
|
2019-02-17 14:42:36 +00:00
|
|
|
# End cabal-rpm build
|
2013-12-04 22:43:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2019-02-17 14:42:36 +00:00
|
|
|
# Begin cabal-rpm install
|
2013-12-04 22:43:09 +00:00
|
|
|
%ghc_lib_install
|
2019-02-17 14:42:36 +00:00
|
|
|
# End cabal-rpm install
|
2013-12-04 22:43:09 +00:00
|
|
|
|
2014-02-09 22:10:22 +00:00
|
|
|
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
2014-02-05 06:26:05 +00:00
|
|
|
|
2013-12-04 22:43:09 +00:00
|
|
|
|
|
|
|
%check
|
2016-09-27 09:33:45 +00:00
|
|
|
%cabal_test
|
2014-03-16 15:21:57 +00:00
|
|
|
|
|
|
|
|
2013-12-04 22:43:09 +00:00
|
|
|
%post -n ghc-%{name}-devel
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
%postun -n ghc-%{name}-devel
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
2019-02-17 14:42:36 +00:00
|
|
|
# Begin cabal-rpm files:
|
2016-03-07 09:02:56 +00:00
|
|
|
%license LICENSE
|
2014-08-30 09:49:43 +00:00
|
|
|
%doc README.md
|
2013-12-04 22:43:09 +00:00
|
|
|
%{_bindir}/shellcheck
|
2019-02-17 14:42:36 +00:00
|
|
|
# End cabal-rpm files
|
2014-02-05 06:26:05 +00:00
|
|
|
%{_mandir}/man1/shellcheck.1*
|
2013-12-04 22:43:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
2019-02-17 14:42:36 +00:00
|
|
|
# Begin cabal-rpm files:
|
2016-03-07 09:02:56 +00:00
|
|
|
%license LICENSE
|
2019-02-17 14:42:36 +00:00
|
|
|
# End cabal-rpm files
|
2013-12-04 22:43:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
2014-08-30 09:49:43 +00:00
|
|
|
%doc README.md
|
2013-12-04 22:43:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2019-07-24 17:18:02 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-17 14:42:36 +00:00
|
|
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.6.0-3
|
|
|
|
- refresh to cabal-rpm-0.13
|
|
|
|
|
2019-01-31 12:44:34 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-12-03 08:51:53 +00:00
|
|
|
* Mon Dec 03 2018 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 0.6.0-1
|
|
|
|
- Update to 0.6.0
|
|
|
|
|
2018-10-09 14:50:23 +00:00
|
|
|
* Tue Oct 9 2018 Jens Petersen <petersen@redhat.com> - 0.5.0-4
|
|
|
|
- rebuild for static executable
|
|
|
|
|
2018-07-28 16:06:21 +00:00
|
|
|
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.5.0-3
|
|
|
|
- rebuild
|
|
|
|
|
2018-07-12 19:50:27 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-12-03 08:51:53 +00:00
|
|
|
* Tue Jul 03 2018 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 0.5.0-1
|
2018-07-03 07:41:39 +00:00
|
|
|
- Update to 0.5.0
|
|
|
|
|
2018-02-07 01:34:21 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-26 10:10:32 +00:00
|
|
|
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.4.7-2
|
|
|
|
- rebuild
|
|
|
|
|
2018-12-03 08:51:53 +00:00
|
|
|
* Sun Dec 10 2017 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 0.4.7-1
|
2017-12-10 20:40:29 +00:00
|
|
|
- Update to 0.4.7
|
|
|
|
- Install the manual shipped upstream
|
|
|
|
|
2017-08-02 17:17:04 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 02:23:46 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2018-12-03 08:51:53 +00:00
|
|
|
* Tue Apr 25 2017 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 0.4.6-1
|
2017-04-25 18:05:58 +00:00
|
|
|
- update to 0.4.6
|
|
|
|
|
2017-02-23 15:16:58 +00:00
|
|
|
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.4.5-3
|
|
|
|
- refresh to cabal-rpm-0.11.1
|
|
|
|
|
2017-02-10 05:35:25 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-13 08:10:56 +00:00
|
|
|
* Fri Jan 13 2017 Jens Petersen <petersen@redhat.com> - 0.4.5-1
|
|
|
|
- update to 0.4.5
|
|
|
|
|
2016-06-26 11:38:57 +00:00
|
|
|
* Sun Jun 26 2016 Jens Petersen <petersen@redhat.com> - 0.4.4-1
|
|
|
|
- update to 0.4.4
|
2016-07-03 23:17:18 +00:00
|
|
|
- disable tests since they hang
|
2016-06-26 11:38:57 +00:00
|
|
|
|
2016-03-07 09:02:56 +00:00
|
|
|
* Mon Mar 7 2016 Jens Petersen <petersen@redhat.com> - 0.3.8-1
|
|
|
|
- update to 0.3.8
|
2016-03-08 02:19:01 +00:00
|
|
|
- skip tests on armv7hl
|
2016-03-07 09:02:56 +00:00
|
|
|
|
2016-02-03 15:50:37 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-16 23:25:09 +00:00
|
|
|
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-26 14:05:26 +00:00
|
|
|
* Sun Apr 26 2015 Dridi <dridi.boukelmoune@gmail.com> - 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
|
|
|
|
|
2015-01-28 15:10:31 +00:00
|
|
|
* Wed Jan 28 2015 Jens Petersen <petersen@redhat.com> - 0.3.5-1
|
|
|
|
- update to 0.3.5
|
|
|
|
|
2014-11-04 09:56:29 +00:00
|
|
|
* Tue Nov 4 2014 Jens Petersen <petersen@redhat.com> - 0.3.4-2
|
2014-11-06 10:50:20 +00:00
|
|
|
- disable tests on all archs (#1158522)
|
|
|
|
- QuickCheck should really only be used for buildtime tests
|
2014-11-04 09:56:29 +00:00
|
|
|
|
2014-09-04 09:19:26 +00:00
|
|
|
* Thu Sep 11 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.4-1
|
|
|
|
- bumped to version 0.3.4
|
|
|
|
- switched to hackage for the source tarball
|
|
|
|
- tests are now driven by cabal
|
2014-09-22 03:09:13 +00:00
|
|
|
- skip tests on ARM since TemplateHaskell fails
|
2014-09-04 09:19:26 +00:00
|
|
|
|
2014-09-05 05:59:58 +00:00
|
|
|
* Fri Sep 5 2014 Jens Petersen <petersen@redhat.com> - 0.3.3-2
|
|
|
|
- reenable pandoc on ARM
|
|
|
|
|
2014-09-04 17:15:53 +00:00
|
|
|
* Thu Sep 04 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.3-1
|
|
|
|
- rebuilt after a dependency upgrade
|
|
|
|
|
2014-08-30 09:49:43 +00:00
|
|
|
* Sat Aug 30 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.3-0
|
|
|
|
- bumped to version 0.3.3
|
|
|
|
- removed upstreamed patch
|
|
|
|
|
2014-08-28 15:11:16 +00:00
|
|
|
* Thu Aug 28 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-9
|
|
|
|
- rebuilt after a dependency upgrade
|
|
|
|
|
2014-08-15 19:40:08 +00:00
|
|
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-06 23:43:59 +00:00
|
|
|
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-18 01:24:09 +00:00
|
|
|
* Mon Mar 17 2014 Jens Petersen <petersen@redhat.com> - 0.3.1-6
|
|
|
|
- fix shellcheck rpath instead of using ld.so.conf.d
|
|
|
|
- simplify doc files
|
|
|
|
|
2014-03-16 15:25:34 +00:00
|
|
|
* Sun Mar 16 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-5
|
2014-03-16 15:21:57 +00:00
|
|
|
- added missing ld config
|
|
|
|
|
2014-03-01 17:34:20 +00:00
|
|
|
* Sat Mar 01 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-4
|
|
|
|
- executable dynamically linked to the library (bug #1069048)
|
|
|
|
|
2014-02-09 22:10:22 +00:00
|
|
|
* Sun Feb 09 2014 Dridi <dridi.boukelmoune@gmail.com> - 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
|
|
|
|
|
2014-02-05 06:26:05 +00:00
|
|
|
* Wed Feb 05 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-2
|
|
|
|
- build and install the man page
|
|
|
|
|
2014-02-04 23:06:25 +00:00
|
|
|
* Tue Feb 04 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-1
|
|
|
|
- bumped to version 0.3.1
|
|
|
|
- added a workaround for the Fedora haskell toolchain (bug #1052117)
|
|
|
|
|
2013-12-04 22:43:09 +00:00
|
|
|
* Tue Dec 03 2013 Dridi <dridi.boukelmoune@gmail.com> - 0.2.0-3
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue Dec 03 2013 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 0.2.0-3
|
|
|
|
- s/shell/POSIX shell/ in summary
|
|
|
|
- LICENSE and README co-owned by sub-packages
|
|
|
|
|
|
|
|
* Sat Nov 30 2013 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 0.2.0-2
|
|
|
|
- added a patch for "for arg do" loops (d4bc0f6)
|
|
|
|
|
|
|
|
* Sat Nov 23 2013 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 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
|