Author: darekr Date: Sun Jun 26 19:00:05 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - new bcond style
---- Files affected: SPECS: hmake.spec (1.17 -> 1.18) ---- Diffs: ================================================================ Index: SPECS/hmake.spec diff -u SPECS/hmake.spec:1.17 SPECS/hmake.spec:1.18 --- SPECS/hmake.spec:1.17 Fri Nov 26 03:04:52 2004 +++ SPECS/hmake.spec Sun Jun 26 21:00:00 2005 @@ -1,7 +1,5 @@ # $Revision$, $Date$ - -# _with_nhc - build with nhc98, not ghc - +%bcond_with nhc # build with nhc98, not ghc Summary: hmake is a compilation manager for Haskell programs Summary(pl): Program zarządzający kompilacją programów w Haskellu Name: hmake @@ -9,15 +7,15 @@ Release: 1 License: Free Group: Development/Languages -Source0: http://www.haskell.org/%{name}/%{name}-%{version}.tar.gz +Source0: http://www.haskell.org/hmake/%{name}-%{version}.tar.gz # Source0-md5: 72ac1fbca710dd8be5926600b119b4f4 Patch0: %{name}-uname.patch URL: http://www.haskell.org/hmake/ -%{!?_with_nhc:BuildRequires: ghc} -%{?_with_nhc:BuildRequires: nhc98} BuildRequires: ed +%{!?with_nhc:BuildRequires: ghc} BuildRequires: gmp-devel BuildRequires: ncurses-devel +%{?with_nhc:BuildRequires: nhc98} BuildRequires: readline-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -49,11 +47,12 @@ --prefix=%{_prefix} \ --libdir=%{_libdir}/%{name} \ --mandir=%{_mandir}/man1 \ -%{!?_with_nhc:--buildwith=ghc} \ -%{?_with_nhc:--buildwith=nhc98} \ +%{!?with_nhc:--buildwith=ghc} \ +%{?with_nhc:--buildwith=nhc98} \ --buildopts="-O" -%{__make} OPT="%{rpmcflags}" +%{__make} \ + OPT="%{rpmcflags}" %install rm -rf $RPM_BUILD_ROOT @@ -95,6 +94,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.18 2005/06/26 19:00:00 darekr +- new bcond style + Revision 1.17 2004/11/26 02:04:52 undefine - up to 3.09 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/hmake.spec?r1=1.17&r2=1.18&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
