From 424e2591fa5399ca1545639dce89780431291041 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 4 Apr 2013 14:32:48 +0200 Subject: [PATCH] Spec file cleanup for recent rpmbuild --- brltty.spec | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/brltty.spec b/brltty.spec index e3997ac..107fd2a 100644 --- a/brltty.spec +++ b/brltty.spec @@ -1,7 +1,6 @@ %define pkg_version 4.3 %define api_version 0.5.6 -%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?pyver: %define pyver %(%{__python} -c "import sys; v=sys.version_info[:2]; print '%d.%d'%v")} %{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)} @@ -26,7 +25,6 @@ Patch1: brltty-autoconf-quote.patch #Patch2: brltty-4.2-S_ISCHR.patch Patch3: brltty-parallel.patch Patch4: brltty-loadLibrary.patch -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Summary: Braille display driver for Linux/Unix BuildRequires: byacc glibc-kernheaders BuildRequires: autoconf @@ -201,7 +199,6 @@ while read file; do done %install -rm -rf $RPM_BUILD_ROOT # does not seem to be parallel safe make install JAVA_JAR_DIR=%{_jnidir} \ JAVA_JNI_DIR=%{_libdir}/brltty \ @@ -219,9 +216,6 @@ mv Documents/BrlAPIref/{html,BrlAPIref} # Don't want static lib rm -rf $RPM_BUILD_ROOT/%{_libdir}/libbrlapi.a -%clean -rm -rf $RPM_BUILD_ROOT - %post devices="/dev/vcsa /dev/vcsa0 /dev/vcc/a" install=true @@ -247,7 +241,6 @@ exit 0 %postun -n brlapi -p /sbin/ldconfig %files -%defattr(-,root,root) %config(noreplace) %{_sysconfdir}/brltty.conf %{_sysconfdir}/brltty/ %{_bindir}/brltty @@ -280,7 +273,6 @@ exit 0 %{_libdir}/brltty/libbrlttyxas.so %files -n brlapi -%defattr(-,root,root) %{_bindir}/vstp %{_bindir}/xbrlapi %{_libdir}/brltty/libbrlttybba.so @@ -291,7 +283,6 @@ exit 0 %doc %{_mandir}/man1/vstp.* %files -n brlapi-devel -%defattr(-,root,root) %{_prefix}/%{_lib}/libbrlapi.so %{_includedir}/brltty %{_includedir}/brlapi*.h @@ -299,22 +290,18 @@ exit 0 %doc Documents/BrlAPIref/BrlAPIref/ %files -n tcl-brlapi -%defattr(-,root,root) %{tcl_sitearch}/brlapi-%{api_version} %files -n python-brlapi -%defattr(-,root,root) %{python_sitearch}/brlapi.so %{python_sitearch}/Brlapi-%{api_version}-py%{pyver}.egg-info %files -n brlapi-java -%defattr(-,root,root) %{_libdir}/brltty/libbrlapi_java.so %{_jnidir}/brlapi.jar %if 0%{?with_ocaml} %files -n ocaml-brlapi -%defattr(-,root,root) %{_prefix}/%{_lib}/ocaml/brlapi/ %{_prefix}/%{_lib}/ocaml/stublibs/ %endif