[ghc-hinotify] Ship the readme file

Ben Boeckel mathstuf at fedoraproject.org
Wed Sep 1 22:56:56 UTC 2010


commit 91fecef9f81d1cbd17cc831b063487310e1eb346
Author: Ben Boeckel <MathStuf at gmail.com>
Date:   Wed Sep 1 18:44:13 2010 -0400

    Ship the readme file

 ghc-hinotify.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ghc-hinotify.spec b/ghc-hinotify.spec
index d83bcc9..4602828 100644
--- a/ghc-hinotify.spec
+++ b/ghc-hinotify.spec
@@ -12,7 +12,7 @@
 
 Name:           ghc-%{pkg_name}
 Version:        0.3.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
@@ -48,6 +48,8 @@ This package provides the shared library.
 %install
 rm -rf $RPM_BUILD_ROOT
 %ghc_lib_install
+mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
+install -p README $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/README
 
 
 %clean
@@ -58,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Sep 01 2010 Ben Boeckel <mathstuf at gmail.com> - 0.3.1-4
+- Ship the readme as well
+
 * Tue Aug 31 2010 Ben Boeckel <mathstuf at gmail.com> - 0.3.1-3
 - Update to new cabal2spec
 


More information about the scm-commits mailing list