#3 Update Python macros to new packaging standards
Closed 4 years ago by krege. Opened 4 years ago by churchyard.
rpms/ churchyard/mathgl py2macros  into  master

file modified
+7 -3
@@ -19,7 +19,7 @@ 


  Name:          mathgl

  Version:       2.4.1

- Release:       8%{?dist}

+ Release:       9%{?dist}

  Summary:       Cross-platform library for making high-quality scientific graphics

  Summary(de):   Plattformübergreifende Bibliothek für hochwertige wissenschaftliche Graphiken

  Summary(ru):   Библиотека для осуществления высококачественной визуализации данных
@@ -491,7 +491,7 @@ 


  #Remove symlink to .so file in python dir. Let python find libs normally

  # not needed now?

- #unlink %{buildroot}/%{python_sitelib}/_mathgl.so

+ #unlink %{buildroot}/%{python2_sitelib}/_mathgl.so

  #unlink %{buildroot}/%{python3_sitelib}/_mathgl.so


  #Remove static libraries generated by cmake
@@ -633,7 +633,7 @@ 

  %dir %{_datadir}/udav/


  %files -n python2-mathgl

- %{python_sitelib}/*

+ %{python2_sitelib}/*


  %files -n python3-mathgl

@@ -689,6 +689,10 @@ 




+ * Tue Jul 17 2018 Miro Hrončok <mhroncok@redhat.com> - 2.4.1-9

+ - Update Python macros to new packaging standards

+   (See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package)


  * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-8

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild


This package uses macros with ambiguous python.

According to Fedora Packaging guidelines for Python, packages must use macros with either python2 or python3.

This PR is part of Fedora's Change Move /usr/bin/python into a separate package.

Note that, although this PR was created automatically, we will respond to any comments or issues which you might find with it. We will keep the PR open for review for a week, and if there's no feedback we'll merge and build it.
For Koji scratch build please see simple-koji-ci result.

This PR was opened automatically, for source code see here

Pull-Request has been closed by krege

4 years ago

The changes were already done.