[trac-doxygen-plugin] Changed release to follow the guidelines

Sergio Pascual sergiopr at fedoraproject.org
Wed Jan 22 11:52:02 UTC 2014


commit 2e82154618431e6527f5d3ad20ede52b39937c13
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date:   Wed Jan 22 12:52:15 2014 +0100

    Changed release to follow the guidelines
    
    - Updated python macros and define changed to global

 trac-doxygen-plugin.spec |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/trac-doxygen-plugin.spec b/trac-doxygen-plugin.spec
index 1859d58..8cdd47f 100644
--- a/trac-doxygen-plugin.spec
+++ b/trac-doxygen-plugin.spec
@@ -1,9 +1,10 @@
-%define svnrev 12233
-%define upname doxygenplugin
+%global svnrev 12233
+%global upname doxygenplugin
+%global checkout 20130122svn%{svnrev}
 
 Name: trac-doxygen-plugin
 Version: 0.11.0.2
-Release: 0.3.r%{svnrev}%{?dist}
+Release: 0.4.%{checkout}%{?dist}
 Summary: Integrates doxygen documentation into Trac
 License: BSD
 
@@ -16,7 +17,7 @@ Source0: %{upname}-r%{svnrev}.tar.bz2
 #  tar -cjvf doxygenplugin-r12233.tar.bz2  doxygenplugin
 
 BuildArch: noarch
-BuildRequires: python-devel python-setuptools
+BuildRequires: python2-devel python-setuptools
 Requires: trac >= 0.11
 
 %description
@@ -29,18 +30,21 @@ to doxygen pages using the usual TracLinks and the doxygen: prefix.
 chmod -x doxygentrac/templates/doxygen.html
 
 %build
-%{__python} setup.py build
+%{__python2} setup.py build
 
 
 %install
-%{__rm} -fr %{buildroot}
-%{__python} setup.py install --skip-build --root  %{buildroot}
+%{__python2} setup.py install --skip-build --root  %{buildroot}
  
 %files
 %doc COPYING
-%{python_sitelib}/*
+%{python2_sitelib}/*
 
 %changelog
+* Wed Jan 22 2014  Sergio Pascual <sergiopr at fedoraproject.com> - 0.11.0.2-0.4.20130122svn12233
+- Changed release to follow the guidelines
+- Updated python macros and define changed to global
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.11.0.2-0.3.r12233
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list