public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/glances] epel10: Fix for Python2 and python3 packages for glances 2.6.1
@ 2026-08-30 14:23 Edouard Bourguignon
  0 siblings, 0 replies; 2+ messages in thread
From: Edouard Bourguignon @ 2026-08-30 14:23 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/glances
Branch : epel10
Commit : e5c4ba0bd2be76375e119ba2f0b351736133ab63
Author : Edouard Bourguignon <madko@linuxed.net>
Date   : 2016-10-16T15:31:47+02:00
Stats  : +4/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/glances/c/e5c4ba0bd2be76375e119ba2f0b351736133ab63?branch=epel10

Log:
Fix for Python2 and python3 packages for glances 2.6.1

---
diff --git a/glances.spec b/glances.spec
index b72b9cd..9db1a8d 100644
--- a/glances.spec
+++ b/glances.spec
@@ -15,9 +15,6 @@ BuildRequires:  python2-devel python3-devel
 BuildRequires:	python-setuptools python3-setuptools
 BuildRequires:	python2-psutil >= 2.0.0
 BuildRequires:	python3-psutil >= 2.0.0
-Requires:	python-setuptools python3-setuptools
-Requires:	python2-psutil >= 2.0.0
-Requires:	python3-psutil >= 2.0.0
 
 %description
 Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD.
@@ -28,6 +25,8 @@ It is developed in Python.
 
 
 %package -n python2-%{srcname}
+Requires:	python-setuptools
+Requires:	python2-psutil >= 2.0.0
 Summary:        %{sum}
 %{?python_provide:%python_provide python2-%{srcname}}
 
@@ -40,6 +39,8 @@ It is developed in Python.
 
 
 %package -n python3-%{srcname}
+Requires:	python3-setuptools
+Requires:	python3-psutil >= 2.0.0
 Summary:        %{sum}
 %{?python_provide:%python_provide python3-%{srcname}}
 
@@ -78,7 +79,6 @@ rm -rf %{buildroot}
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING README.rst NEWS 
 %license COPYING
-%{_bindir}/glances
 %{python2_sitelib}/%{name}/
 %{python2_sitelib}/Glances-%{version}-py%{python2_version}.egg-info/
 %exclude %{_datadir}/doc/glances

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rpms/glances] epel10: Fix for Python2 and python3 packages for glances 2.6.1
@ 2026-08-30 14:23 Edouard Bourguignon
  0 siblings, 0 replies; 2+ messages in thread
From: Edouard Bourguignon @ 2026-08-30 14:23 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/glances
Branch : epel10
Commit : c59c5594d8252216a3ac9e171716f85eb28eaa3d
Author : Edouard Bourguignon <madko@linuxed.net>
Date   : 2016-10-16T15:19:11+02:00
Stats  : +10/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/glances/c/c59c5594d8252216a3ac9e171716f85eb28eaa3d?branch=epel10

Log:
Fix for Python2 and python3 packages for glances 2.6.1

---
diff --git a/glances.spec b/glances.spec
index 18b51c9..b72b9cd 100644
--- a/glances.spec
+++ b/glances.spec
@@ -63,6 +63,7 @@ It is developed in Python.
 # overwritten with every setup.py install, and in general we want the
 # python3 version to be the default.
 %py2_install
+rm %{buildroot}%{_bindir}/*
 %py3_install
 
 %check
@@ -76,21 +77,28 @@ rm -rf %{buildroot}
 %files -n python2-%{srcname}
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING README.rst NEWS 
+%license COPYING
 %{_bindir}/glances
-%{python2_sitelib}/*
+%{python2_sitelib}/%{name}/
+%{python2_sitelib}/Glances-%{version}-py%{python2_version}.egg-info/
 %exclude %{_datadir}/doc/glances
 %{_datadir}/man/man1/glances.1.gz
 
 %files -n python3-%{srcname}
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING README.rst NEWS
+%license COPYING
 %{_bindir}/glances
-%{python3_sitelib}/*
+%{python3_sitelib}/%{name}/
+%{python3_sitelib}/Glances-%{version}-py%{python3_version}.egg-info/
 %exclude %{_datadir}/doc/glances
 %{_datadir}/man/man1/glances.1.gz
 
 
 %changelog
+* Sun Oct 16 2016 Edouard Bourguignon <madko@linuxed.net> - 2.6.1-3
+- Fix for python2 and python3 packages
+
 * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-2
 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-30 14:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-30 14:23 [rpms/glances] epel10: Fix for Python2 and python3 packages for glances 2.6.1 Edouard Bourguignon
  -- strict thread matches above, loose matches on Subject: below --
2026-08-30 14:23 Edouard Bourguignon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox