Fix duplicate docs issue
This commit is contained in:
parent
e6adc4e35d
commit
e9c5e173e9
|
@ -1,7 +1,7 @@
|
|||
Summary: Viewer for Hierarchical Datafiles (HDF5)
|
||||
Name: ViTables
|
||||
Version: 2.1
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: GPLv3
|
||||
Group: Development/Tools
|
||||
URL: http://www.vitables.org/
|
||||
|
@ -39,15 +39,12 @@ python setup.py build
|
|||
%install
|
||||
python setup.py install -O1 --skip-build --root=%{buildroot}
|
||||
|
||||
# Add docs
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||
cp -pr examples/ %{buildroot}%{_docdir}/%{name}/
|
||||
cp -pr doc/UsersGuide.pdf %{buildroot}%{_docdir}/%{name}/
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
# force the directory to be the same for ViTables and ViTables-doc
|
||||
%global _docdir_fmt %{name}
|
||||
|
||||
%files
|
||||
%doc ANNOUNCE.txt README.txt TODO.txt LICENSE.txt
|
||||
%{_bindir}/vitables
|
||||
|
@ -55,11 +52,13 @@ rm -rf %{buildroot}
|
|||
%{python_sitelib}/%{name}-%{version}-py*.egg-info
|
||||
|
||||
%files doc
|
||||
%dir %{_docdir}/%{name}
|
||||
%doc %{_docdir}/%{name}/examples
|
||||
%doc %{_docdir}/%{name}/UsersGuide.pdf
|
||||
%doc examples/
|
||||
%doc doc/UsersGuide.pdf
|
||||
|
||||
%changelog
|
||||
* Wed Oct 16 2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.1-7
|
||||
- Fix for https://fedoraproject.org/wiki/Changes/UnversionedDocdirs
|
||||
|
||||
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue