[octave/epel7] Install macros.texi by hand if not building docs
Orion Poplawski
orion at fedoraproject.org
Fri Aug 22 21:31:27 UTC 2014
commit 1765489d5d68f9bd8eedd5f8330469ba1ad05b33
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Fri Aug 22 15:31:20 2014 -0600
Install macros.texi by hand if not building docs
octave.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/octave.spec b/octave.spec
index d09c072..644c825 100644
--- a/octave.spec
+++ b/octave.spec
@@ -16,7 +16,7 @@
Name: octave
Epoch: 6
Version: 3.8.2
-Release: 1%{?dist}
+Release: 2%{?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 at cora.nwra.com> - 6:3.8.2-2
+- Install macros.texi by hand if not building docs
+
* Thu Aug 14 2014 Orion Poplawski <orion at cora.nwra.com> - 6:3.8.2-1
- Update to 3.8.2 final
More information about the scm-commits
mailing list