Install macros.texi by hand if not building docs

This commit is contained in:
Orion Poplawski 2014-08-22 15:31:20 -06:00
parent f8bbaaf0ca
commit acb81ba207
1 changed files with 6 additions and 1 deletions

View File

@ -16,7 +16,7 @@
Name: octave
Epoch: 6
Version: 3.8.2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A high-level language for numerical computations
Group: Applications/Engineering
License: GPLv3+
@ -239,6 +239,8 @@ done
%if %{builddocs}
# remove timestamp from doc-cache
sed -i -e '/^# Created by Octave/d' %{buildroot}%{_datadir}/%{name}/%{version}%{?rctag}/etc/doc-cache
%else
cp -p doc/interpreter/macros.texi %{buildroot}%{_datadir}/%{name}/%{version}/etc/macros.texi
%endif
# rpm macros
@ -298,6 +300,9 @@ fi
%changelog
* Fri Aug 22 2014 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.2-3
- Install macros.texi by hand if not building docs
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6:3.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild