Ignore:
Timestamp:
Apr 18, 2011, 12:17:13 PM (13 years ago)
Author:
achernya
Message:
Additional necessary changes to build the Scripts RPMs on Fedora 15:

 * Update the updates-released URL to download3.fedora.redhat.com in
   the mock configuration
 * Update openssh.spec.patch to apply to openssh5.6p1
 * Regenerate and fix ghc-MonadCatchIO-mtl.spec

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fc15-dev/server/fedora/specs/ghc-MonadCatchIO-mtl.spec

    r1693 r1808  
     1# For Haskell Packaging Guidelines see:
     2# - https://fedoraproject.org/wiki/Packaging:Haskell
     3# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
     4
    15%global pkg_name MonadCatchIO-mtl
    26
     7# common part of summary for all the subpackages
    38%global common_summary Haskell %{pkg_name} library
    49
     10# main description used for all the subpackages
    511%global common_description A %{pkg_name} library for Haskell.
    612
    7 # add any Haskell library dependencies here:
     13# add any Haskell library dependencies here: 
    814%global ghc_pkg_deps ghc-mtl-devel
    915
    10 # add any foreign library dependencies here:
     16# Haskell library dependencies (used for buildrequires and devel/prof subpkg requires)
     17#%%global ghc_pkg_deps ghc-@DEP1@-devel, ghc-@DEP2@-devel
     18
     19# foreign library dependencies (used for buildrequires and devel subpkg requires)
    1120#%%global ghc_pkg_c_deps @CDEP1@-devel
    1221
     
    1827Name:           ghc-%{pkg_name}
    1928Version:        0.3.0.1
    20 Release:        0.%{scriptsversion}%{?dist}
     29Release:        1.%{scriptsversion}%{?dist}
    2130Summary:        %{common_summary}
    2231
    2332Group:          System Environment/Libraries
    24 License:        BSD
    25 URL:            http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name}
     33License:        @LICENSE@
     34URL:            http://hackage.haskell.org/package/%{pkg_name}
    2635Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
    27 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    2836# fedora ghc archs:
    29 ExclusiveArch:  %{ix86} x86_64 ppc alpha
     37ExclusiveArch:  %{ix86} x86_64 ppc alpha sparcv9
    3038BuildRequires:  ghc, ghc-doc, ghc-prof
    31 BuildRequires:  ghc-rpm-macros >= 0.7.0
     39# macros for building haskell packages
     40BuildRequires:  ghc-rpm-macros >= 0.7.3
     41BuildRequires:  hscolour
    3242%{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
    3343%{?ghc_pkg_c_deps:BuildRequires:  %{ghc_pkg_c_deps}}
     
    3545%description
    3646%{common_description}
    37 %if %{with shared}
    38 This package provides the shared library.
    39 %endif
    40 
    41 
    42 %{?ghc_lib_package}
    4347
    4448
     
    5256
    5357%install
    54 rm -rf $RPM_BUILD_ROOT
    5558%ghc_lib_install
    5659
    5760
    58 %clean
    59 rm -rf $RPM_BUILD_ROOT
     61# define the devel and prof subpkgs, devel post[un] scripts, and filelists:
     62# ghc-%pkg_name{,devel,prof}.files
     63%ghc_lib_package
    6064
    6165
    6266%changelog
     67* Sat Apr 16 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 0.3.0.1-1
     68- regenerated packaging for Fedora automatically generated by cabal2spec-0.22.5
     69
    6370* Thu Sep  9 2010 Anders Kaseorg <andersk@mit.edu> - 0.3.0.1-0
    6471- initial packaging for Fedora automatically generated by cabal2spec-0.22.1
Note: See TracChangeset for help on using the changeset viewer.