[python-trml2pdf/f18] Replace %{__python} with %{__python2}

Cristian Ciupitu ciupicri at fedoraproject.org
Sun Oct 13 11:11:32 UTC 2013


commit c4f5d6346ac257a89bba49f509125b1300f1106b
Author: Cristian Ciupitu <cristian.ciupitu at yahoo.com>
Date:   Sun Oct 13 14:06:27 2013 +0300

    Replace %{__python} with %{__python2}
    
    https://bugzilla.redhat.com/show_bug.cgi?id=821455#c12
    (thanks Jos de Kloe)

 python-trml2pdf.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/python-trml2pdf.spec b/python-trml2pdf.spec
index c300b1d..d9ee2b5 100644
--- a/python-trml2pdf.spec
+++ b/python-trml2pdf.spec
@@ -2,7 +2,7 @@
 
 Name:           python-trml2pdf
 Version:        1.2
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Tiny RML2PDF is a tool to easily create PDF documents without programming
 
 Group:          Development/Languages
@@ -28,11 +28,11 @@ Convert Report Markup Language (RML) files to PDF.
 
 
 %build
-%{__python} setup.py build
+%{__python2} setup.py build
 
 
 %install
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
 # copy man page
 install -m 755 -d %{buildroot}/%{_mandir}/man1
 install -m 644 %{SOURCE1} %{buildroot}/%{_mandir}/man1
@@ -50,6 +50,9 @@ ln -s %{python_sitelib}/trml2pdf/trml2pdf.py %{buildroot}/%{_bindir}/trml2pdf
 
 
 %changelog
+* Sun Oct 13 2013 Cristian Ciupitu <cristian.ciupitu at yahoo.com> - 1.2-9
+- Replace %{__python} with %{__python2} (thanks Jos de Kloe)
+
 * Sun Oct 13 2013 Cristian Ciupitu <cristian.ciupitu at yahoo.com> - 1.2-8
 - Use macros consistently (thanks Jos de Kloe)
 


More information about the scm-commits mailing list