[ghc-oeis] fix build on archs without shared libs
Jens Petersen
petersen at fedoraproject.org
Fri Nov 2 13:39:39 UTC 2012
commit 2989816a90a4b26cc52f4bf68acaaa045705c3bb
Author: Jens Petersen <petersen at redhat.com>
Date: Fri Nov 2 22:39:32 2012 +0900
fix build on archs without shared libs
ghc-oeis.spec | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/ghc-oeis.spec b/ghc-oeis.spec
index 332ef89..b871336 100644
--- a/ghc-oeis.spec
+++ b/ghc-oeis.spec
@@ -10,7 +10,7 @@
Name: ghc-%{pkg_name}
Version: 0.3.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -38,10 +38,8 @@ BuildRequires: ghc-network-devel
%install
%ghc_lib_install
-echo %{_datadir}/%{pkg_name}-%{version}/README >> ghc-%{pkg_name}.files
-echo %{_datadir}/%{pkg_name}-%{version}/example/Catalan.hs >> ghc-%{pkg_name}.files
+rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}
-# devel subpackage
%ghc_devel_package
%ghc_devel_description
@@ -49,8 +47,12 @@ echo %{_datadir}/%{pkg_name}-%{version}/example/Catalan.hs >> ghc-%{pkg_name}.fi
%ghc_devel_post_postun
%ghc_files LICENSE
+%doc README example
%changelog
+* Fri Nov 2 2012 Jens Petersen <petersen at redhat.com> - 0.3.1-2
+- fix build on archs without shared libs
+
* Tue Jun 05 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.3.1-1
- Added BuildRequires.
- Spec file template generated by cabal2spec-0.25.5.
More information about the scm-commits
mailing list