[Bug 426754] Review Request: ghc-xmonad-contrib - Third party extensions for xmonad

bugzilla at redhat.com bugzilla at redhat.com
Sun Sep 20 09:26:08 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=426754





--- Comment #30 from Jens Petersen <petersen at redhat.com>  2009-09-20 05:26:07 EDT ---
For reference here is the cabal2spec-diff output
(on my copy of a fixed spec file)

--- ghc-xmonad-contrib.spec 2009-09-20 19:01:57.000000000 +1000
+++ ghc-xmonad-contrib.spec.cabal2spec 2009-09-20 19:16:54.000000000 +1000
@@ -8,58 +8,35 @@

 Name:           ghc-%{pkg_name}
 Version:        0.8.1
-Release:        8%{?dist}
-Summary:        Third party extensions for xmonad
+Release:        1%{?dist}
+Summary:        Haskell %{pkg_name} library

 Group:          Development/Libraries
-License:        BSD
+License:        @LICENSE@
 URL:           
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name}
 Source0:       
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # fedora ghc archs:
 ExclusiveArch:  %{ix86} x86_64 ppc alpha
-BuildRequires:  ghc-xmonad-devel = %{version}
-BuildRequires:  ghc-utf8-string-devel
-BuildRequires:  ghc-X11-xft-devel
 BuildRequires:  ghc, ghc-rpm-macros
 %if %{with doc}
 BuildRequires:  ghc-doc
-BuildRequires:  ghc-xmonad-doc
-BuildRequires:  ghc-utf8-string-doc
-BuildRequires:  ghc-X11-xft-doc
 %endif
 %if %{with prof}
 BuildRequires:  ghc-prof
-BuildRequires:  ghc-xmonad-prof = %{version}
-BuildRequires:  ghc-utf8-string-prof
-BuildRequires:  ghc-X11-xft-prof
 %endif

 %description
-Haskell %{pkg_name} library for ghc-%{ghc_version}.
-
-Third party tiling algorithms, configurations and scripts to xmonad,
-a tiling window manager for X.
-
-For an introduction to building, configuring and using xmonad
-extensions, see "XMonad.Doc". In particular:
+This package provides the Haskell %{pkg_name} library for ghc.

-"XMonad.Doc.Configuring", a guide to configuring xmonad
-
-"XMonad.Doc.Extending", using the contributed extensions library
-
-"XMonad.Doc.Developing", introduction to xmonad internals and writing
-your own extensions.

 %package devel
 Summary:        Haskell %{pkg_name} library
 Group:          Development/Libraries
+Provides:       ghc-%{pkg_name} = %{version}-%{release}
 Requires:       ghc = %{ghc_version}
 Requires(post): ghc = %{ghc_version}
 Requires(preun): ghc = %{ghc_version}
-Requires:       ghc-xmonad-devel
-Requires:       ghc-utf8-string-devel
-Requires:       ghc-X11-xft-devel

 %description devel
 This package contains the development files for %{name}
@@ -73,13 +50,9 @@
 Requires:       ghc-doc = %{ghc_version}
 Requires(post): ghc-doc = %{ghc_version}
 Requires(postun): ghc-doc = %{ghc_version}
-Requires:       ghc-xmonad-doc
-Requires:       ghc-utf8-string-doc
-Requires:       ghc-X11-xft-doc

 %description doc
-This package contains development documentation files for
-the %{name} library.
+This package contains development documentation files for the %{name} library.
 %endif


@@ -89,9 +62,6 @@
 Group:          Development/Libraries
 Requires:       %{name}-devel = %{version}-%{release}
 Requires:       ghc-prof = %{ghc_version}
-Requires:       ghc-xmonad-prof
-Requires:       ghc-utf8-string-prof
-Requires:       ghc-X11-xft-prof


[BTW I plan to reverse the diff output in the next cabal2spec
since that makes more sense now.]

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list