Build Swift4 RPM package for Fedora
Clone or download
Pull request Compare This branch is 7 commits ahead, 23 commits behind corinnekrych:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Build swift4 on Fedora

Build Swift4 rpm package from source for Fedora.

Built files

.tar.gz file will be created in ~/rpmbuild/ .src.rpm file will be create in ~/rpmbuild/SRPMS/ and finally, .rpm file will be created in ~/rpmbuild/RPMS/{arch}/

Install swift4 RPM package

sudo dnf install ~/rpmbuild/RPMS/{arch}/swift4-*.rpm

Tested on Fedora 26 x86_64 and Fedora 25 x86_64.

Run a RPM build

To build a new tag version of swift edit and change TAG, REL and VER accordingly.