[tito/el5/master] Fixing tito build on RHEL 5.

Devan Goodwin dgoodwin at fedoraproject.org
Fri Jan 7 19:28:46 UTC 2011


commit bda7839b23176e2949b337e393d1ad98e02d42b7
Author: Devan Goodwin <dgoodwin at rm-rf.ca>
Date:   Fri Jan 7 15:27:18 2011 -0400

    Fixing tito build on RHEL 5.
    
    Removing the manpage completely until we can get this build fixed.

 tito.spec |   15 ++++-----------
 1 files changed, 4 insertions(+), 11 deletions(-)
---
diff --git a/tito.spec b/tito.spec
index 025744b..d25a0d7 100644
--- a/tito.spec
+++ b/tito.spec
@@ -2,7 +2,7 @@
 
 Name: tito
 Version: 0.3.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: A tool for managing rpm based git projects
 
 Group: Development/Tools
@@ -32,20 +32,12 @@ git.
 
 %build
 %{__python} setup.py build
-# convert manages
-a2x -d manpage -f manpage titorc.5.asciidoc
-a2x -d manpage -f manpage tito.8.asciidoc
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 rm -f $RPM_BUILD_ROOT%{python_sitelib}/*egg-info/requires.txt
-# manpages
-%{__mkdir_p} %{buildroot}%{_mandir}/man5
-%{__mkdir_p} %{buildroot}%{_mandir}/man8
-%{__gzip} -c titorc.5 > %{buildroot}/%{_mandir}/man5/titorc.5.gz
-%{__gzip} -c tito.8 > %{buildroot}/%{_mandir}/man8/tito.8.gz
 
 
 %clean
@@ -55,8 +47,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc README.mkd AUTHORS COPYING
-%doc %{_mandir}/man5/titorc.5.gz
-%doc %{_mandir}/man8/tito.8.gz
 %{_bindir}/tito
 %{_bindir}/bump-version.pl
 %{_bindir}/tar-fixup-stamp-comment.pl
@@ -68,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Jan 05 2011 Devan Goodwin <dgoodwin at rm-rf.ca> 0.3.0-3
+- Removing manpage for EL5 until it can be fixed.
+
 * Wed Jan 05 2011 Devan Goodwin <dgoodwin at rm-rf.ca> 0.3.0-1
 - implement --only-tags option for builder class (msuchy at redhat.com)
 - implement --list-tags option for builder (msuchy at redhat.com)


More information about the scm-commits mailing list