revert to handling subpackage license in %ghc_gen_filelists
This commit is contained in:
parent
35cd9d015e
commit
8e03288604
@ -75,6 +75,11 @@ exit 1\
|
|||||||
fi\
|
fi\
|
||||||
rm -f %{basepkg}.files %{basepkg}-doc.files\
|
rm -f %{basepkg}.files %{basepkg}-doc.files\
|
||||||
touch %{basepkg}.files %{basepkg}-doc.files\
|
touch %{basepkg}.files %{basepkg}-doc.files\
|
||||||
|
%if 0%{?1:1}\
|
||||||
|
for i in $(ls %{buildroot}%{_ghclicensedir}/%{basepkg}); do\
|
||||||
|
echo "%%license %{pkgnamever}/$i" >> %{basepkg}.files\
|
||||||
|
done\
|
||||||
|
%endif\
|
||||||
ls %{buildroot}%{_ghcdynlibdir}/libHS%{pkgnamever}-*ghc%{ghc_version}.so >> %{basepkg}.files\
|
ls %{buildroot}%{_ghcdynlibdir}/libHS%{pkgnamever}-*ghc%{ghc_version}.so >> %{basepkg}.files\
|
||||||
pkgdir="%{ghclibdir}/%{pkgnamever}"\
|
pkgdir="%{ghclibdir}/%{pkgnamever}"\
|
||||||
if [ -d "%{buildroot}${pkgdir}" ]; then\
|
if [ -d "%{buildroot}${pkgdir}" ]; then\
|
||||||
|
@ -63,7 +63,6 @@ This package provides the Haskell %{pkgname} profiling library.\
|
|||||||
%endif\
|
%endif\
|
||||||
\
|
\
|
||||||
%files -n %{basepkg} -f %{!-d:%{pkgname}-%{pkgver}/}%{basepkg}.files\
|
%files -n %{basepkg} -f %{!-d:%{pkgname}-%{pkgver}/}%{basepkg}.files\
|
||||||
%{_ghclicensedir}/%{basepkg}\
|
|
||||||
\
|
\
|
||||||
%files -n %{basepkg}-devel -f %{!-d:%{pkgname}-%{pkgver}/}%{basepkg}-devel.files\
|
%files -n %{basepkg}-devel -f %{!-d:%{pkgname}-%{pkgver}/}%{basepkg}-devel.files\
|
||||||
\
|
\
|
||||||
|
Loading…
Reference in New Issue
Block a user