rebuilt [release 0.5.3-2mamba;Mon Apr 13 2015]
This commit is contained in:
parent
ce99d0618d
commit
a1f0bbefab
@ -1,8 +1,9 @@
|
|||||||
%define ghc_ver %(ghc --version | sed "s|.*version ||")
|
%define ghc_ver %(ghc --numeric-version)
|
||||||
%define pkgname %(echo %name | sed "s|^ghc-||")
|
%define pkgname data-default
|
||||||
|
|
||||||
Name: ghc-data-default
|
Name: ghc-data-default
|
||||||
Version: 0.5.3
|
Version: 0.5.3
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: GHC default data library.
|
Summary: GHC default data library.
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -34,10 +35,14 @@ GHC default data library.
|
|||||||
%setup -q -n data-default-%{version}
|
%setup -q -n data-default-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
runghc Setup.lhs configure \
|
runghc Setup.lhs configure -v2 \
|
||||||
--prefix=%{_prefix} --libdir=%{_libdir}
|
--prefix=%{_prefix} \
|
||||||
|
--libdir=%{_libdir} \
|
||||||
|
--libexecdir=%{_libexecdir} \
|
||||||
|
--docdir=%{_docdir}/%{name}-%{version}
|
||||||
|
|
||||||
runghc Setup.lhs build
|
runghc Setup.lhs build
|
||||||
|
runghc Setup.lhs haddock --executable --html-location=URL --hyperlink-source
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -49,19 +54,21 @@ runghc Setup.lhs register \
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
ghc-pkg register %{_libdir}/ghc-%{ghc_ver}/%{pkgname}-%{version}/%{pkgname}-%{version}.conf &>/dev/null || true
|
ghc-pkg register %{_libdir}/ghc-%{ghc_ver}/%{pkgname}-%{version}/%{pkgname}-%{version}.conf &>/dev/null || :
|
||||||
:
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
ghc-pkg unregister %{_libdir}/ghc-%{ghc_ver}/%{pkgname}-%{version}/%{pkgname}-%{version}.conf &>/dev/null || true
|
ghc-pkg unregister %{pkgname}-%{version} &>/dev/null || :
|
||||||
:
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_libdir}/ghc-%{ghc_ver}/%{pkgname}-%{version}
|
%{_libdir}/ghc-%{ghc_ver}/%{pkgname}-%{version}
|
||||||
%{_libdir}/ghc-%{ghc_ver}/%{pkgname}-%{version}/*
|
%dir %{_docdir}/%{name}-%{version}
|
||||||
%{_datadir}/doc/%{pkgname}-%{version}/LICENSE
|
%{_docdir}/%{name}-%{version}/LICENSE
|
||||||
|
%{_docdir}/%{name}-%{version}/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 13 2015 Davide Madrisan <davide.madrisan@gmail.com> 0.5.3-2mamba
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
* Sun Sep 08 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.3-1mamba
|
* Sun Sep 08 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.3-1mamba
|
||||||
- package created by silvan using the webbuild interface
|
- package created by silvan using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user