[epix] doc sub-package not built anymore
Antonio Trande
sagitter at fedoraproject.org
Sat May 17 13:55:54 UTC 2014
commit cda1dfcd76d820717761fac8052af63938b86f3f
Author: sagitter <anto.trande at gmail.com>
Date: Sat May 17 15:55:46 2014 +0200
doc sub-package not built anymore
epix.spec | 25 ++++---------------------
1 files changed, 4 insertions(+), 21 deletions(-)
---
diff --git a/epix.spec b/epix.spec
index bb51fac..e74c87d 100644
--- a/epix.spec
+++ b/epix.spec
@@ -5,7 +5,7 @@
Name: epix
Summary: Utilities for mathematically accurate figures
Version: 1.2.14
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2+
Group: Applications/Engineering
URL: http://mathcs.holycross.edu/~ahwang/current/ePiX.html
@@ -51,13 +51,6 @@ Provides: %{name}-static = %{version}-%{release}
%description devel
Header and static files for %{name}
-%package doc
-Summary: Manuals for %{name}
-Group: Applications/Engineering
-BuildArch: noarch
-%description doc
-The %{name}'s manuals
-
%package bash-completion
Summary: Bash completion support for %{name}
Group: Applications/Engineering
@@ -98,14 +91,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}/notes
-## Unzip all manuals and 'samples'
-## Remove *tar.gz archives
-gzip -d $RPM_BUILD_ROOT%{_docdir}/%{name}/manual.pdf.gz
-gzip -d $RPM_BUILD_ROOT%{_docdir}/%{name}/manual.ps.gz
-mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/samples
-tar -xf $RPM_BUILD_ROOT%{_docdir}/%{name}/sample_src.tar.gz -C $RPM_BUILD_ROOT%{_docdir}/%{name}/samples
-rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/*.tar.gz
-
## Make bash completion file
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
cp -p $RPM_BUILD_ROOT%{_docdir}/%{name}/config/bash_completions $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/%{name}
@@ -145,11 +130,6 @@ fi
%{_includedir}/%{name}.h
%{_libdir}/%{name}/
-%files doc
-%doc COPYING
-%{_docdir}/%{name}/samples/
-%{_docdir}/%{name}/manual*
-
%files bash-completion
%config(noreplace) %{_sysconfdir}/bash_completion.d/%{name}
@@ -158,6 +138,9 @@ fi
%changelog
+* Sat May 17 2014 Antonio Trande <sagitterATfedoraproject.org> 1.2.14-3
+- doc sub-package not built anymore
+
* Fri May 16 2014 Antonio Trande <sagitterATfedoraproject.org> 1.2.14-2
- Fixed documentation directories definition
More information about the scm-commits
mailing list