rpms/ghc/devel ghc-rpm-macros.ghc,1.10,1.11 ghc.spec,1.70,1.71
Jens Petersen
petersen at fedoraproject.org
Tue Feb 10 08:16:11 UTC 2009
- Previous message (by thread): rpms/tftp/F-10 .cvsignore, 1.16, 1.17 sources, 1.16, 1.17 tftp-0.40-remap.patch, 1.1, 1.2 tftp-hpa-0.39-tzfix.patch, 1.1, 1.2 tftp.spec, 1.46, 1.47
- Next message (by thread): rpms/xchat/devel xchat.spec,1.99,1.100
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: petersen
Update of /cvs/extras/rpms/ghc/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27518
Modified Files:
ghc-rpm-macros.ghc ghc.spec
Log Message:
- require and buildrequire libedit-devel > 2.11-2
- move top doc dirs to main package for better sharing
- move gen_contents_index and ghost index files to main package
- protect ghc_register_pkg and ghc_unregister_pkg
Index: ghc-rpm-macros.ghc
===================================================================
RCS file: /cvs/extras/rpms/ghc/devel/ghc-rpm-macros.ghc,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ghc-rpm-macros.ghc 1 Dec 2008 05:46:36 -0000 1.10
+++ ghc-rpm-macros.ghc 10 Feb 2009 08:15:40 -0000 1.11
@@ -24,8 +24,8 @@
%ghc_install_scripts install -m 755 register.sh unregister.sh ${RPM_BUILD_ROOT}%{pkg_libdir}
-%ghc_register_pkg %{pkg_libdir}/register.sh >/dev/null
+%ghc_register_pkg %{pkg_libdir}/register.sh >/dev/null || :
-%ghc_unregister_pkg %{pkg_libdir}/unregister.sh >/dev/null
+%ghc_unregister_pkg %{pkg_libdir}/unregister.sh >/dev/null || :
%ghc_reindex_haddock ( cd %{_docdir}/ghc/libraries && [ -x "./gen_contents_index" ] && ./gen_contents_index ) || :
Index: ghc.spec
===================================================================
RCS file: /cvs/extras/rpms/ghc/devel/ghc.spec,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- ghc.spec 23 Jan 2009 07:24:23 -0000 1.70
+++ ghc.spec 10 Feb 2009 08:15:40 -0000 1.71
@@ -16,7 +16,7 @@
Name: ghc
Version: 6.10.1
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Glasgow Haskell Compilation system
# See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239713
ExcludeArch: alpha ppc64
@@ -26,14 +26,15 @@
Source1: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src-extralibs.tar.bz2
Source2: ghc-rpm-macros.ghc
URL: http://haskell.org/ghc/
-Requires: gcc, gmp-devel, libedit-devel
+# libedit-devel > 2.11-2 correctly requires ncurses-devel
+Requires: gcc, gmp-devel, libedit-devel > 2.11-2
Requires(post): policycoreutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Obsoletes: ghc682, ghc681, ghc661, ghc66, haddock <= 2.0.0.0
# introduced for f11 and to be removed for f13:
Provides: haddock = 2.3.0
BuildRequires: ghc, happy, sed
-BuildRequires: gmp-devel, libedit-devel
+BuildRequires: gmp-devel, libedit-devel > 2.11-2
%if %{build_doc}
BuildRequires: libxslt, docbook-style-xsl
%endif
@@ -192,6 +193,17 @@
%{_bindir}/*
%{_sysconfdir}/rpm/macros.ghc
%config(noreplace) %{_libdir}/ghc-%{version}/package.conf
+%dir %{_docdir}/%{name}
+%{_docdir}/%{name}/LICENSE
+%dir %{_docdir}/%{name}/libraries
+%{_docdir}/%{name}/libraries/gen_contents_index
+%ghost %{_docdir}/%{name}/libraries/doc-index.html
+%ghost %{_docdir}/%{name}/libraries/haddock.css
+%ghost %{_docdir}/%{name}/libraries/haddock-util.js
+%ghost %{_docdir}/%{name}/libraries/haskell_icon.gif
+%ghost %{_docdir}/%{name}/libraries/index.html
+%ghost %{_docdir}/%{name}/libraries/minus.gif
+%ghost %{_docdir}/%{name}/libraries/plus.gif
%if %{build_prof}
%files prof -f rpm-prof-filelist
@@ -201,22 +213,17 @@
%if %{build_doc}
%files doc -f rpm-doc-dir.files
%defattr(-,root,root,-)
-%dir %{_docdir}/%{name}
-%{_docdir}/%{name}/LICENSE
%{_docdir}/%{name}/index.html
-%{_docdir}/%{name}/libraries/gen_contents_index
%{_docdir}/%{name}/libraries/prologue.txt
-%dir %{_docdir}/%{name}/libraries
-%ghost %{_docdir}/%{name}/libraries/doc-index.html
-%ghost %{_docdir}/%{name}/libraries/haddock.css
-%ghost %{_docdir}/%{name}/libraries/haddock-util.js
-%ghost %{_docdir}/%{name}/libraries/haskell_icon.gif
-%ghost %{_docdir}/%{name}/libraries/index.html
-%ghost %{_docdir}/%{name}/libraries/minus.gif
-%ghost %{_docdir}/%{name}/libraries/plus.gif
%endif
%changelog
+* Tue Feb 10 2009 Jens Petersen <petersen at redhat.com> - 6.10.1-9
+- require and buildrequire libedit-devel > 2.11-2
+- move top doc dirs to main package for better sharing
+- move gen_contents_index and ghost index files to main package
+- protect ghc_register_pkg and ghc_unregister_pkg
+
* Fri Jan 23 2009 Jens Petersen <petersen at redhat.com> - 6.10.1-8
- fix to libedit means can drop ncurses-devel BR workaround (#481252)
- Previous message (by thread): rpms/tftp/F-10 .cvsignore, 1.16, 1.17 sources, 1.16, 1.17 tftp-0.40-remap.patch, 1.1, 1.2 tftp-hpa-0.39-tzfix.patch, 1.1, 1.2 tftp.spec, 1.46, 1.47
- Next message (by thread): rpms/xchat/devel xchat.spec,1.99,1.100
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list