[ShellCheck] bumped to version 0.3.1

Dridi Boukelmoune dridi at fedoraproject.org
Tue Feb 4 23:08:56 UTC 2014


commit 900c1f77127c8a27f52e970736fd1efa27e569e7
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Wed Feb 5 00:06:25 2014 +0100

    bumped to version 0.3.1
    
    Also added a workaround for the Fedora haskell toolchain (bug #1052117).

 .gitignore      |    1 +
 ShellCheck.spec |   20 +++++++++++++-------
 d4bc0f6.diff    |   21 ---------------------
 sources         |    2 +-
 4 files changed, 15 insertions(+), 29 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9ad667f..7f3b6b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /v0.2.0.tar.gz
+/v0.3.1.tar.gz
diff --git a/ShellCheck.spec b/ShellCheck.spec
index 785464f..873a238 100644
--- a/ShellCheck.spec
+++ b/ShellCheck.spec
@@ -1,17 +1,14 @@
 %global pkg_name ShellCheck
 
 Name:             %{pkg_name}
-Version:          0.2.0
-Release:          3%{?dist}
+Version:          0.3.1
+Release:          1%{?dist}
 Summary:          Tool for checking common errors in POSIX shell scripts
 
 License:          AGPLv3+
 URL:              http://www.shellcheck.net/about.html
 Source0:          https://github.com/koalaman/shellcheck/archive/v%{version}.tar.gz
 
-# https://github.com/koalaman/shellcheck/issues/44
-Patch0:           https://github.com/koalaman/shellcheck/commit/d4bc0f6.diff
-
 BuildRequires:    ghc-Cabal-devel
 BuildRequires:    ghc-rpm-macros
 # Begin cabal-rpm deps:
@@ -60,7 +57,10 @@ This package provides the Haskell %{name} library development files.
 
 %prep
 %setup -q -n shellcheck-%{version}
-%patch0 -p1
+
+# workaround until the tarball root directory becomes %%{name}-%%{version}
+# see also "cd %%{_builddir}/%%{name}-%%{version}" in other sections
+ln -s shellcheck-%{version} ../%{name}-%{version}
 
 cat >Setup.hs <<EOF
 import Distribution.Simple
@@ -70,15 +70,17 @@ EOF
 
 
 %build
+cd %{_builddir}/%{name}-%{version}
 %ghc_lib_build
 
 
 %install
+cd %{_builddir}/%{name}-%{version}
 %ghc_lib_install
-rm %{buildroot}%{_bindir}/jsoncheck
 
 
 %check
+cd %{_builddir}/%{name}-%{version}
 make .tests
 
 
@@ -107,6 +109,10 @@ make .tests
 
 
 %changelog
+* Tue Feb 04 2014 Dridi <dridi.boukelmoune at gmail.com> - 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 <dridi.boukelmoune at gmail.com> - 0.2.0-3
 - rebuilt
 
diff --git a/sources b/sources
index 8049760..c971a21 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-eb938bca816e2ccc75c31f44adde1f9d  v0.2.0.tar.gz
+4cfd04250ec28485ae54055ba081e6fa  v0.3.1.tar.gz


More information about the scm-commits mailing list