Bug in ghc-rpm-macros?
by Róman Joost
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/f...
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
7 years, 5 months
Additional packages
by Róman Joost
Hi,
long time lurker on the mailing list, but my first post.
I'm a Haskell n00b and due to learning the language have build my first
app, which I'm currently packaging in a copr repo:
https://copr.fedorainfracloud.org/coprs/romanofski/gtfsschedule/
There are only a few packages missing in Fedora like *conduit and
persistent* which would make my life easier. Since I'm also trying to get
more packaging experience, I'm wondering if I could provide any help
with getting these maintained in Fedora, but in return ask for a bit of
guidance and how to do that?
PS: Love cabal-rpm! Very cool tool!
Kind Regards,
--
Róman Joost
Senior Software Engineer, Products & Technologies Operations (Brisbane)
Red Hat
7 years, 5 months