drop redundant BuildRoot and defattr

This commit is contained in:
Dominik Mierzejewski 2016-02-22 01:12:23 +01:00
parent d2558b59bb
commit 53c6c298e8
1 changed files with 4 additions and 10 deletions

View File

@ -9,7 +9,7 @@
Name: openbabel
Version: 2.3.90
Release: 0.8.20150402git%{shortcommit}%{?dist}
Release: 0.9.20150402git%{shortcommit}%{?dist}
Summary: Chemistry software file format converter
License: GPLv2
Group: Applications/File
@ -30,7 +30,6 @@ Patch7: openbabel-ruby19-vendorarch.patch
# - aarch64 (#1094513)
# Upstream bugs: https://sourceforge.net/p/openbabel/bugs/927/ https://sourceforge.net/p/openbabel/bugs/945/
Patch8: openbabel-disable-tests-some-arches.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: eigen3-devel
@ -182,42 +181,35 @@ make test
%postun libs -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_bindir}/babel
%{_bindir}/ob*
%{_bindir}/roundtrip
%{_mandir}/man1/*.1*
%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}-2.0
%{_libdir}/libopenbabel.so
%{_libdir}/pkgconfig/*.pc
%files doc
%defattr(-,root,root,-)
%doc doc/*.html doc/README* doc/dioxin.*
%files gui
%defattr(-,root,root,-)
%{_bindir}/obgui
%{_datadir}/applications/obgui.desktop
%{_datadir}/pixmaps/babel.png
%files libs
%defattr(-,root,root,-)
%{_datadir}/%{name}/
%{_libdir}/%{name}/
%{_libdir}/libopenbabel.so.*
%files -n perl-%{name}
%defattr(-,root,root,-)
%{perl_vendorarch}/Chemistry/OpenBabel.pm
%dir %{perl_vendorarch}/*/Chemistry/OpenBabel
%{perl_vendorarch}/*/Chemistry/OpenBabel/OpenBabel.so
%files -n python-%{name}
%defattr(-,root,root,-)
%{python2_sitearch}/_openbabel.so
%{python2_sitearch}/openbabel.py*
%{python2_sitearch}/pybel.py*
@ -225,10 +217,12 @@ make test
#%{python_sitearch}/openbabel*.egg-info
%files -n ruby-%{name}
%defattr(-,root,root,-)
%{ruby_vendorarchdir}/openbabel.so
%changelog
* Thu Feb 18 2016 Dominik Mierzejewski <rpm@greysector.net> - 2.3.90-0.9.20150402gita345105
- drop redundant BuildRoot and defattr
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.90-0.8.20150402gita345105
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild