Merge pull request #1 from echampet/centos
specfile: don't assume %_prefix is 1 directory in depth
This commit is contained in:
commit
f2a2fc795a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user