Sha256: 399f89b307acdbaf8628459b732c076af7cc5b094952fac7bc529cc885064223

Contents?: true

Size: 481 Bytes

Versions: 38

Compression:

Stored size: 481 Bytes

Contents

#!/bin/sh

rpm -q rpm-build || yum -y install rpm-build

base="/opt/mu/lib/extras/ruby_rpm"

for d in BUILD BUILDROOT RPMS SOURCES SPECS SRPMS;do
  mkdir -p ~/rpmbuild/$d
done
cd ~/rpmbuild

echo "Temporarily deleting /usr/local/ruby-current so rpmbuild can create it"
oldlink="`readlink /usr/local/ruby-current`"
rm -f /usr/local/ruby-current
/usr/bin/rpmbuild -ba $base/muby.spec
find ~/rpmbuild/ -type f -name 'muby*' -exec ls -la {} \;
ln -s "$oldlink" /usr/local/ruby-current

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
cloud-mu-3.6.3 extras/ruby_rpm/build.sh
cloud-mu-3.5.1 extras/ruby_rpm/build.sh
cloud-mu-3.5.0 extras/ruby_rpm/build.sh
cloud-mu-3.4.0 extras/ruby_rpm/build.sh
cloud-mu-3.3.2 extras/ruby_rpm/build.sh
cloud-mu-3.3.1 extras/ruby_rpm/build.sh
cloud-mu-3.3.0 extras/ruby_rpm/build.sh
cloud-mu-3.2.0 extras/ruby_rpm/build.sh
cloud-mu-3.1.6 extras/ruby_rpm/build.sh
cloud-mu-3.1.5 extras/ruby_rpm/build.sh
cloud-mu-3.1.4 extras/ruby_rpm/build.sh
cloud-mu-3.1.3 extras/ruby_rpm/build.sh
cloud-mu-3.1.2 extras/ruby_rpm/build.sh
cloud-mu-3.1.2beta2 extras/ruby_rpm/build.sh
cloud-mu-3.1.1 extras/ruby_rpm/build.sh
cloud-mu-3.1.0 extras/ruby_rpm/build.sh
cloud-mu-3.0.2 extras/ruby_rpm/build.sh
cloud-mu-3.0.1 extras/ruby_rpm/build.sh
cloud-mu-3.0.0 extras/ruby_rpm/build.sh
cloud-mu-3.0.0beta extras/ruby_rpm/build.sh