Commit b7cd93c7 authored by Adam Mercer's avatar Adam Mercer
Browse files

lal: simplify spec file

also ensures that correct python files are packaged as detailed in:
  https://fedoraproject.org/wiki/Packaging:Python
Original: 224c99f98d39d52bc423292d223c80c85a805411
parent 533f8edc
......@@ -73,7 +73,7 @@ This package provides the Octave bindings.
%install
%make_install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
find $RPM_BUILD_ROOT%{_libdir} -name '*.la' -delete
%post
ldconfig
......@@ -100,16 +100,7 @@ rm -Rf ${RPM_BUILD_DIR}/%{name}-%{version}
%files python
%defattr(-,root,root)
%{_libdir}/python*/site-packages/lal/*.py
%{_libdir}/python*/site-packages/lal/*.pyc
%{_libdir}/python*/site-packages/lal/_lal.so*
%{_libdir}/python*/site-packages/lal/spectrum/*.py
%{_libdir}/python*/site-packages/lal/spectrum/*.pyc
%{_libdir}/python*/site-packages/lal/utils/*.py
%{_libdir}/python*/site-packages/lal/utils/*.pyc
%exclude %{_libdir}/python*/site-packages/lal/*.pyo
%exclude %{_libdir}/python*/site-packages/lal/spectrum/*.pyo
%exclude %{_libdir}/python*/site-packages/lal/utils/*.pyo
%{_libdir}/python*
%files octave
%defattr(-,root,root)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment