The package rpms/ghc-fgl.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/ghc-fgl.git/commit/?id=272b87a53d...
https://src.fedoraproject.org/cgit/rpms/ghc-fgl.git/commit/?id=dc123da4d8...
https://src.fedoraproject.org/cgit/rpms/ghc-fgl.git/commit/?id=5dd790f699...
https://src.fedoraproject.org/cgit/rpms/ghc-fgl.git/commit/?id=21c3ca2611...
https://src.fedoraproject.org/cgit/rpms/ghc-fgl.git/commit/?id=9c66dca9ae...
https://src.fedoraproject.org/cgit/rpms/ghc-fgl.git/commit/?id=71e16799d2...
https://src.fedoraproject.org/cgit/rpms/ghc-fgl.git/commit/?id=f16bc0f836...
https://src.fedoraproject.org/cgit/rpms/ghc-fgl.git/commit/?id=2dc0960ec7....
Change:
+ExclusiveArch: %{ghc_arches}
+ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
+ExcludeArch: %{ghc_excluded_archs}
+ExclusiveArch: %{ghc_arches}
+ExclusiveArch: %{ix86} x86_64 ppc alpha
+ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
-ExclusiveArch: %{ghc_arches}
-ExclusiveArch: %{ghc_arches}
Thanks.
Full change:
============
commit a278d09b58e10f5f8fc29a750850202d24ffb255
Author: Jens Petersen <petersen(a)redhat.com>
Date: Wed Feb 27 01:44:28 2019 +0800
refresh to cabal-rpm-0.13
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index 97acdd1..d9538c8 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -1,4 +1,4 @@
-# generated by cabal-rpm-0.12.3
+# generated by cabal-rpm-0.13
#
https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name fgl
@@ -9,16 +9,18 @@
Name: ghc-%{pkg_name}
Version: 5.6.0.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Martin Erwig's Functional Graph Library
License: BSD
Url:
https://hackage.haskell.org/package/%{pkg_name}
+# Begin cabal-rpm sources:
Source0:
https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
+# End cabal-rpm sources
+# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
-# Begin cabal-rpm deps:
BuildRequires: ghc-array-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-deepseq-devel
@@ -52,15 +54,21 @@ This package provides the Haskell %{pkg_name} library development
files.
%prep
+# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
+# End cabal-rpm setup
%build
+# Begin cabal-rpm build:
%ghc_lib_build
+# End cabal-rpm build
%install
+# Begin cabal-rpm install
%ghc_lib_install
+# End cabal-rpm install
%check
@@ -76,7 +84,9 @@ This package provides the Haskell %{pkg_name} library development
files.
%files -f %{name}.files
+# Begin cabal-rpm files:
%license LICENSE
+# End cabal-rpm files
%files devel -f %{name}-devel.files
@@ -84,6 +94,9 @@ This package provides the Haskell %{pkg_name} library development
files.
%changelog
+* Wed Feb 27 2019 Jens Petersen <petersen(a)redhat.com> - 5.6.0.0-4
+- refresh to cabal-rpm-0.13
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
5.6.0.0-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
commit 3e555002ac7e22e1ede5fc2c5fd320458531d243
Author: Mohan Boddu <mboddu(a)bhujji.com>
Date: Mon Feb 25 12:49:18 2019 -0500
Revert "Orphaned for 6+ weeks"
Unretiring for
https://pagure.io/releng/issue/8155
This reverts commit 0c451eaf0de4bcf07ce240fcb9fde725ab8e6ba1.
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..eb5585c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+fgl-5.4.2.3.tar.gz
+/fgl-5.4.2.4.tar.gz
+/fgl-5.6.0.0.tar.gz
diff --git a/dead.package b/dead.package
deleted file mode 100644
index 5204a84..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-Orphaned for 6+ weeks
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
new file mode 100644
index 0000000..97acdd1
--- /dev/null
+++ b/ghc-fgl.spec
@@ -0,0 +1,94 @@
+# generated by cabal-rpm-0.12.3
+#
https://fedoraproject.org/wiki/Packaging:Haskell
+
+%global pkg_name fgl
+%global pkgver %{pkg_name}-%{version}
+
+# needs older QuickCheck
+%bcond_with tests
+
+Name: ghc-%{pkg_name}
+Version: 5.6.0.0
+Release: 3%{?dist}
+Summary: Martin Erwig's Functional Graph Library
+
+License: BSD
+Url:
https://hackage.haskell.org/package/%{pkg_name}
+Source0:
https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
+
+BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-rpm-macros
+# Begin cabal-rpm deps:
+BuildRequires: ghc-array-devel
+BuildRequires: ghc-containers-devel
+BuildRequires: ghc-deepseq-devel
+BuildRequires: ghc-transformers-devel
+%if %{with tests}
+BuildRequires: ghc-QuickCheck-devel
+BuildRequires: ghc-hspec-devel
+%endif
+# End cabal-rpm deps
+
+%description
+An inductive representation of manipulating graph data structures.
+
+Original website can be found at
+<http://web.engr.oregonstate.edu/~erwig/fgl/haskell>.
+
+
+%package devel
+Summary: Haskell %{pkg_name} library development files
+Provides: %{name}-static = %{version}-%{release}
+Provides: %{name}-doc = %{version}-%{release}
+%if %{defined ghc_version}
+Requires: ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
+%endif
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+This package provides the Haskell %{pkg_name} library development files.
+
+
+%prep
+%setup -q -n %{pkgver}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+%check
+%cabal_test
+
+
+%post devel
+%ghc_pkg_recache
+
+
+%postun devel
+%ghc_pkg_recache
+
+
+%files -f %{name}.files
+%license LICENSE
+
+
+%files devel -f %{name}-devel.files
+%doc ChangeLog
+
+
+%changelog
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
5.6.0.0-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Sun Jun 3 2018 Jens Petersen <petersen(a)redhat.com> - 5.6.0.0-2
+- disable tests since needs old QuickCheck
+
+* Wed May 23 2018 Fedora Haskell SIG <haskell(a)lists.fedoraproject.org> - 5.6.0.0-1
+- spec file generated by cabal-rpm-0.12.3
diff --git a/sources b/sources
new file mode 100644
index 0000000..caae15e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (fgl-5.6.0.0.tar.gz) =
0da15994f95d86dd27a6678eb762afb72d87b28176f82505691b5e5215e2c73edfe7ed2f36021254a02a749d5f39f23bf68a8957900fb335e651be5b68ec11f2
commit 0c451eaf0de4bcf07ce240fcb9fde725ab8e6ba1
Author: Miro Hronok <miro(a)hroncok.cz>
Date: Mon Dec 24 12:09:29 2018 +0100
Orphaned for 6+ weeks
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index eb5585c..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-fgl-5.4.2.3.tar.gz
-/fgl-5.4.2.4.tar.gz
-/fgl-5.6.0.0.tar.gz
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..5204a84
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Orphaned for 6+ weeks
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
deleted file mode 100644
index 97acdd1..0000000
--- a/ghc-fgl.spec
+++ /dev/null
@@ -1,94 +0,0 @@
-# generated by cabal-rpm-0.12.3
-#
https://fedoraproject.org/wiki/Packaging:Haskell
-
-%global pkg_name fgl
-%global pkgver %{pkg_name}-%{version}
-
-# needs older QuickCheck
-%bcond_with tests
-
-Name: ghc-%{pkg_name}
-Version: 5.6.0.0
-Release: 3%{?dist}
-Summary: Martin Erwig's Functional Graph Library
-
-License: BSD
-Url:
https://hackage.haskell.org/package/%{pkg_name}
-Source0:
https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
-
-BuildRequires: ghc-Cabal-devel
-BuildRequires: ghc-rpm-macros
-# Begin cabal-rpm deps:
-BuildRequires: ghc-array-devel
-BuildRequires: ghc-containers-devel
-BuildRequires: ghc-deepseq-devel
-BuildRequires: ghc-transformers-devel
-%if %{with tests}
-BuildRequires: ghc-QuickCheck-devel
-BuildRequires: ghc-hspec-devel
-%endif
-# End cabal-rpm deps
-
-%description
-An inductive representation of manipulating graph data structures.
-
-Original website can be found at
-<http://web.engr.oregonstate.edu/~erwig/fgl/haskell>.
-
-
-%package devel
-Summary: Haskell %{pkg_name} library development files
-Provides: %{name}-static = %{version}-%{release}
-Provides: %{name}-doc = %{version}-%{release}
-%if %{defined ghc_version}
-Requires: ghc-compiler = %{ghc_version}
-Requires(post): ghc-compiler = %{ghc_version}
-Requires(postun): ghc-compiler = %{ghc_version}
-%endif
-Requires: %{name}%{?_isa} = %{version}-%{release}
-
-%description devel
-This package provides the Haskell %{pkg_name} library development files.
-
-
-%prep
-%setup -q -n %{pkgver}
-
-
-%build
-%ghc_lib_build
-
-
-%install
-%ghc_lib_install
-
-
-%check
-%cabal_test
-
-
-%post devel
-%ghc_pkg_recache
-
-
-%postun devel
-%ghc_pkg_recache
-
-
-%files -f %{name}.files
-%license LICENSE
-
-
-%files devel -f %{name}-devel.files
-%doc ChangeLog
-
-
-%changelog
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
5.6.0.0-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Sun Jun 3 2018 Jens Petersen <petersen(a)redhat.com> - 5.6.0.0-2
-- disable tests since needs old QuickCheck
-
-* Wed May 23 2018 Fedora Haskell SIG <haskell(a)lists.fedoraproject.org> - 5.6.0.0-1
-- spec file generated by cabal-rpm-0.12.3
diff --git a/sources b/sources
deleted file mode 100644
index caae15e..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (fgl-5.6.0.0.tar.gz) =
0da15994f95d86dd27a6678eb762afb72d87b28176f82505691b5e5215e2c73edfe7ed2f36021254a02a749d5f39f23bf68a8957900fb335e651be5b68ec11f2
commit 1810f674c318a0ca38c4c74dee24030c4e763af7
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 13 01:47:04 2018 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index 19c2de9..97acdd1 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -9,7 +9,7 @@
Name: ghc-%{pkg_name}
Version: 5.6.0.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Martin Erwig's Functional Graph Library
License: BSD
@@ -84,6 +84,9 @@ This package provides the Haskell %{pkg_name} library development
files.
%changelog
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
5.6.0.0-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
* Sun Jun 3 2018 Jens Petersen <petersen(a)redhat.com> - 5.6.0.0-2
- disable tests since needs old QuickCheck
commit f16bc0f836d73923bfdba630a2b1b3f9cc06da33
Author: Jens Petersen <petersen(a)redhat.com>
Date: Sun Jul 1 22:08:02 2018 +0900
re-import (#1585448)
diff --git a/.gitignore b/.gitignore
index e8c5bdf..eb5585c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
fgl-5.4.2.3.tar.gz
/fgl-5.4.2.4.tar.gz
+/fgl-5.6.0.0.tar.gz
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index 4a044ab..19c2de9 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -1,36 +1,58 @@
-# cabal2spec-0.25
+# generated by cabal-rpm-0.12.3
#
https://fedoraproject.org/wiki/Packaging:Haskell
-#
https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name fgl
+%global pkgver %{pkg_name}-%{version}
-%global common_summary Haskell Functional Graph Library
-
-%global common_description Martin Erwig's Functional Graph Library.
+# needs older QuickCheck
+%bcond_with tests
Name: ghc-%{pkg_name}
-# part of haskell-platform
-Version: 5.4.2.4
-Release: 3%{?dist}
-Summary: %{common_summary}
+Version: 5.6.0.0
+Release: 2%{?dist}
+Summary: Martin Erwig's Functional Graph Library
-Group: System Environment/Libraries
License: BSD
-# BEGIN cabal2spec
-URL:
http://hackage.haskell.org/package/%{pkg_name}
-Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_...
-ExclusiveArch: %{ghc_arches}
+Url:
https://hackage.haskell.org/package/%{pkg_name}
+Source0:
https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
+
BuildRequires: ghc-Cabal-devel
-BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
-# END cabal2spec
-BuildRequires: ghc-mtl-prof
+BuildRequires: ghc-rpm-macros
+# Begin cabal-rpm deps:
+BuildRequires: ghc-array-devel
+BuildRequires: ghc-containers-devel
+BuildRequires: ghc-deepseq-devel
+BuildRequires: ghc-transformers-devel
+%if %{with tests}
+BuildRequires: ghc-QuickCheck-devel
+BuildRequires: ghc-hspec-devel
+%endif
+# End cabal-rpm deps
%description
-%{common_description}
+An inductive representation of manipulating graph data structures.
+
+Original website can be found at
+<http://web.engr.oregonstate.edu/~erwig/fgl/haskell>.
+
+
+%package devel
+Summary: Haskell %{pkg_name} library development files
+Provides: %{name}-static = %{version}-%{release}
+Provides: %{name}-doc = %{version}-%{release}
+%if %{defined ghc_version}
+Requires: ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
+%endif
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+This package provides the Haskell %{pkg_name} library development files.
%prep
-%setup -q -n %{pkg_name}-%{version}
+%setup -q -n %{pkgver}
%build
@@ -41,82 +63,29 @@ BuildRequires: ghc-mtl-prof
%ghc_lib_install
-# devel subpackage
-%ghc_devel_package
-
-%ghc_devel_description
-
-
-%ghc_devel_post_postun
-
-
-%ghc_files LICENSE
+%check
+%cabal_test
-%changelog
-* Sun Mar 18 2012 Jens Petersen <petersen(a)redhat.com> - 5.4.2.4-3
-- update to cabal2spec-0.25
-
-* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
5.4.2.4-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Mon Dec 19 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.4-1
-- update to 5.4.2.4 for haskell-platform-2011.4
-
-* Thu Oct 20 2011 Marcela Malov <mmaslano(a)redhat.com> - 5.4.2.3-8.2
-- rebuild with new gmp without compat lib
-
-* Tue Oct 11 2011 Peter Schiffer <pschiffe(a)redhat.com> - 5.4.2.3-8.1
-- rebuild with new gmp
-
-* Tue Jun 21 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-8
-- ghc_arches replaces ghc_excluded_archs
+%post devel
+%ghc_pkg_recache
-* Mon Jun 20 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-7
-- BR ghc-Cabal-devel and use ghc_excluded_archs
-* Fri May 27 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-6
-- update to cabal2spec-0.23
+%postun devel
+%ghc_pkg_recache
-* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto(a)redhat.com> - 5.4.2.3-5
-- Enable build on sparcv9
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
5.4.2.3-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+%files -f %{name}.files
+%license LICENSE
-* Tue Jan 18 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-3
-- update to cabal2spec-0.22.4
-* Thu Nov 25 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-2
-- add hscolour
-- drop -o obsoletes
+%files devel -f %{name}-devel.files
+%doc ChangeLog
-* Fri Jul 16 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-1
-- update to 5.4.2.3 for haskell-platform-2010.2.0.0
-- obsolete doc subpackage (ghc-rpm-macros-0.8.0)
-* Sat Jun 26 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-6
-- strip shared library (cabal2spec-0.21.4)
-
-* Tue Apr 27 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-5
-- part of haskell-platform-2010.1.0.0
-- rebuild against ghc-6.12.2
-- condition ghc_lib_package
-
-* Tue Jan 12 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-4
-- rebuild against ghc-mtl package
-
-* Mon Jan 11 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-3
-- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:
-- drop doc and prof bcond
-- use common_summary and common_description
-- use ghc_lib_package and ghc_pkg_deps
-
-* Sat Dec 26 2009 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-2
-- update for ghc-6.12.1: add shared library support
-- use new ghc*_requires macros: needs ghc-rpm-macros 0.4.0
-- add common_summary and common_description
-- buildrequires ghc-mtl
+%changelog
+* Sun Jun 3 2018 Jens Petersen <petersen(a)redhat.com> - 5.6.0.0-2
+- disable tests since needs old QuickCheck
-* Wed Aug 12 2009 Bryan O'Sullivan <bos(a)serpentine.com> - 5.4.2.2-1
-- initial packaging for Fedora created by cabal2spec
+* Wed May 23 2018 Fedora Haskell SIG <haskell(a)lists.fedoraproject.org> - 5.6.0.0-1
+- spec file generated by cabal-rpm-0.12.3
diff --git a/sources b/sources
index eb830f6..caae15e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6b5430f4a5ad374bc4351acaf3d81e4f fgl-5.4.2.4.tar.gz
+SHA512 (fgl-5.6.0.0.tar.gz) =
0da15994f95d86dd27a6678eb762afb72d87b28176f82505691b5e5215e2c73edfe7ed2f36021254a02a749d5f39f23bf68a8957900fb335e651be5b68ec11f2
commit 272b87a53dd3a961510a8d7841f2001ff5235de3
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Tue Jun 5 19:52:58 2018 +0000
Revert "obsoleted by haskell-platform subpackage"
This reverts commit 2dc0960ec776d55ef71c73b9c107382a2ff6a32b.
https://pagure.io/releng/issue/7549
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e8c5bdf
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+fgl-5.4.2.3.tar.gz
+/fgl-5.4.2.4.tar.gz
diff --git a/dead.package b/dead.package
deleted file mode 100644
index 6dee5e4..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-obsoleted by haskell-platform subpackage
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
new file mode 100644
index 0000000..4a044ab
--- /dev/null
+++ b/ghc-fgl.spec
@@ -0,0 +1,122 @@
+# cabal2spec-0.25
+#
https://fedoraproject.org/wiki/Packaging:Haskell
+#
https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name fgl
+
+%global common_summary Haskell Functional Graph Library
+
+%global common_description Martin Erwig's Functional Graph Library.
+
+Name: ghc-%{pkg_name}
+# part of haskell-platform
+Version: 5.4.2.4
+Release: 3%{?dist}
+Summary: %{common_summary}
+
+Group: System Environment/Libraries
+License: BSD
+# BEGIN cabal2spec
+URL:
http://hackage.haskell.org/package/%{pkg_name}
+Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_...
+ExclusiveArch: %{ghc_arches}
+BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
+BuildRequires: ghc-mtl-prof
+
+%description
+%{common_description}
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+# devel subpackage
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files LICENSE
+
+
+%changelog
+* Sun Mar 18 2012 Jens Petersen <petersen(a)redhat.com> - 5.4.2.4-3
+- update to cabal2spec-0.25
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
5.4.2.4-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Mon Dec 19 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.4-1
+- update to 5.4.2.4 for haskell-platform-2011.4
+
+* Thu Oct 20 2011 Marcela Malov <mmaslano(a)redhat.com> - 5.4.2.3-8.2
+- rebuild with new gmp without compat lib
+
+* Tue Oct 11 2011 Peter Schiffer <pschiffe(a)redhat.com> - 5.4.2.3-8.1
+- rebuild with new gmp
+
+* Tue Jun 21 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-8
+- ghc_arches replaces ghc_excluded_archs
+
+* Mon Jun 20 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-7
+- BR ghc-Cabal-devel and use ghc_excluded_archs
+
+* Fri May 27 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-6
+- update to cabal2spec-0.23
+
+* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto(a)redhat.com> - 5.4.2.3-5
+- Enable build on sparcv9
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
5.4.2.3-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Tue Jan 18 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-3
+- update to cabal2spec-0.22.4
+
+* Thu Nov 25 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-2
+- add hscolour
+- drop -o obsoletes
+
+* Fri Jul 16 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-1
+- update to 5.4.2.3 for haskell-platform-2010.2.0.0
+- obsolete doc subpackage (ghc-rpm-macros-0.8.0)
+
+* Sat Jun 26 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-6
+- strip shared library (cabal2spec-0.21.4)
+
+* Tue Apr 27 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-5
+- part of haskell-platform-2010.1.0.0
+- rebuild against ghc-6.12.2
+- condition ghc_lib_package
+
+* Tue Jan 12 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-4
+- rebuild against ghc-mtl package
+
+* Mon Jan 11 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-3
+- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:
+- drop doc and prof bcond
+- use common_summary and common_description
+- use ghc_lib_package and ghc_pkg_deps
+
+* Sat Dec 26 2009 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-2
+- update for ghc-6.12.1: add shared library support
+- use new ghc*_requires macros: needs ghc-rpm-macros 0.4.0
+- add common_summary and common_description
+- buildrequires ghc-mtl
+
+* Wed Aug 12 2009 Bryan O'Sullivan <bos(a)serpentine.com> - 5.4.2.2-1
+- initial packaging for Fedora created by cabal2spec
diff --git a/sources b/sources
new file mode 100644
index 0000000..eb830f6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6b5430f4a5ad374bc4351acaf3d81e4f fgl-5.4.2.4.tar.gz
commit 2dc0960ec776d55ef71c73b9c107382a2ff6a32b
Author: Jens Petersen <petersen(a)redhat.com>
Date: Mon Jul 16 09:35:03 2012 +0900
obsoleted by haskell-platform subpackage
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index e8c5bdf..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-fgl-5.4.2.3.tar.gz
-/fgl-5.4.2.4.tar.gz
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..6dee5e4
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+obsoleted by haskell-platform subpackage
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
deleted file mode 100644
index 4a044ab..0000000
--- a/ghc-fgl.spec
+++ /dev/null
@@ -1,122 +0,0 @@
-# cabal2spec-0.25
-#
https://fedoraproject.org/wiki/Packaging:Haskell
-#
https://fedoraproject.org/wiki/PackagingDrafts/Haskell
-
-%global pkg_name fgl
-
-%global common_summary Haskell Functional Graph Library
-
-%global common_description Martin Erwig's Functional Graph Library.
-
-Name: ghc-%{pkg_name}
-# part of haskell-platform
-Version: 5.4.2.4
-Release: 3%{?dist}
-Summary: %{common_summary}
-
-Group: System Environment/Libraries
-License: BSD
-# BEGIN cabal2spec
-URL:
http://hackage.haskell.org/package/%{pkg_name}
-Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_...
-ExclusiveArch: %{ghc_arches}
-BuildRequires: ghc-Cabal-devel
-BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
-# END cabal2spec
-BuildRequires: ghc-mtl-prof
-
-%description
-%{common_description}
-
-
-%prep
-%setup -q -n %{pkg_name}-%{version}
-
-
-%build
-%ghc_lib_build
-
-
-%install
-%ghc_lib_install
-
-
-# devel subpackage
-%ghc_devel_package
-
-%ghc_devel_description
-
-
-%ghc_devel_post_postun
-
-
-%ghc_files LICENSE
-
-
-%changelog
-* Sun Mar 18 2012 Jens Petersen <petersen(a)redhat.com> - 5.4.2.4-3
-- update to cabal2spec-0.25
-
-* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
5.4.2.4-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Mon Dec 19 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.4-1
-- update to 5.4.2.4 for haskell-platform-2011.4
-
-* Thu Oct 20 2011 Marcela Malov <mmaslano(a)redhat.com> - 5.4.2.3-8.2
-- rebuild with new gmp without compat lib
-
-* Tue Oct 11 2011 Peter Schiffer <pschiffe(a)redhat.com> - 5.4.2.3-8.1
-- rebuild with new gmp
-
-* Tue Jun 21 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-8
-- ghc_arches replaces ghc_excluded_archs
-
-* Mon Jun 20 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-7
-- BR ghc-Cabal-devel and use ghc_excluded_archs
-
-* Fri May 27 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-6
-- update to cabal2spec-0.23
-
-* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto(a)redhat.com> - 5.4.2.3-5
-- Enable build on sparcv9
-
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
5.4.2.3-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
-* Tue Jan 18 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-3
-- update to cabal2spec-0.22.4
-
-* Thu Nov 25 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-2
-- add hscolour
-- drop -o obsoletes
-
-* Fri Jul 16 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-1
-- update to 5.4.2.3 for haskell-platform-2010.2.0.0
-- obsolete doc subpackage (ghc-rpm-macros-0.8.0)
-
-* Sat Jun 26 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-6
-- strip shared library (cabal2spec-0.21.4)
-
-* Tue Apr 27 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-5
-- part of haskell-platform-2010.1.0.0
-- rebuild against ghc-6.12.2
-- condition ghc_lib_package
-
-* Tue Jan 12 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-4
-- rebuild against ghc-mtl package
-
-* Mon Jan 11 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-3
-- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:
-- drop doc and prof bcond
-- use common_summary and common_description
-- use ghc_lib_package and ghc_pkg_deps
-
-* Sat Dec 26 2009 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-2
-- update for ghc-6.12.1: add shared library support
-- use new ghc*_requires macros: needs ghc-rpm-macros 0.4.0
-- add common_summary and common_description
-- buildrequires ghc-mtl
-
-* Wed Aug 12 2009 Bryan O'Sullivan <bos(a)serpentine.com> - 5.4.2.2-1
-- initial packaging for Fedora created by cabal2spec
diff --git a/sources b/sources
deleted file mode 100644
index eb830f6..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-6b5430f4a5ad374bc4351acaf3d81e4f fgl-5.4.2.4.tar.gz
commit cf74aa6d3893d3ceffbd6c51e7a299c4a6c41283
Author: Jens Petersen <petersen(a)redhat.com>
Date: Thu Mar 22 00:06:59 2012 +0900
update to cabal2spec-0.25
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index b53c440..4a044ab 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -1,3 +1,7 @@
+# cabal2spec-0.25
+#
https://fedoraproject.org/wiki/Packaging:Haskell
+#
https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
%global pkg_name fgl
%global common_summary Haskell Functional Graph Library
@@ -5,9 +9,9 @@
%global common_description Martin Erwig's Functional Graph Library.
Name: ghc-%{pkg_name}
-# part of haskell-platform-2011.4.0.0
+# part of haskell-platform
Version: 5.4.2.4
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -37,10 +41,22 @@ BuildRequires: ghc-mtl-prof
%ghc_lib_install
-%ghc_lib_package
+# devel subpackage
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files LICENSE
%changelog
+* Sun Mar 18 2012 Jens Petersen <petersen(a)redhat.com> - 5.4.2.4-3
+- update to cabal2spec-0.25
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
5.4.2.4-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
commit 3cf9223126a12b45aaf54f49ef1b3d666c1882ca
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Thu Jan 12 21:22:51 2012 -0600
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index 0fa7f1c..b53c440 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -7,7 +7,7 @@
Name: ghc-%{pkg_name}
# part of haskell-platform-2011.4.0.0
Version: 5.4.2.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -41,6 +41,9 @@ BuildRequires: ghc-mtl-prof
%changelog
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
5.4.2.4-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
* Mon Dec 19 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.4-1
- update to 5.4.2.4 for haskell-platform-2011.4
commit cf4507806dfe15351ea5538619c30172ab621be3
Author: Jens Petersen <petersen(a)redhat.com>
Date: Mon Dec 19 10:53:06 2011 +0900
update to 5.4.2.4 for haskell-platform-2011.4
diff --git a/.gitignore b/.gitignore
index 838f440..e8c5bdf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
fgl-5.4.2.3.tar.gz
+/fgl-5.4.2.4.tar.gz
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index cbc2abc..0fa7f1c 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -5,19 +5,20 @@
%global common_description Martin Erwig's Functional Graph Library.
Name: ghc-%{pkg_name}
-# part of haskell-platform-2011.2.0.1
-Version: 5.4.2.3
-Release: 8%{?dist}.2
+# part of haskell-platform-2011.4.0.0
+Version: 5.4.2.4
+Release: 1%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD
+# BEGIN cabal2spec
URL:
http://hackage.haskell.org/package/%{pkg_name}
Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_...
ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel
-BuildRequires: ghc-rpm-macros
-BuildRequires: hscolour
+BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
BuildRequires: ghc-mtl-prof
%description
@@ -40,6 +41,9 @@ BuildRequires: ghc-mtl-prof
%changelog
+* Mon Dec 19 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.4-1
+- update to 5.4.2.4 for haskell-platform-2011.4
+
* Thu Oct 20 2011 Marcela Malov <mmaslano(a)redhat.com> - 5.4.2.3-8.2
- rebuild with new gmp without compat lib
diff --git a/sources b/sources
index dd7b7dd..eb830f6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-29ccab8bebed16a8d7346c3ed52c5d9c fgl-5.4.2.3.tar.gz
+6b5430f4a5ad374bc4351acaf3d81e4f fgl-5.4.2.4.tar.gz
commit fd6e40afcb033ffb145a4f03e9433049fd6a6fd0
Author: Marcela Malov <mmaslano(a)redhat.com>
Date: Thu Oct 20 23:01:55 2011 +0200
rebuild with new gmp without compat lib
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index a5cbb04..cbc2abc 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -7,7 +7,7 @@
Name: ghc-%{pkg_name}
# part of haskell-platform-2011.2.0.1
Version: 5.4.2.3
-Release: 8%{?dist}.1
+Release: 8%{?dist}.2
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -40,6 +40,9 @@ BuildRequires: ghc-mtl-prof
%changelog
+* Thu Oct 20 2011 Marcela Malov <mmaslano(a)redhat.com> - 5.4.2.3-8.2
+- rebuild with new gmp without compat lib
+
* Tue Oct 11 2011 Peter Schiffer <pschiffe(a)redhat.com> - 5.4.2.3-8.1
- rebuild with new gmp
commit b88add5fc95af3ad0a65a077bb56f4fc8240e0ab
Author: Marcela Malov <mmaslano(a)redhat.com>
Date: Tue Oct 11 13:08:26 2011 +0200
rebuild with new gmp
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index 2c3ec57..a5cbb04 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -7,7 +7,7 @@
Name: ghc-%{pkg_name}
# part of haskell-platform-2011.2.0.1
Version: 5.4.2.3
-Release: 8%{?dist}
+Release: 8%{?dist}.1
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -40,6 +40,9 @@ BuildRequires: ghc-mtl-prof
%changelog
+* Tue Oct 11 2011 Peter Schiffer <pschiffe(a)redhat.com> - 5.4.2.3-8.1
+- rebuild with new gmp
+
* Tue Jun 21 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-8
- ghc_arches replaces ghc_excluded_archs
commit 21c3ca261116082248f239c11089f87171944f1d
Author: Jens Petersen <petersen(a)redhat.com>
Date: Tue Jun 21 17:24:53 2011 +0900
ghc_arches replaces ghc_excluded_archs (cabal2spec-0.23.2)
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index 384079c..2c3ec57 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -7,15 +7,14 @@
Name: ghc-%{pkg_name}
# part of haskell-platform-2011.2.0.1
Version: 5.4.2.3
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD
URL:
http://hackage.haskell.org/package/%{pkg_name}
Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_...
-# ghc_excluded_archs is defined in redhat-rpm-config
-ExcludeArch: %{ghc_excluded_archs}
+ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: hscolour
@@ -41,6 +40,9 @@ BuildRequires: ghc-mtl-prof
%changelog
+* Tue Jun 21 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-8
+- ghc_arches replaces ghc_excluded_archs
+
* Mon Jun 20 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-7
- BR ghc-Cabal-devel and use ghc_excluded_archs
commit 5dd790f6992b24ec5055b17c13930390da0c8eda
Author: Jens Petersen <petersen(a)redhat.com>
Date: Mon Jun 20 11:08:42 2011 +0900
BR ghc-Cabal-devel and use ghc_excluded_archs
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index dd79341..384079c 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -5,18 +5,18 @@
%global common_description Martin Erwig's Functional Graph Library.
Name: ghc-%{pkg_name}
-# part of haskell-platform-2011.2.0.0
+# part of haskell-platform-2011.2.0.1
Version: 5.4.2.3
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD
URL:
http://hackage.haskell.org/package/%{pkg_name}
Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_...
-# fedora ghc archs:
-ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
-BuildRequires: ghc-prof
+# ghc_excluded_archs is defined in redhat-rpm-config
+ExcludeArch: %{ghc_excluded_archs}
+BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: hscolour
BuildRequires: ghc-mtl-prof
@@ -41,6 +41,9 @@ BuildRequires: ghc-mtl-prof
%changelog
+* Mon Jun 20 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-7
+- BR ghc-Cabal-devel and use ghc_excluded_archs
+
* Fri May 27 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-6
- update to cabal2spec-0.23
commit dc123da4d841a219b1c6464f9b6d62438f4f05a6
Author: Jens Petersen <petersen(a)redhat.com>
Date: Fri May 27 17:05:48 2011 +0900
forgot to add ppc64
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index 3676f67..dd79341 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -15,7 +15,7 @@ License: BSD
URL:
http://hackage.haskell.org/package/%{pkg_name}
Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_...
# fedora ghc archs:
-ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
+ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
BuildRequires: ghc-prof
BuildRequires: ghc-rpm-macros
BuildRequires: hscolour
commit 6f06a3aaa69bff74997d7539b7c4bc27aabf109f
Author: Jens Petersen <petersen(a)redhat.com>
Date: Fri May 27 17:00:38 2011 +0900
update to cabal2spec-0.23
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index 1032094..3676f67 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -4,15 +4,10 @@
%global common_description Martin Erwig's Functional Graph Library.
-%global ghc_pkg_deps ghc-mtl-devel
-
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
Name: ghc-%{pkg_name}
-# part of haskell-platform-2010.2.0.0
+# part of haskell-platform-2011.2.0.0
Version: 5.4.2.3
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -21,16 +16,13 @@ URL:
http://hackage.haskell.org/package/%{pkg_name}
Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_...
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
-BuildRequires: ghc, ghc-doc, ghc-prof
-BuildRequires: ghc-rpm-macros >= 0.7.3
+BuildRequires: ghc-prof
+BuildRequires: ghc-rpm-macros
BuildRequires: hscolour
-%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e
"s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
+BuildRequires: ghc-mtl-prof
%description
%{common_description}
-%if %{with shared}
-This package provides the shared library.
-%endif
%prep
@@ -49,6 +41,9 @@ This package provides the shared library.
%changelog
+* Fri May 27 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-6
+- update to cabal2spec-0.23
+
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto(a)redhat.com> - 5.4.2.3-5
- Enable build on sparcv9
commit 71e16799d2af73bce5345da4b6663990b56a324f
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: Thu Mar 10 09:15:38 2011 +0100
Enable build on sparcv9
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index a579d04..1032094 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -12,7 +12,7 @@
Name: ghc-%{pkg_name}
# part of haskell-platform-2010.2.0.0
Version: 5.4.2.3
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -20,7 +20,7 @@ License: BSD
URL:
http://hackage.haskell.org/package/%{pkg_name}
Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_...
# fedora ghc archs:
-ExclusiveArch: %{ix86} x86_64 ppc alpha
+ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
BuildRequires: ghc, ghc-doc, ghc-prof
BuildRequires: ghc-rpm-macros >= 0.7.3
BuildRequires: hscolour
@@ -49,6 +49,9 @@ This package provides the shared library.
%changelog
+* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto(a)redhat.com> - 5.4.2.3-5
+- Enable build on sparcv9
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
5.4.2.3-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
commit 852aaf03f551ad951e1eb5c830f98e44dec358d3
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Tue Feb 8 19:11:16 2011 -0600
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index 76f5391..a579d04 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -12,7 +12,7 @@
Name: ghc-%{pkg_name}
# part of haskell-platform-2010.2.0.0
Version: 5.4.2.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -49,6 +49,9 @@ This package provides the shared library.
%changelog
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
5.4.2.3-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
* Tue Jan 18 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-3
- update to cabal2spec-0.22.4
commit 3ee29510328a52710db52b2266ec6b64bd0edb3c
Author: Jens Petersen <petersen(a)redhat.com>
Date: Tue Jan 18 18:36:19 2011 +1000
update to cabal2spec-0.22.4
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index e7c4840..76f5391 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -6,30 +6,24 @@
%global ghc_pkg_deps ghc-mtl-devel
-%bcond_without shared
-%bcond_without hscolour
-
# debuginfo is not useful for ghc
%global debug_package %{nil}
Name: ghc-%{pkg_name}
# part of haskell-platform-2010.2.0.0
Version: 5.4.2.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD
URL:
http://hackage.haskell.org/package/%{pkg_name}
Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_...
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc, ghc-doc, ghc-prof
-BuildRequires: ghc-rpm-macros >= 0.8.1
-%if %{with hscolour}
+BuildRequires: ghc-rpm-macros >= 0.7.3
BuildRequires: hscolour
-%endif
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e
"s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
%description
@@ -48,18 +42,16 @@ This package provides the shared library.
%install
-rm -rf $RPM_BUILD_ROOT
%ghc_lib_install
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%ghc_lib_package
%changelog
+* Tue Jan 18 2011 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-3
+- update to cabal2spec-0.22.4
+
* Thu Nov 25 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-2
- add hscolour
- drop -o obsoletes
commit ddad44865953173f8164402d5985634c0052d37f
Author: Jens Petersen <petersen(a)redhat.com>
Date: Thu Nov 25 18:20:25 2010 +1000
add hscolour, update url, drop -o obsoletes
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index dd8d6a7..e7c4840 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -7,6 +7,7 @@
%global ghc_pkg_deps ghc-mtl-devel
%bcond_without shared
+%bcond_without hscolour
# debuginfo is not useful for ghc
%global debug_package %{nil}
@@ -14,18 +15,21 @@
Name: ghc-%{pkg_name}
# part of haskell-platform-2010.2.0.0
Version: 5.4.2.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD
-URL:
http://web.engr.oregonstate.edu/~erwig/fgl/haskell/
+URL:
http://hackage.haskell.org/package/%{pkg_name}
Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc, ghc-doc, ghc-prof
-BuildRequires: ghc-rpm-macros >= 0.8.0
+BuildRequires: ghc-rpm-macros >= 0.8.1
+%if %{with hscolour}
+BuildRequires: hscolour
+%endif
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e
"s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
%description
@@ -52,10 +56,14 @@ rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
-%ghc_lib_package -o 5.4.2.3-1
+%ghc_lib_package
%changelog
+* Thu Nov 25 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-2
+- add hscolour
+- drop -o obsoletes
+
* Fri Jul 16 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-1
- update to 5.4.2.3 for haskell-platform-2010.2.0.0
- obsolete doc subpackage (ghc-rpm-macros-0.8.0)
commit 12aafc2ace3eac9e483be6ab855fcd844ae0d8cc
Author: Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org>
Date: Wed Jul 28 15:34:26 2010 +0000
dist-git conversion
diff --git a/.cvsignore b/.cvsignore
deleted file mode 100644
index 838f440..0000000
--- a/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-fgl-5.4.2.3.tar.gz
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..838f440
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+fgl-5.4.2.3.tar.gz
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 567f1a3..0000000
--- a/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-# Makefile for source rpm: ghc-fgl
-# $Id$
-NAME := ghc-fgl
-SPECFILE = $(firstword $(wildcard *.spec))
-
-define find-makefile-common
-for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f
$$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo
"$$d/Makefile.common" ; break ; fi ; done
-endef
-
-MAKEFILE_COMMON := $(shell $(find-makefile-common))
-
-ifeq ($(MAKEFILE_COMMON),)
-# attept a checkout
-define checkout-makefile-common
-test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo
"common/Makefile.common" ; } || { echo "ERROR: I can't figure out how
to checkout the 'common' module." ; exit -1 ; } >&2
-endef
-
-MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
-endif
-
-include $(MAKEFILE_COMMON)
commit 60bb72379ace9bf8899cafa470084624ffce5d8d
Author: Jens Petersen <petersen(a)fedoraproject.org>
Date: Fri Jul 16 05:05:29 2010 +0000
- update to 5.4.2.3 for haskell-platform-2010.2.0.0
- obsolete doc subpackage (ghc-rpm-macros-0.8.0)
diff --git a/.cvsignore b/.cvsignore
index fbb22b7..838f440 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-fgl-5.4.2.2.tar.gz
+fgl-5.4.2.3.tar.gz
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index 5d946e1..dd8d6a7 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -12,9 +12,9 @@
%global debug_package %{nil}
Name: ghc-%{pkg_name}
-# part of haskell-platform-2010.1.0.0
-Version: 5.4.2.2
-Release: 6%{?dist}
+# part of haskell-platform-2010.2.0.0
+Version: 5.4.2.3
+Release: 1%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -25,7 +25,7 @@ BuildRoot:
%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc, ghc-doc, ghc-prof
-BuildRequires: ghc-rpm-macros >= 0.6.0
+BuildRequires: ghc-rpm-macros >= 0.8.0
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e
"s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
%description
@@ -35,33 +35,31 @@ This package provides the shared library.
%endif
-%{?ghc_lib_package}
-
-
%prep
%setup -q -n %{pkg_name}-%{version}
%build
-%cabal_configure --ghc -p
-%cabal build
-%cabal haddock
+%ghc_lib_build
%install
rm -rf $RPM_BUILD_ROOT
-%cabal_install
-%cabal_pkg_conf
-
-%ghc_gen_filelists
-%ghc_strip_dynlinked
+%ghc_lib_install
%clean
rm -rf $RPM_BUILD_ROOT
+%ghc_lib_package -o 5.4.2.3-1
+
+
%changelog
+* Fri Jul 16 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.3-1
+- update to 5.4.2.3 for haskell-platform-2010.2.0.0
+- obsolete doc subpackage (ghc-rpm-macros-0.8.0)
+
* Sat Jun 26 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-6
- strip shared library (cabal2spec-0.21.4)
diff --git a/sources b/sources
index d9f692a..dd7b7dd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ad49ce31af04c0fd9c6dbfa52801ff83 fgl-5.4.2.2.tar.gz
+29ccab8bebed16a8d7346c3ed52c5d9c fgl-5.4.2.3.tar.gz
commit 8eed8d219011b28e571c5a4376753362c0d3a4fc
Author: Jens Petersen <petersen(a)fedoraproject.org>
Date: Fri Jun 25 14:18:50 2010 +0000
strip shared library (cabal2spec-0.21.4)
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index 6a2b3db..5d946e1 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -14,18 +14,18 @@
Name: ghc-%{pkg_name}
# part of haskell-platform-2010.1.0.0
Version: 5.4.2.2
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD
URL:
http://web.engr.oregonstate.edu/~erwig/fgl/haskell/
Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_...
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
-BuildRequires: ghc, ghc-rpm-macros >= 0.5.1
-BuildRequires: ghc-doc
-BuildRequires: ghc-prof
+BuildRequires: ghc, ghc-doc, ghc-prof
+BuildRequires: ghc-rpm-macros >= 0.6.0
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e
"s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
%description
@@ -49,10 +49,12 @@ This package provides the shared library.
%install
+rm -rf $RPM_BUILD_ROOT
%cabal_install
%cabal_pkg_conf
%ghc_gen_filelists
+%ghc_strip_dynlinked
%clean
@@ -60,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Sat Jun 26 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-6
+- strip shared library (cabal2spec-0.21.4)
+
* Tue Apr 27 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-5
- part of haskell-platform-2010.1.0.0
- rebuild against ghc-6.12.2
commit 24109b1985648fc913bfbf5ec500afaddddb787e
Author: Jens Petersen <petersen(a)fedoraproject.org>
Date: Tue Apr 27 03:11:06 2010 +0000
- part of haskell-platform-2010.1.0.0
- rebuild against ghc-6.12.2
- condition ghc_lib_package
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index c74313d..6a2b3db 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -12,9 +12,9 @@
%global debug_package %{nil}
Name: ghc-%{pkg_name}
-# part of haskell-platform-2009.2.0.2
+# part of haskell-platform-2010.1.0.0
Version: 5.4.2.2
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -35,7 +35,7 @@ This package provides the shared library.
%endif
-%ghc_lib_package
+%{?ghc_lib_package}
%prep
@@ -60,6 +60,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Apr 27 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-5
+- part of haskell-platform-2010.1.0.0
+- rebuild against ghc-6.12.2
+- condition ghc_lib_package
+
* Tue Jan 12 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-4
- rebuild against ghc-mtl package
commit 15d977750779753c5d0da3d5629058fc41934e65
Author: Jens Petersen <petersen(a)fedoraproject.org>
Date: Mon Jan 11 14:59:34 2010 +0000
rebuild against ghc-mtl package
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index 0bf7a73..c74313d 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -14,7 +14,7 @@
Name: ghc-%{pkg_name}
# part of haskell-platform-2009.2.0.2
Version: 5.4.2.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -60,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Jan 12 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-4
+- rebuild against ghc-mtl package
+
* Mon Jan 11 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-3
- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:
- drop doc and prof bcond
commit e2acd0d80977ed11f214dfdeed8ab241a15eabb3
Author: Jens Petersen <petersen(a)fedoraproject.org>
Date: Mon Jan 11 06:33:28 2010 +0000
- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:
- drop doc and prof bcond
- use common_summary and common_description
- use ghc_lib_package and ghc_pkg_deps
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index e30a6b9..0bf7a73 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -4,17 +4,17 @@
%global common_description Martin Erwig's Functional Graph Library.
-%bcond_without doc
-%bcond_without prof
+%global ghc_pkg_deps ghc-mtl-devel
+
%bcond_without shared
-# ghc does not emit debug information
-#%%global debug_package %{nil}
+# debuginfo is not useful for ghc
+%global debug_package %{nil}
Name: ghc-%{pkg_name}
# part of haskell-platform-2009.2.0.2
Version: 5.4.2.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -23,16 +23,10 @@ URL:
http://web.engr.oregonstate.edu/~erwig/fgl/haskell/
Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_...
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
-BuildRequires: ghc, ghc-rpm-macros >= 0.4.0
-BuildRequires: ghc-mtl-devel
-%if %{with doc}
+BuildRequires: ghc, ghc-rpm-macros >= 0.5.1
BuildRequires: ghc-doc
-BuildRequires: ghc-mtl-doc
-%endif
-%if %{with prof}
BuildRequires: ghc-prof
-BuildRequires: ghc-mtl-prof
-%endif
+%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e
"s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
%description
%{common_description}
@@ -41,44 +35,7 @@ This package provides the shared library.
%endif
-%package devel
-Summary: %{common_summary} development files
-Group: Development/Libraries
-%{?ghc_requires}
-Requires: ghc-mtl-devel
-
-%description devel
-%{common_description}
-
-This package contains the development files.
-
-
-%if %{with doc}
-%package doc
-Summary: Documentation for %{common_summary}
-Group: Development/Libraries
-%{?ghc_doc_requires}
-Requires: ghc-mtl-doc
-
-%description doc
-%{common_description}
-
-This package contains development documentation files.
-%endif
-
-
-%if %{with prof}
-%package prof
-Summary: Profiling libraries for %{common_summary}
-Group: Development/Libraries
-%{?ghc_prof_requires}
-Requires: ghc-mtl-prof
-
-%description prof
-%{common_description}
-
-This package contains the profiling library.
-%endif
+%ghc_lib_package
%prep
@@ -86,73 +43,29 @@ This package contains the profiling library.
%build
-%cabal_configure --ghc %{?with_prof:-p}
+%cabal_configure --ghc -p
%cabal build
-%if %{with doc}
%cabal haddock
-%endif
%install
%cabal_install
%cabal_pkg_conf
-%ghc_gen_filelists %{name}
+%ghc_gen_filelists
%clean
rm -rf $RPM_BUILD_ROOT
-%post devel
-ghc-pkg recache
-
-
-%if %{with doc}
-%post doc
-%ghc_reindex_haddock
-%endif
-
-
-%postun devel
-ghc-pkg recache
-
-
-%if %{with doc}
-%postun doc
-if [ "$1" -eq 0 ] ; then
- %ghc_reindex_haddock
-fi
-%endif
-
-
-%if %{with shared}
-%files -f %{name}.files
-%defattr(-,root,root,-)
-%{_docdir}/%{name}-%{version}
-%endif
-
-
-%files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
-%if %{without shared}
-%{_docdir}/%{name}-%{version}
-%endif
-
-
-%if %{with doc}
-%files doc -f %{name}-doc.files
-%defattr(-,root,root,-)
-%endif
-
-
-%if %{with prof}
-%files prof -f %{name}-prof.files
-%defattr(-,root,root,-)
-%endif
-
-
%changelog
+* Mon Jan 11 2010 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-3
+- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:
+- drop doc and prof bcond
+- use common_summary and common_description
+- use ghc_lib_package and ghc_pkg_deps
+
* Sat Dec 26 2009 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-2
- update for ghc-6.12.1: add shared library support
- use new ghc*_requires macros: needs ghc-rpm-macros 0.4.0
commit e563b19bb63b58ed7f00f216d5a7e401cf06d93d
Author: Jens Petersen <petersen(a)fedoraproject.org>
Date: Fri Dec 25 16:21:57 2009 +0000
buildrequires ghc-mtl
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index 07bf5b7..e30a6b9 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -24,11 +24,14 @@ Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{versio
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc, ghc-rpm-macros >= 0.4.0
+BuildRequires: ghc-mtl-devel
%if %{with doc}
BuildRequires: ghc-doc
+BuildRequires: ghc-mtl-doc
%endif
%if %{with prof}
BuildRequires: ghc-prof
+BuildRequires: ghc-mtl-prof
%endif
%description
@@ -42,6 +45,7 @@ This package provides the shared library.
Summary: %{common_summary} development files
Group: Development/Libraries
%{?ghc_requires}
+Requires: ghc-mtl-devel
%description devel
%{common_description}
@@ -54,6 +58,7 @@ This package contains the development files.
Summary: Documentation for %{common_summary}
Group: Development/Libraries
%{?ghc_doc_requires}
+Requires: ghc-mtl-doc
%description doc
%{common_description}
@@ -67,6 +72,7 @@ This package contains development documentation files.
Summary: Profiling libraries for %{common_summary}
Group: Development/Libraries
%{?ghc_prof_requires}
+Requires: ghc-mtl-prof
%description prof
%{common_description}
@@ -151,6 +157,7 @@ fi
- update for ghc-6.12.1: add shared library support
- use new ghc*_requires macros: needs ghc-rpm-macros 0.4.0
- add common_summary and common_description
+- buildrequires ghc-mtl
* Wed Aug 12 2009 Bryan O'Sullivan <bos(a)serpentine.com> - 5.4.2.2-1
- initial packaging for Fedora created by cabal2spec
commit 07b2fd54625f7f00b5a2b2aae5f06b018eeec3c6
Author: Jens Petersen <petersen(a)fedoraproject.org>
Date: Fri Dec 25 15:56:06 2009 +0000
- update for ghc-6.12.1: add shared library support
- use new ghc*_requires macros: needs ghc-rpm-macros 0.4.0
- add common_summary and common_description
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index 0756d82..07bf5b7 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -1,26 +1,29 @@
%global pkg_name fgl
+%global common_summary Haskell Functional Graph Library
+
+%global common_description Martin Erwig's Functional Graph Library.
+
%bcond_without doc
%bcond_without prof
+%bcond_without shared
# ghc does not emit debug information
-%global debug_package %{nil}
+#%%global debug_package %{nil}
Name: ghc-%{pkg_name}
# part of haskell-platform-2009.2.0.2
Version: 5.4.2.2
-Release: 1%{?dist}
-Summary: Haskell %{pkg_name} library
+Release: 2%{?dist}
+Summary: %{common_summary}
-Group: Development/Libraries
+Group: System Environment/Libraries
License: BSD
URL:
http://web.engr.oregonstate.edu/~erwig/fgl/haskell/
Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_...
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
-BuildRequires: ghc
-BuildRequires: ghc-rpm-macros
+BuildRequires: ghc, ghc-rpm-macros >= 0.4.0
%if %{with doc}
BuildRequires: ghc-doc
%endif
@@ -29,45 +32,46 @@ BuildRequires: ghc-prof
%endif
%description
-This package provides the Haskell %{pkg_name} library for ghc. This
-is a library of types and functions for addressing graph problems.
+%{common_description}
+%if %{with shared}
+This package provides the shared library.
+%endif
%package devel
-Summary: Haskell %{pkg_name} library
+Summary: %{common_summary} development files
Group: Development/Libraries
-Requires: ghc = %{ghc_version}
-Requires(post): ghc = %{ghc_version}
-Requires(preun): ghc = %{ghc_version}
+%{?ghc_requires}
%description devel
-This package contains the development files for %{name}
-built for ghc-%{ghc_version}.
+%{common_description}
+
+This package contains the development files.
%if %{with doc}
%package doc
-Summary: Documentation for %{name}
+Summary: Documentation for %{common_summary}
Group: Development/Libraries
-Requires: ghc-doc = %{ghc_version}
-Requires(post): ghc-doc = %{ghc_version}
-Requires(postun): ghc-doc = %{ghc_version}
+%{?ghc_doc_requires}
%description doc
-This package contains development documentation files for the %{name} library.
+%{common_description}
+
+This package contains development documentation files.
%endif
%if %{with prof}
%package prof
-Summary: Profiling libraries for %{name}
+Summary: Profiling libraries for %{common_summary}
Group: Development/Libraries
-Requires: %{name}-devel = %{version}-%{release}
-Requires: ghc-prof = %{ghc_version}
+%{?ghc_prof_requires}
%description prof
-This package contains profiling libraries for %{name}
-built for ghc-%{ghc_version}.
+%{common_description}
+
+This package contains the profiling library.
%endif
@@ -81,13 +85,12 @@ built for ghc-%{ghc_version}.
%if %{with doc}
%cabal haddock
%endif
-%ghc_gen_scripts
%install
-rm -rf $RPM_BUILD_ROOT
%cabal_install
-%ghc_install_scripts
+%cabal_pkg_conf
+
%ghc_gen_filelists %{name}
@@ -96,7 +99,7 @@ rm -rf $RPM_BUILD_ROOT
%post devel
-%ghc_register_pkg
+ghc-pkg recache
%if %{with doc}
@@ -105,10 +108,8 @@ rm -rf $RPM_BUILD_ROOT
%endif
-%preun devel
-if [ "$1" -eq 0 ] ; then
- %ghc_unregister_pkg
-fi
+%postun devel
+ghc-pkg recache
%if %{with doc}
@@ -119,9 +120,18 @@ fi
%endif
+%if %{with shared}
+%files -f %{name}.files
+%defattr(-,root,root,-)
+%{_docdir}/%{name}-%{version}
+%endif
+
+
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
+%if %{without shared}
%{_docdir}/%{name}-%{version}
+%endif
%if %{with doc}
@@ -137,5 +147,10 @@ fi
%changelog
+* Sat Dec 26 2009 Jens Petersen <petersen(a)redhat.com> - 5.4.2.2-2
+- update for ghc-6.12.1: add shared library support
+- use new ghc*_requires macros: needs ghc-rpm-macros 0.4.0
+- add common_summary and common_description
+
* Wed Aug 12 2009 Bryan O'Sullivan <bos(a)serpentine.com> - 5.4.2.2-1
- initial packaging for Fedora created by cabal2spec
commit 50ca3dd51cb965a0699c75aef74848cf21fe7905
Author: Bill Nottingham <notting(a)fedoraproject.org>
Date: Wed Nov 25 23:19:25 2009 +0000
Fix typo that causes a failure to update the common directory. (releng
#2781)
diff --git a/Makefile b/Makefile
index a879091..567f1a3 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ NAME := ghc-fgl
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
-for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f
$$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo
"$$d/Makefile.common" ; break ; fi ; done
+for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f
$$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo
"$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
commit 5ad776fefed193bb427d25abf6361bb2a10828f6
Author: Jens Petersen <petersen(a)fedoraproject.org>
Date: Thu Sep 24 04:10:51 2009 +0000
add haskell-platform comment
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
index 806a4c3..0756d82 100644
--- a/ghc-fgl.spec
+++ b/ghc-fgl.spec
@@ -7,6 +7,7 @@
%global debug_package %{nil}
Name: ghc-%{pkg_name}
+# part of haskell-platform-2009.2.0.2
Version: 5.4.2.2
Release: 1%{?dist}
Summary: Haskell %{pkg_name} library
commit 9c66dca9aef62ce5d7a21c2b1075cc0f365d8e5d
Author: Bryan O'Sullivan <bos(a)fedoraproject.org>
Date: Mon Sep 14 03:15:21 2009 +0000
ghc-fgl 5.4.2.2
diff --git a/.cvsignore b/.cvsignore
index e69de29..fbb22b7 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+fgl-5.4.2.2.tar.gz
diff --git a/ghc-fgl.spec b/ghc-fgl.spec
new file mode 100644
index 0000000..806a4c3
--- /dev/null
+++ b/ghc-fgl.spec
@@ -0,0 +1,140 @@
+%global pkg_name fgl
+
+%bcond_without doc
+%bcond_without prof
+
+# ghc does not emit debug information
+%global debug_package %{nil}
+
+Name: ghc-%{pkg_name}
+Version: 5.4.2.2
+Release: 1%{?dist}
+Summary: Haskell %{pkg_name} library
+
+Group: Development/Libraries
+License: BSD
+URL:
http://web.engr.oregonstate.edu/~erwig/fgl/haskell/
+Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_...
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+# fedora ghc archs:
+ExclusiveArch: %{ix86} x86_64 ppc alpha
+BuildRequires: ghc
+BuildRequires: ghc-rpm-macros
+%if %{with doc}
+BuildRequires: ghc-doc
+%endif
+%if %{with prof}
+BuildRequires: ghc-prof
+%endif
+
+%description
+This package provides the Haskell %{pkg_name} library for ghc. This
+is a library of types and functions for addressing graph problems.
+
+
+%package devel
+Summary: Haskell %{pkg_name} library
+Group: Development/Libraries
+Requires: ghc = %{ghc_version}
+Requires(post): ghc = %{ghc_version}
+Requires(preun): ghc = %{ghc_version}
+
+%description devel
+This package contains the development files for %{name}
+built for ghc-%{ghc_version}.
+
+
+%if %{with doc}
+%package doc
+Summary: Documentation for %{name}
+Group: Development/Libraries
+Requires: ghc-doc = %{ghc_version}
+Requires(post): ghc-doc = %{ghc_version}
+Requires(postun): ghc-doc = %{ghc_version}
+
+%description doc
+This package contains development documentation files for the %{name} library.
+%endif
+
+
+%if %{with prof}
+%package prof
+Summary: Profiling libraries for %{name}
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+Requires: ghc-prof = %{ghc_version}
+
+%description prof
+This package contains profiling libraries for %{name}
+built for ghc-%{ghc_version}.
+%endif
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%cabal_configure --ghc %{?with_prof:-p}
+%cabal build
+%if %{with doc}
+%cabal haddock
+%endif
+%ghc_gen_scripts
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%cabal_install
+%ghc_install_scripts
+%ghc_gen_filelists %{name}
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post devel
+%ghc_register_pkg
+
+
+%if %{with doc}
+%post doc
+%ghc_reindex_haddock
+%endif
+
+
+%preun devel
+if [ "$1" -eq 0 ] ; then
+ %ghc_unregister_pkg
+fi
+
+
+%if %{with doc}
+%postun doc
+if [ "$1" -eq 0 ] ; then
+ %ghc_reindex_haddock
+fi
+%endif
+
+
+%files devel -f %{name}-devel.files
+%defattr(-,root,root,-)
+%{_docdir}/%{name}-%{version}
+
+
+%if %{with doc}
+%files doc -f %{name}-doc.files
+%defattr(-,root,root,-)
+%endif
+
+
+%if %{with prof}
+%files prof -f %{name}-prof.files
+%defattr(-,root,root,-)
+%endif
+
+
+%changelog
+* Wed Aug 12 2009 Bryan O'Sullivan <bos(a)serpentine.com> - 5.4.2.2-1
+- initial packaging for Fedora created by cabal2spec
diff --git a/sources b/sources
index e69de29..d9f692a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ad49ce31af04c0fd9c6dbfa52801ff83 fgl-5.4.2.2.tar.gz