[xmobar] cabal2spec-0.22.4 and BR ghc-devel

Jens Petersen petersen at fedoraproject.org
Sat Jan 22 16:58:04 UTC 2011


commit 97a15fe986b7d85799681f2a60fd4649da37702a
Author: Jens Petersen <petersen at redhat.com>
Date:   Sun Jan 23 02:57:25 2011 +1000

    cabal2spec-0.22.4 and BR ghc-devel

 xmobar.spec |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/xmobar.spec b/xmobar.spec
index c0feb28..665450b 100644
--- a/xmobar.spec
+++ b/xmobar.spec
@@ -9,7 +9,7 @@
 
 Name:           xmobar
 Version:        0.11.1
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        A minimalistic text-based status bar
 
 Group:          User Interface/X
@@ -20,11 +20,10 @@ Source1:        xmobar.desktop
 # Made from diff in MPD.hs between upstream and
 # http://code.google.com/p/xmobar/issues/detail?id=31
 Patch0:         xmobar.libmpd-0.5.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # fedora ghc archs:
 ExclusiveArch:  %{ix86} x86_64 ppc alpha
 BuildRequires:  desktop-file-utils
-BuildRequires:  ghc
+BuildRequires:  ghc, ghc-devel
 BuildRequires:  ghc-rpm-macros >= 0.8.1
 BuildRequires:  ghc-X11-devel >= 1.3.0
 BuildRequires:  ghc-X11-xft-devel
@@ -64,7 +63,6 @@ popd
 
 
 %install
-rm -rf %{buildroot}
 desktop-file-install                         \
   --dir=%{buildroot}%{_datadir}/applications \
    %{SOURCE1}
@@ -75,10 +73,6 @@ popd
 %ghc_bin_install
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %files
 %defattr(-,root,root,-)
 %doc LICENSE README
@@ -89,6 +83,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Jan 19 2011 Jens Petersen <petersen at redhat.com> - 0.11.1-9
+- update to cabal2spec-0.22.4
+- BR ghc-devel
+
 * Sun Dec  5 2010 Jens Petersen <petersen at redhat.com> - 0.11.1-8
 - rebuild with newer stm, syb, and network
 


More information about the scm-commits mailing list