Blob Blame Raw
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

%define hgrev 28d2535d682f

Name:           trac-mercurial-plugin
Version:        1.0.0.4
Release:        8%{?dist}
Summary:        Mercurial plugin for Trac

# No version specified.
License:        GPL+
URL:            http://trac.edgewall.org/wiki/TracMercurial
# Source comes from Hg right now:  hg clone http://hg.edgewall.org/trac/mercurial-plugin#%{hgrev}; \
#                                  cd mercurial-plugin; \
#                                  echo "include COPYING" > MANIFEST.in; \
#                                  python setup.py sdist --formats gztar
Source0:        TracMercurial-%{version}.tar.gz

BuildArch:      noarch
BuildRequires:  python2-devel
BuildRequires:  python2-setuptools
Requires:       mercurial >= 1.3, trac >= 0.12, python2-setuptools

%description
This plugin for Trac provides support for the Mercurial SCM.

%prep
%setup -n TracMercurial-%{version} -q


%build
%py2_build


%install
rm -rf $RPM_BUILD_ROOT
# skip-build doesn't work on el4
%py2_install

 

%files
%doc COPYING README
# For noarch packages: sitelib
%{python2_sitelib}/*


%changelog
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.0.4-5
- Update Python 2 dependency declarations to new packaging standards
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)

* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Wed Apr 20 2016 Dave Johansen <davejohansen@gmail.com> - 1.0.0.4-1
- Upstream update

* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Tue Mar 26 2013 Patrick Uiterwijk <puiterwijk@gmail.com> - 1.0.0.1-1
- Rebase to upstream 1.0.0.1

* Tue Mar 26 2013 Patrick Uiterwijk <puiterwijk@gmail.com> - 0.12.0.29-1
- Rebase to upstream 0.12.0.29

* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0.23-5.20101208svn9953
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0.23-4.20101208svn9953
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0.23-3.20101208svn9953
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0.23-2.20101208svn9953
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Wed Dec 08 2010 Jesse Keating <jkeating@redhat.com> - 0.12.0.23-1.20101208svn9953
- Update for trac-0.12

* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.11.0.8-2.20100319svn9372
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild

* Fri Mar 19 2010 Jesse Keating <jkeating@redhat.com> - 0.11.0.8-1.20100319svn9372
- Bugfix release (#574854)

* Wed Jan 13 2010 Jesse Keating <jkeating@redhat.com> - 0.11.0.8-1.20100113svn8646
- New upstream release to resolve a number of bugs

* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.0.7-7.20090715svn8365
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Thu Jul 23 2009 Jesse Keating <jkeating@redhat.com> - 0.11.0.7-6.20090715svn8365
- Pull new upstream snapshot with the patch integrated.

* Mon Jul 20 2009 Jesse Keating <jkeating@redhat.com> - 0.11.0.7-5.20090715svn8072
- Patch for hg 1.3

* Wed Jul 15 2009 Jesse Keating <jkeating@redhat.com> - 0.11.0.7-4.20090715svn8072
- Update tarball generation steps

* Wed Jul 15 2009 Jesse Keating <jkeating@redhat.com> - 0.11.0.7-3.20090715svn8072
- New upstream snapshot to work with mercurial-1.2

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.0.7-2.20090205svn7817
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Thu Feb 05 2009 Jesse Keating <jkeating@redhat.com> - 0.11.0.7-1.20090205svn7817
- Update for Trac-0.11

* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.0.2-5.20070705svn5798
- Rebuild for Python 2.6

* Mon Sep  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.10.0.2-4.20070705svn5798
- fix license tag

* Thu Jul 05 2007 Jesse Keating <jkeating@redhat.com> - 0.10.0.2-3.20070705svn5798
- Require trac, python-setuptools as well

* Thu Jul 05 2007 Jesse Keating <jkeating@redhat.com> - 0.10.0.2-2.20070705svn5798
- Require mercurial

* Thu Jul 05 2007 Jesse Keating <jkeating@redhat.com> - 0.10.0.2-1.20070705svn5798
- Initial build