Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Emulators:Wine:Fedora
wine
build.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File build.sh of Package wine
#!/bin/bash set -e -x if [ "$(uname -m)" == "x86_64" ]; then sed -i "s/^%_lib .*$/%_lib lib64/g" rpmmacros fi mkdir -p /home/builder/wine/{BUILD,BUILDROOT,RPMS,SPECS,SRPMS,tmp} ln -s "$(pwd)/rpmmacros" /home/builder/.rpmmacros ln -s "$(pwd)/../output" /home/builder/wine/RPMS/i686 ln -s "$(pwd)/../output" /home/builder/wine/RPMS/x86_64 ln -s "$(pwd)/../output" /home/builder/wine/RPMS/noarch ln -s "$(pwd)" /home/builder/wine/SOURCES for _f in *.spec; do ln -s "$(pwd)/$_f" "/home/builder/wine/SPECS/$_f" done chown -R builder:builder /home/builder/wine for _f in *.spec; do dnf builddep -y "$_f" su builder -c "cd /home/builder/wine/SPECS && BUILDER_TOPDIR=/home/builder/wine rpmbuild -vv -bb \"$_f\"" done for _f in ../output/*.rpm; do if rpm -qpR "$_f" | grep "wine-missing-buildrequires-"; then echo "Missing build requirements, package would be broken!" >&2 exit 1 fi done
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor