From e3d6ebf8d257a3ac2d3878cbfcf3c52c2d9a0018 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Feb 27 2013 11:34:58 +0000 Subject: Minor spec file cleanup Remove sections that are no longer needed with current rpmbuild. --- diff --git a/speech-dispatcher.spec b/speech-dispatcher.spec index e8f19b9..de6dc28 100644 --- a/speech-dispatcher.spec +++ b/speech-dispatcher.spec @@ -1,6 +1,3 @@ -# sitelib for noarch packages, sitearch for others (remove the unneeded one) -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - Name: speech-dispatcher Version: 0.7.1 Release: 10%{?dist} @@ -122,9 +119,6 @@ mv %{buildroot}%{_datadir}/speech-dispatcher/conf/modules/* %{buildroot}%{_sysco # Create log dir %{__mkdir} -p -m 0700 %{buildroot}%{_localstatedir}/log/speech-dispatcher/ -%clean -rm -rf %{buildroot} - %post /sbin/ldconfig if [ $1 -eq 1 ] ; then @@ -159,7 +153,6 @@ fi /bin/systemctl try-restart speech-dispatcherd.service >/dev/null 2>&1 || : %files -%defattr(-,root,root,-) %doc AUTHORS ChangeLog NEWS README COPYING %dir %{_sysconfdir}/speech-dispatcher/ %dir %{_sysconfdir}/speech-dispatcher/clients @@ -182,12 +175,10 @@ fi %{_unitdir}/speech-dispatcherd.service %files devel -%defattr(-,root,root,-) %{_includedir}/* %{_libdir}/lib*.so %files doc -%defattr(-,root,root,-) %{_infodir}/* %post doc @@ -205,7 +196,6 @@ if [ $1 = 0 ]; then fi %files python -%defattr(-,root,root,-) %{python_sitearch}/speechd* %changelog