Simple spec file to build on Fedora
crayxt opened this issue · comments
Hi,
Recently I created a simple spec file to package wclang into RPM for Fedora Linux, see
https://gist.github.com/crayxt/cb07a39f450c53fb9ff7
Just thought it might be useful for someone else.
Thanks,
Thanks a lot for your effort!
i don't think we need the i486, i586 and so on wrappers on fedora.
Target here is mainly i686-w64-mingw32 and x86_64-w64-mingw32
It is what is used throughout the fedora mingw toolchain.
@maci0: Forgot to close this - wclang uses cmake now and only installs the triples which are really present on the system.
@tpoechtrager I see, I'll look into creating a proper .spec file then.
The one from @crayxt seems to miss a lot of mingw specific stuff commonly used in fedora as well.
@tpoechtrager see https://github.com/maci0/rpmbuild/blob/master/SPECS/wclang.spec
for a fedora compliant spec file :)
@maci0: Thanks! :-)
@tpoechtrager I submitted a review request to fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=1252471
In my defense I can say that I intended for minimal working configuration. thank you @maci0 for your efforts!