Don't install the library in /lib now that we have UsrMove

This commit is contained in:
Kalev Lember 2013-04-04 23:52:22 +02:00
parent 2e9a5ee768
commit d6b5519449

View File

@ -13,7 +13,7 @@
Name: brltty Name: brltty
Version: %{pkg_version} Version: %{pkg_version}
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://mielke.cc/brltty/ URL: http://mielke.cc/brltty/
@ -228,8 +228,6 @@ make install JAVA_JAR_DIR=%{_jnidir} \
JAVA_JNI=yes JAVA_JNI=yes
popd popd
rm "$RPM_BUILD_ROOT%{_libdir}/libbrlapi.so"
ln -s ../../%{_lib}/libbrlapi.so.0.5 "$RPM_BUILD_ROOT%{_prefix}/%{_lib}/libbrlapi.so"
install -d -m 755 "${RPM_BUILD_ROOT}%{_sysconfdir}" "$RPM_BUILD_ROOT%{_mandir}/man5" install -d -m 755 "${RPM_BUILD_ROOT}%{_sysconfdir}" "$RPM_BUILD_ROOT%{_mandir}/man5"
install -m 644 Documents/brltty.conf "${RPM_BUILD_ROOT}%{_sysconfdir}" install -m 644 Documents/brltty.conf "${RPM_BUILD_ROOT}%{_sysconfdir}"
echo ".so man1/brltty.1" > $RPM_BUILD_ROOT%{_mandir}/man5/brltty.conf.5 echo ".so man1/brltty.1" > $RPM_BUILD_ROOT%{_mandir}/man5/brltty.conf.5
@ -308,7 +306,7 @@ exit 0
%doc %{_mandir}/man1/vstp.* %doc %{_mandir}/man1/vstp.*
%files -n brlapi-devel %files -n brlapi-devel
%{_prefix}/%{_lib}/libbrlapi.so %{_libdir}/libbrlapi.so
%{_includedir}/brltty %{_includedir}/brltty
%{_includedir}/brlapi*.h %{_includedir}/brlapi*.h
%doc %{_mandir}/man3/brlapi_*.3* %doc %{_mandir}/man3/brlapi_*.3*
@ -331,11 +329,14 @@ exit 0
%if 0%{?with_ocaml} %if 0%{?with_ocaml}
%files -n ocaml-brlapi %files -n ocaml-brlapi
%{_prefix}/%{_lib}/ocaml/brlapi/ %{_libdir}/ocaml/brlapi/
%{_prefix}/%{_lib}/ocaml/stublibs/ %{_libdir}/ocaml/stublibs/
%endif %endif
%changelog %changelog
* Thu Apr 04 2013 Kalev Lember <kalevlember@gmail.com> - 4.5-2
- Don't install the library in /lib now that we have UsrMove
* Thu Apr 04 2013 Kalev Lember <kalevlember@gmail.com> - 4.5-1 * Thu Apr 04 2013 Kalev Lember <kalevlember@gmail.com> - 4.5-1
- Update to 4.5 - Update to 4.5
- Add Python 3 support (python3-brlapi) - Add Python 3 support (python3-brlapi)