public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/glances] epel10: Remove python2 subpackage, explicit requires
Date: Sun, 30 Aug 2026 14:23:11 GMT [thread overview]
Message-ID: <178809979127.1.3485263705401344557.rpms-glances-1c474b00353e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/glances
Branch : epel10
Commit : 1c474b00353ec25b576ffd3d9550ccc070bf0ac7
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2019-01-10T11:21:00+01:00
Stats : +9/-43 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/glances/c/1c474b00353ec25b576ffd3d9550ccc070bf0ac7?branch=epel10
Log:
Remove python2 subpackage, explicit requires
https://bugzilla.redhat.com/show_bug.cgi?id=1629828
---
diff --git a/glances.spec b/glances.spec
index a7c90d7..d4f4393 100644
--- a/glances.spec
+++ b/glances.spec
@@ -1,23 +1,18 @@
-%global sum CLI curses based monitoring tool
-
-Name: glances
+Name: glances
Version: 2.11.1
-Release: 5%{?dist}
-Summary: %{sum}
-
-Group: Applications/System
+Release: 6%{?dist}
+Summary: CLI curses based monitoring tool
License: GPLv3
URL: https://github.com/nicolargo/glances
Source0: https://github.com/nicolargo/glances/archive/v%{version}.tar.gz
BuildArch: noarch
-BuildRequires: python2-devel python3-devel
-BuildRequires: python2-setuptools python3-setuptools
-BuildRequires: python2-psutil >= 2.0.0
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
BuildRequires: python3-psutil >= 2.0.0
%{?python_provide:%python_provide python3-%{name}}
+Provides: python3-%{name} = %{version}-%{release}
Requires: python3-setuptools
-Requires: python3-psutil >= 2.0.0
%description
Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD.
@@ -26,50 +21,18 @@ Glances uses the PsUtil library to get information from your system.
It is developed in Python.
-
-%package -n python2-%{name}
-%{?python_provide:%python_provide python2-%{name}}
-Requires: python2-setuptools
-Requires: python2-psutil >= 2.0.0
-Summary: %{sum}
-Provides: %{name} = %{version}-%{release}
-%{?python_provide:%python_provide python2-%{name}}
-
-%description -n python2-%{name}
-Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD.
-
-Glances uses the PsUtil library to get information from your system.
-
-It is developed in Python.
-
-
%prep
%autosetup -n %{name}-%{version}
%build
-%py2_build
%py3_build
%install
-# Must do the python2 install first because the scripts in /usr/bin are
-# overwritten with every setup.py install, and in general we want the
-# python3 version to be the default.
-%py2_install
%py3_install
%check
-%{__python2} setup.py test
%{__python3} setup.py test
-
-%files -n python2-%{name}
-%doc AUTHORS COPYING README.rst NEWS
-%license COPYING
-%{python2_sitelib}/%{name}/
-%{python2_sitelib}/Glances-%{version}-py%{python2_version}.egg-info/
-%exclude %{_datadir}/doc/glances
-%{_datadir}/man/man1/glances.1.gz
-
%files
%doc AUTHORS COPYING README.rst NEWS
%license COPYING
@@ -81,6 +44,9 @@ It is developed in Python.
%changelog
+* Thu Jan 10 2019 Miro Hrončok <mhroncok@redhat.com> - 2.11.1-6
+- Remove python2 subpackage
+
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
reply other threads:[~2026-08-30 14:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178809979127.1.3485263705401344557.rpms-glances-1c474b00353e@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox