fix bug 185692: install avahi-sharp into %{_prefix}/lib, not %{_libdir}

This commit is contained in:
jvdias 2006-03-16 23:09:37 +00:00
parent 5f5ba28699
commit 18e765cb81

View File

@ -186,6 +186,11 @@ rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/*
# Make /etc/avahi/etc/localtime owned by avahi:
mkdir -p $RPM_BUILD_ROOT/etc/avahi/etc
touch $RPM_BUILD_ROOT/etc/avahi/etc/localtime
#
# Fix avahi-sharp default installation into /usr/lib64 on x86_64:
if [ ! -e $RPM_BUILD_ROOT/%{_prefix}/lib/mono ] && [ -e $RPM_BUILD_ROOT/%{_libdir}/mono ]; then
mv -f $RPM_BUILD_ROOT/%{_libdir}/mono $RPM_BUILD_ROOT/%{_prefix}/lib;
fi
:;
%clean
@ -310,12 +315,12 @@ fi
%defattr(0644, root, root, 0755)
%{_prefix}/lib/mono/avahi-sharp
%{_prefix}/lib/mono/gac/avahi-sharp
%{_prefix}/lib/pkgconfig/avahi-sharp.pc
%{_libdir}/lib/pkgconfig/avahi-sharp.pc
%endif
%changelog
* Thu Mar 16 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.9-6
- Fix bug 185692: install avahi-sharp into %{prefix}/lib, not %{_libdir}
- Fix bug 185692: install avahi-sharp into %{_prefix}/lib, not %{_libdir}
* Thu Mar 09 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.9-4
- fix scriptlet error introduced by last fix: