Fix location of documentation
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=21
This commit is contained in:
parent
d6350f683f
commit
f827981552
@ -65,8 +65,8 @@ popd
|
|||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%cabal_install
|
%cabal_install
|
||||||
mkdir -p %{buildroot}%{_datadir}/doc/ghc/%{name}
|
mkdir -p %{buildroot}%{_datadir}/doc/%{name}
|
||||||
cp -r doc %{buildroot}%{_datadir}/doc/ghc/%{name}
|
cp -r doc %{buildroot}%{_datadir}/doc/%{name}
|
||||||
for FILE in LICENSE ; do
|
for FILE in LICENSE ; do
|
||||||
MD5SUM=$(md5sum $FILE | sed 's/ .*//')
|
MD5SUM=$(md5sum $FILE | sed 's/ .*//')
|
||||||
if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
|
if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
|
||||||
@ -88,10 +88,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr (-,root, root)
|
%defattr (-,root, root)
|
||||||
%{_datadir}/doc/ghc/%{name}
|
%{_datadir}/doc/%{name}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 16 2009 Herbert Graeber <herbert@links2linux.de> - 2.3.1
|
||||||
|
- Fix location of documentation
|
||||||
|
|
||||||
* Sat Feb 28 2009 Herbert Graeber <herbert@links2linux.de> - 2.3.1
|
* Sat Feb 28 2009 Herbert Graeber <herbert@links2linux.de> - 2.3.1
|
||||||
- Changed to haskell packaging conventions
|
- Changed to haskell packaging conventions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user