version ghcdocdir to allow multiple doc versions like ghcpkgdir

This commit is contained in:
Jens Petersen 2009-09-22 03:25:59 +00:00
parent 86afb6d672
commit 082b15a21d
2 changed files with 6 additions and 3 deletions

View File

@ -10,7 +10,7 @@ make -f cabal-rpm.mk %{_smp_mflags} \
%cabal_install %cabal copy --destdir=${RPM_BUILD_ROOT} -v
%ghcdocdir %{_docdir}/ghc/libraries/%{?pkg_name}%{!?pkg_name:%{name}}
%ghcdocdir %{_docdir}/ghc/libraries/%{?pkg_name}%{!?pkg_name:%{name}}-%{version}
%ghcpkgdir %{_libdir}/ghc-%(ghc --numeric-version)/%{?pkg_name}%{!?pkg_name:%name}-%{version}
%ghc_gen_filelists() \

View File

@ -1,6 +1,6 @@
Name: ghc-rpm-macros
Version: 0.2
Release: 2%{?dist}
Version: 0.2.1
Release: 1%{?dist}
Summary: Macros for building packages for GHC
Group: Development/Libraries
@ -48,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Sep 22 2009 Jens Petersen <petersen@redhat.com> - 0.2.1-1
- version ghcdocdir to allow multiple doc versions like ghcpkgdir
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild