[cabal-rpm] 0.8.11 uses existing spec file for pkg-ver and adds testsuite support
Jens Petersen
petersen at fedoraproject.org
Sat May 17 09:23:37 UTC 2014
commit cc2b4950b03a6733a76053e2ecbf087a30c876dc
Author: Jens Petersen <petersen at redhat.com>
Date: Sat May 17 18:23:30 2014 +0900
0.8.11 uses existing spec file for pkg-ver and adds testsuite support
- workaround cabal downloaded tarballs are 0600
- disable debuginfo if no C code
.gitignore | 1 +
cabal-rpm.spec | 19 ++++++++++++++++---
sources | 2 +-
3 files changed, 18 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a57ad49..9be881d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@
/cabal-rpm-0.8.8.tar.gz
/cabal-rpm-0.8.9.tar.gz
/cabal-rpm-0.8.10.tar.gz
+/cabal-rpm-0.8.11.tar.gz
diff --git a/cabal-rpm.spec b/cabal-rpm.spec
index 259eb2a..e8899ef 100644
--- a/cabal-rpm.spec
+++ b/cabal-rpm.spec
@@ -1,13 +1,16 @@
# https://fedoraproject.org/wiki/Packaging:Haskell
+# no useful debuginfo for Haskell packages without C sources
+%global debug_package %{nil}
+
Name: cabal-rpm
-Version: 0.8.10
+Version: 0.8.11
Release: 1%{?dist}
Summary: RPM packaging tool for Haskell Cabal-based packages
License: GPLv3+
URL: http://hackage.haskell.org/package/%{name}
-Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
+Source0: http://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
Source1: cabal-rpm.1
Source2: cblrpm-diff
@@ -18,7 +21,6 @@ BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-process-devel
-BuildRequires: ghc-regex-compat-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-unix-devel
# End cabal-rpm deps
@@ -68,6 +70,17 @@ ln -s cblrpm-diff %{buildroot}%{_bindir}/%{name}-diff
%changelog
+* Sat May 17 2014 Jens Petersen <petersen at redhat.com> - 0.8.11-1
+- use .spec file to determine pkg-ver when no .cabal file around
+- build command renamed again from "rpm" to "local" (like fedpkg)
+- automatically generate bcond for %check and add testsuite BRs
+ when testsuites available
+- disable debuginfo explicitly when no c-sources in preparation for
+ ghc-rpm-macros no longer disabling debuginfo
+- reset filemode of downloaded hackage tarballs to 0644:
+ workaround for cabal-install setting 0600
+- include release again in initial changelog
+
* Mon Mar 3 2014 Jens Petersen <petersen at redhat.com> - 0.8.10-1
- new diff command replaces cblrpm-diff script
- new missingdeps command
diff --git a/sources b/sources
index a82e76f..10fd1de 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b288331af0d7272469b9759d6f5dea70 cabal-rpm-0.8.10.tar.gz
+72e403079d16428762c93d0aa5bff033 cabal-rpm-0.8.11.tar.gz
More information about the scm-commits
mailing list