#3 Fix directory ownership in python subpackages
Merged 4 years ago by ignatenkobrain. Opened 4 years ago by lbalhar.
rpms/ lbalhar/python-nbconvert master  into  master

file modified
+6 -3
@@ -2,7 +2,7 @@ 

  

  Name:           python-%{pypi_name}

  Version:        5.3.1

- Release:        2%{?dist}

+ Release:        3%{?dist}

  Summary:        Converting Jupyter Notebooks

  

  License:        BSD and MIT
@@ -120,19 +120,22 @@ 

  %license LICENSE

  %doc docs/README.md

  %{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info

- %{python2_sitelib}/%{pypi_name}/*

+ %{python2_sitelib}/%{pypi_name}/

  

  %files -n python3-%{pypi_name}

  %license LICENSE

  %doc docs/README.md

  %{_bindir}/jupyter-nbconvert

  %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info

- %{python3_sitelib}/%{pypi_name}/*

+ %{python3_sitelib}/%{pypi_name}/

  

  %files -n python-%{pypi_name}-doc

  %doc html

  

  %changelog

+ * Wed Jan 03 2018 Lumír Balhar <lbalhar@redhat.com> - 5.3.1-3

+ - Fix directory ownership in python subpackages

+ 

  * Wed Dec 27 2017 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 5.3.1-2

  - license file renamed to LICENSE (from copying.md)

  

Hello.

The problem here I am trying to solve is that some directory in /usr/lib*/python*/site-packages/<package_name> were not owned by your packages and remain untouched after uninstallation process.

Have a nice day.

Pull-Request has been merged by ignatenkobrain

4 years ago