public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tito] epel10: Update tito to 0.6.0-1
@ 2026-10-30 12:56 Devan Goodwin
  0 siblings, 0 replies; only message in thread
From: Devan Goodwin @ 2026-10-30 12:56 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/tito
Branch : epel10
Commit : 05f13bec269db88b821dea36f6c533cf01a65e13
Author : Devan Goodwin <dgoodwin@redhat.com>
Date   : 2015-06-12T15:47:56-03:00
Stats  : +68/-20 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/tito/c/05f13bec269db88b821dea36f6c533cf01a65e13?branch=epel10

Log:
Update tito to 0.6.0-1

---
diff --git a/.gitignore b/.gitignore
index f07d3d6..cd81ac3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@ tito-0.2.0.tar.gz
 /tito-0.5.4.tar.gz
 /tito-0.5.5.tar.gz
 /tito-0.5.6.tar.gz
+/tito-0.6.0.tar.gz

diff --git a/sources b/sources
index 9640382..97eb0d9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-72b9940fb584b6faa4f9700eb934a51c  tito-0.5.6.tar.gz
+528a205651af9e870cd16845ff356fcd  tito-0.6.0.tar.gz

diff --git a/tito.spec b/tito.spec
index 93966de..319d3ba 100644
--- a/tito.spec
+++ b/tito.spec
@@ -1,7 +1,23 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%if 0%{?fedora} > 21
+%global use_python3 1
+%global use_python2 0
+%global pythonbin %{__python3}
+%global python_sitelib %{python3_sitelib}
+%else
+%global use_python3 0
+%global use_python2 1
+%if 0%{?__python2:1}
+%global pythonbin %{__python2}
+%global python_sitelib %{python2_sitelib}
+%else
+%global pythonbin %{__python}
+%global python_sitelib %{python_sitelib}
+%endif
+%endif
+%{!?python_sitelib: %define python_sitelib %(%{pythonbin} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name: tito
-Version: 0.5.6
+Version: 0.6.0
 Release: 1%{?dist}
 Summary: A tool for managing rpm based git projects
 
@@ -12,8 +28,21 @@ Source0: http://rm-rf.ca/files/tito/tito-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch: noarch
+%if %{use_python3}
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+Requires: python3-setuptools
+Requires: python3-bugzilla
+Requires: python3-blessings
+Requires: rpm-python3
+%else
 BuildRequires: python-devel
 BuildRequires: python-setuptools
+Requires: python-setuptools
+Requires: python-bugzilla
+Requires: python-blessings
+Requires: rpm-python
+%endif
 BuildRequires: asciidoc
 BuildRequires: docbook-style-xsl
 BuildRequires: libxslt
@@ -37,16 +66,17 @@ BuildRequires: python3-bugzilla
 BuildRequires: rpm-python3
 %endif
 
-Requires: python-setuptools
-Requires: python-bugzilla
 Requires: rpm-build
 Requires: rpmlint
 Requires: fedpkg
 Requires: fedora-cert
 Requires: fedora-packager
 Requires: rpmdevtools
-Requires: rpm-python
 Requires: yum-utils
+# Cheetah doesn't exist for Python 3, but it's what Mead uses.  We
+# install it and call via the command line instead of importing the
+# potentially incompatible code
+Requires: python-cheetah
 
 %description
 Tito is a tool for managing tarballs, rpms, and builds for projects using
@@ -54,10 +84,10 @@ git.
 
 %prep
 %setup -q -n tito-%{version}
-
+sed -i 1"s|#!.*|#!%{pythonbin}|" bin/tito
 
 %build
-%{__python} setup.py build
+%{pythonbin} setup.py build
 # convert manages
 a2x -d manpage -f manpage titorc.5.asciidoc
 a2x -d manpage -f manpage tito.8.asciidoc
@@ -66,37 +96,54 @@ a2x -d manpage -f manpage releasers.conf.5.asciidoc
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{pythonbin} 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
-%{__gzip} -c tito.props.5 > %{buildroot}/%{_mandir}/man5/tito.props.5.gz
-%{__gzip} -c releasers.conf.5 > %{buildroot}/%{_mandir}/man5/releasers.conf.5.gz
+cp -a titorc.5 tito.props.5 releasers.conf.5 %{buildroot}/%{_mandir}/man5/
+cp -a tito.8 %{buildroot}/%{_mandir}/man8/
+# bash completion facilities
+install -Dp -m 0644 share/tito_completion.sh %{buildroot}%{_datadir}/bash-completion/completions/tito
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
 %files
-%doc README.mkd AUTHORS COPYING
+%doc AUTHORS COPYING
 %doc doc/*
-%doc %{_mandir}/man5/titorc.5.gz
-%doc %{_mandir}/man5/tito.props.5.gz
-%doc %{_mandir}/man5/releasers.conf.5.gz
-%doc %{_mandir}/man8/tito.8.gz
+%doc %{_mandir}/man5/titorc.5*
+%doc %{_mandir}/man5/tito.props.5*
+%doc %{_mandir}/man5/releasers.conf.5*
+%doc %{_mandir}/man8/tito.8*
 %{_bindir}/tito
-%{_bindir}/tar-fixup-stamp-comment.pl
-%{_bindir}/test-setup-specfile.pl
 %{_bindir}/generate-patches.pl
+%{_datadir}/bash-completion/completions/tito
 %dir %{python_sitelib}/tito
 %{python_sitelib}/tito/*
 %{python_sitelib}/tito-*.egg-info
 
 
 %changelog
+* Fri Jun 12 2015 Devan Goodwin <dgoodwin@rm-rf.ca> 0.6.0-1
+- Add support for Red Hat Java MEAD builds. (awood@redhat.com)
+- Enable mkdocs and add documentation on Mead. (awood@redhat.com)
+- Add RHPKG/FEDPKG_USER to be passed to rh/fedpkg (elobatocs@gmail.com)
+- Replace old Perl script for munging RPM release number. (awood@redhat.com)
+- Give Tito some color! (awood@redhat.com)
+- Remove support for very old spacewalk user config file. (dgoodwin@redhat.com)
+- Allow builder arguments to be given multiple times. (awood@redhat.com)
+- Fix tarball timestamps from git archive with Python. (awood@redhat.com)
+- New - bash-completion facilities (john_florian@dart.biz)
+- clarify --offline option #141 (miroslav@suchy.cz)
+- substitute /releng for /.tito #161 (miroslav@suchy.cz)
+- Allow override of rpmbuild_options from builder arguments (dcleal@redhat.com)
+- Fixes macro initialisation on EL6, F22+ (dcleal@redhat.com)
+- Help new packagers find tools related to tito (craig@2ndquadrant.com)
+- no need to gzip man pages, rpmbuild do that automatically (miroslav@suchy.cz)
+- use python3 on Fedora 22 (miroslav@suchy.cz)
+
 * Tue Dec 23 2014 Devan Goodwin <dgoodwin@rm-rf.ca> 0.5.6-1
 - Require new srpm_disttag for rsync/yum releasers. (dgoodwin@rm-rf.ca)
 - Drop more test only requirements from spec. (dgoodwin@redhat.com)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-30 12:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30 12:56 [rpms/tito] epel10: Update tito to 0.6.0-1 Devan Goodwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox