Hi,

I've build a new ghc-cassava package against F25 and was wondering if
either cabal-rpm generated a wrong spec file or ghc-rpm-macros'
ghc_pkgdocdir might point to the wrong path.

The error I'm running into is:

    rm: cannot remove
    
'/builddir/build/BUILDROOT/ghc-cassava-0.4.5.1-1.fc25.x86_64/usr/share/doc/ghc-cassava/LICENSE':
    No such file or directory
    
https://copr-be.cloud.fedoraproject.org/results/romanofski/gtfsschedule/fedora-25-x86_64/00481910-ghc-cassava/build.log.gz

And in the spec file the LICENSE is declared as:

    [...]
    %install
    %ghc_lib_install

    rm %{buildroot}%{ghc_pkgdocdir}/LICENSE


    %check
    %cabal_test


    %post devel
    %ghc_pkg_recache


    %postun devel
    %ghc_pkg_recache


    %files -f %{name}.files
    %license LICENSE
    [...]
    https://paste.fedoraproject.org/492174/

Should ghc_pkgdocdir point to /usr/share/licenses ?

Kind Regards,
-- 
Róman Joost
Senior Software Engineer, Products & Technologies Operations (Brisbane)
Red Hat

Attachment: signature.asc
Description: PGP signature

_______________________________________________
haskell mailing list -- haskell@lists.fedoraproject.org
To unsubscribe send an email to haskell-le...@lists.fedoraproject.org

Reply via email to