Merge pull request #1 from echampet/centos

specfile: don't assume %_prefix is 1 directory in depth
This commit is contained in:
Jo Shields 2015-01-26 16:30:49 +00:00
commit f2a2fc795a

View File

@ -178,9 +178,9 @@ rm -f %{buildroot}%{_prefix}/lib/mono/2.0/cilc.exe*
# brp-compress doesn't search _mandir
# so we cheat it
ln -s . %{buildroot}%{_prefix}%{_prefix}
ln -s . %{buildroot}%{_prefix}/symlink-for-brp-compress
RPM_BUILD_ROOT=%{buildroot}%{_prefix} /usr/lib/rpm/brp-compress
rm %{buildroot}%{_prefix}%{_prefix}
rm %{buildroot}%{_prefix}/symlink-for-brp-compress
# Fix non-executable-in-bin
chmod +x %{buildroot}%{_bindir}/mono-gdb.py