enable configure bcond check for tests
This commit is contained in:
parent
e67c7efd4d
commit
0273f7e1eb
@ -87,7 +87,7 @@ install -D --mode=0644 %{pkgnamever}.conf %{buildroot}%{ghclibdir}/package.conf.
|
||||
# ghc_lib_build_without_haddock [name] [version]
|
||||
%ghc_lib_build_without_haddock()\
|
||||
%global debug_package %{nil}\
|
||||
%cabal_configure %{!?without_prof:-p} %{!?ghc_without_shared:--enable-shared} %{?pkg_name:--htmldir=%{ghclibdocdir}/%{pkg_name}} %{?1:--docdir=%{_docdir}/ghc-%1%{!?fedora:-%2} --htmldir=%{ghclibdocdir}/%1} %{!?1:--global} %{?ghc_with_lib_for_ghci:--enable-library-for-ghci}\
|
||||
%cabal_configure %{!?without_prof:-p} %{!?ghc_without_shared:--enable-shared} %{?pkg_name:--htmldir=%{ghclibdocdir}/%{pkg_name}} %{?1:--docdir=%{_docdir}/ghc-%1%{!?fedora:-%2} --htmldir=%{ghclibdocdir}/%1} %{!?1:--global} %{?ghc_with_lib_for_ghci:--enable-library-for-ghci} %{?with_tests:--enable-tests}\
|
||||
%cabal build\
|
||||
%{nil}
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
#%%global without_hscolour 1
|
||||
|
||||
Name: ghc-rpm-macros
|
||||
Version: 1.2.8
|
||||
Version: 1.2.9
|
||||
Release: 1%{?dist}
|
||||
Summary: RPM macros for building packages for GHC
|
||||
|
||||
@ -108,6 +108,9 @@ EOF
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri May 16 2014 Jens Petersen <petersen@redhat.com> - 1.2.9-1
|
||||
- enable configure bcond check for tests
|
||||
|
||||
* Tue May 13 2014 Jens Petersen <petersen@redhat.com> - 1.2.8-1
|
||||
- use -O2 also for executable (Bin) packages and allow it to be overrided
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user