update to 0.2.0.4

This commit is contained in:
Jens Petersen 2020-02-14 11:35:56 +08:00
parent fc482a65a2
commit ebff2621ab
3 changed files with 21 additions and 6 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
/hjsmin-0.1.4.7.tar.gz
/hjsmin-0.2.0.1.tar.gz
/hjsmin-0.2.0.2.tar.gz
/hjsmin-0.2.0.4.tar.gz

View File

@ -4,9 +4,11 @@
%global pkg_name hjsmin
%global pkgver %{pkg_name}-%{version}
%bcond_without tests
Name: ghc-%{pkg_name}
Version: 0.2.0.2
Release: 12%{?dist}
Version: 0.2.0.4
Release: 1%{?dist}
Summary: Haskell implementation of a javascript minifier
License: BSD
@ -19,12 +21,17 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-prof
BuildRequires: ghc-blaze-builder-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-language-javascript-prof
BuildRequires: ghc-optparse-applicative-prof
BuildRequires: ghc-text-prof
%if %{with tests}
BuildRequires: ghc-directory-devel
BuildRequires: ghc-extra-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-unix-devel
%endif
# End cabal-rpm deps
%description
@ -84,6 +91,10 @@ This package provides the Haskell %{pkg_name} profiling library.
# End cabal-rpm install
%check
%cabal_test
%if 0%{?fedora} < 31 || 0%{?rhel} < 8
%post devel
%ghc_pkg_recache
@ -101,7 +112,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%files devel -f %{name}-devel.files
%doc Readme.md TODO.txt
%doc Readme.md
%{_bindir}/%{pkg_name}
@ -117,6 +128,9 @@ This package provides the Haskell %{pkg_name} profiling library.
%changelog
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.2.0.4-1
- update to 0.2.0.4
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0.2-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (hjsmin-0.2.0.2.tar.gz) = ffd67972cef49b5026995e9852e603035513e18089df9f77c35ec084ee3487904018aea018a08408ab53f441aa5200efdd7f5a28191cd814c5e2fc91c2552902
SHA512 (hjsmin-0.2.0.4.tar.gz) = 11534fd3f351cb1b73e9f166ee42737eb31c10f8f49b2b8d593f9a5a07d08d6b070f71204ec41257d02f38b0dc1172f48bd95d59b553b9f602b90018a795b07c