On Fri, Feb 22, 2019 at 10:31 PM Luya Tshimbalanga
<luya(a)fedoraproject.org> wrote:
Upstream ISPC [0] will need a dockerfile to reproduce the failure to
build ispc package in Fedora[1][2]. Unfortunately, I know very little
about the Docker functionality so I will need assistance to do so.
You can do an
rpm build from a spec file within docker with a
dockerfile like this:
FROM fedora:rawhide
RUN dnf install -y spectool git rpm-build dnf-plugins-core
RUN git clone
https://src.fedoraproject.org/rpms/ispc.git
WORKDIR ispc
RUN spectool -g ispc.spec
RUN dnf builddep -y ispc.spec
RUN rpmbuild -D"_sourcedir ${PWD}" -D"_srcrpmdir ${PWD}" -ba
ispc.spec
(you might need to point git to clone the right spec file.)
Christoph
The docker file for Fedora is inside the upstream tarball .
Thanks in advance.
Luya
References
---------------
[0]
https://github.com/ispc/ispc
[1]
https://github.com/ispc/ispc/issues/1413
[2]
https://bugzilla.redhat.com/show_bug.cgi?id=1675162
[3]
https://src.fedoraproject.org/rpms/ispc
_______________________________________________
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
--
Christoph Junghans
Web:
http://www.compphys.de