|
|
|
@ -123,3 +123,19 @@ ver=$(echo $i | sed -e "s/.*-\\(.*\\)/\\1/")\
|
|
|
|
|
cd ..\
|
|
|
|
|
done\
|
|
|
|
|
%{nil}
|
|
|
|
|
|
|
|
|
|
# ghc_merge_filelist lib base
|
|
|
|
|
%ghc_merge_filelist()\
|
|
|
|
|
cat %{name}-%1.files >> %{name}-%2.files\
|
|
|
|
|
cat %{name}-%1-devel.files >> %{name}-%2-devel.files\
|
|
|
|
|
%if %{with haddock}\
|
|
|
|
|
cat %{name}-%1-doc.files >> %{name}-%2-doc.files\
|
|
|
|
|
%endif\
|
|
|
|
|
%if %{with ghc_prof}\
|
|
|
|
|
cat %{name}-%1-prof.files >> %{name}-%2-prof.files\
|
|
|
|
|
%endif\
|
|
|
|
|
if [ "%1" != "rts" ]; then\
|
|
|
|
|
cp -p libraries/%1/LICENSE libraries/LICENSE.%1\
|
|
|
|
|
echo "%%license libraries/LICENSE.%1" >> %{name}-%2.files\
|
|
|
|
|
fi\
|
|
|
|
|
%{nil}
|
|
|
|
|