restore docdir autopackaging for f17 and el6
to fix rebuilding of old "%ghc_files$" packages
This commit is contained in:
parent
965f64a0bd
commit
cd4926bbba
@ -48,6 +48,13 @@ echo "%dir %{pkgdir}" >> %{basepkg}.files\
|
|||||||
echo "%attr(755,root,root) %{pkgdir}/libHS%{pkgnamever}-ghc%{ghc_version}.so" >> %{basepkg}.files\
|
echo "%attr(755,root,root) %{pkgdir}/libHS%{pkgnamever}-ghc%{ghc_version}.so" >> %{basepkg}.files\
|
||||||
%endif\
|
%endif\
|
||||||
fi\
|
fi\
|
||||||
|
%if %{undefined ghc_exclude_docdir}\
|
||||||
|
if [ -d "%{buildroot}%{_docdir}/%{name}-%{version}" ]; then\
|
||||||
|
echo "%{_docdir}/%{name}-%{version}" >> %{basepkg}%{?ghc_without_shared:-devel}.files\
|
||||||
|
elif [ -d "%{buildroot}%{_docdir}/ghc-%{pkgnamever}" ]; then\
|
||||||
|
echo "%{_docdir}/ghc-%{pkgnamever}" >> %{basepkg}%{?ghc_without_shared:-devel}.files\
|
||||||
|
fi\
|
||||||
|
%endif\
|
||||||
echo "%{ghclibdir}/package.conf.d/%{pkgnamever}*.conf" >> %{basepkg}-devel.files\
|
echo "%{ghclibdir}/package.conf.d/%{pkgnamever}*.conf" >> %{basepkg}-devel.files\
|
||||||
if [ -d "%{buildroot}%{pkgdir}" ]; then\
|
if [ -d "%{buildroot}%{pkgdir}" ]; then\
|
||||||
find %{buildroot}%{pkgdir} -mindepth 1 -type d | sed "s/^/%dir /" >> %{basepkg}-devel.files\
|
find %{buildroot}%{pkgdir} -mindepth 1 -type d | sed "s/^/%dir /" >> %{basepkg}-devel.files\
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#%%global without_hscolour 1
|
#%%global without_hscolour 1
|
||||||
|
|
||||||
Name: ghc-rpm-macros
|
Name: ghc-rpm-macros
|
||||||
Version: 0.15.12
|
Version: 0.15.13
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Macros for building packages for GHC
|
Summary: Macros for building packages for GHC
|
||||||
|
|
||||||
@ -74,6 +74,9 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 6 2013 Jens Petersen <petersen@redhat.com> - 0.15.13-1
|
||||||
|
- restore docdir autopackaging for f17 and el6
|
||||||
|
|
||||||
* Fri Jun 21 2013 Jens Petersen <petersen@redhat.com> - 0.15.12-1
|
* Fri Jun 21 2013 Jens Petersen <petersen@redhat.com> - 0.15.12-1
|
||||||
- ghc_fix_dynamic_rpath: do not assume first RPATH
|
- ghc_fix_dynamic_rpath: do not assume first RPATH
|
||||||
- packaging for without_shared is now done the same way as shared
|
- packaging for without_shared is now done the same way as shared
|
||||||
|
Loading…
Reference in New Issue
Block a user