Skip to content

Instantly share code, notes, and snippets.

@aep
Created April 8, 2014 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aep/10133550 to your computer and use it in GitHub Desktop.
Save aep/10133550 to your computer and use it in GitHub Desktop.
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.npPdTT
+ umask 022
+ cd ./
+ cd /
+ rm -rf ruby-2.0.0-p451
+ /usr/bin/gzip -dc /tmp/rpmb/rpmbuild/SOURCES/ruby-2.0.0-p451.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ruby-2.0.0-p451
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.djWtFu
+ umask 022
+ cd ./
+ cd ruby-2.0.0-p451
/var/tmp/rpm-tmp.djWtFu: line 27: cd: ruby-2.0.0-p451: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.djWtFu (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.djWtFu (%build)
bash-4.1# find . -name ruby-2.0.0-p451
bash-4.1#
Name: ruby
Version: 2.0.0_p451
Release: 1%{?dist}
Summary: An Interpreted Object-Oriented Scripting Language
License: BSD-2-Clause or Ruby
Group: Development/Languages/Ruby
URL: https://www.ruby-lang.org/en/
BuildRequires: make openssl-devel
Source: http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p451.tar.gz
%description
%prep
%setup -q -n ruby-2.0.0-p451
%build
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
/opt/nokia/devcon
/etc/libvirt-hub-agent/domain.nokia.devcon.xml
%changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment