public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Edouard Bourguignon <madko@linuxed.net>
To: git-commits@fedoraproject.org
Subject: [rpms/glances] epel10: patch to allow mock build
Date: Sun, 30 Aug 2026 14:22:57 GMT [thread overview]
Message-ID: <178809977764.1.12307835943893188903.rpms-glances-bd5c4eadcfa6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/glances
Branch : epel10
Commit : bd5c4eadcfa6ee99823f855226fabcd9031fb5fc
Author : Edouard Bourguignon <madko@linuxed.net>
Date : 2014-12-14T11:55:54+01:00
Stats : +5/-3 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/glances/c/bd5c4eadcfa6ee99823f855226fabcd9031fb5fc?branch=epel10
Log:
patch to allow mock build
---
diff --git a/.gitignore b/.gitignore
index 02e2db8..f61b668 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
/v1.7.7.tar.gz
/v2.1.2.tar.gz
/v2.2.1.tar.gz
+/glances_no_root_needed.patch
diff --git a/glances.spec b/glances.spec
index 8179713..66e09c5 100644
--- a/glances.spec
+++ b/glances.spec
@@ -11,6 +11,7 @@ Group: Applications/System
License: GPLv3
URL: https://github.com/nicolargo/glances
Source0: https://github.com/nicolargo/glances/archive/v%{version}.tar.gz
+Patch0: glances_no_root_needed.patch
BuildArch: noarch
%if 0%{?rhel} && 0%{?rhel} <= 5
BuildRequires: python26-distribute
@@ -32,6 +33,7 @@ It is developed in Python.
%prep
%setup -q
+%patch0
%build
@@ -42,8 +44,6 @@ It is developed in Python.
%else
%{__python} setup.py install --root %{buildroot}
%endif
-install -D conf/glances.conf %{buildroot}%{_sysconfdir}/glances/glances.conf
-install -D conf/glances-test.conf %{buildroot}%{_sysconfdir}/glances/glances-test.conf
%find_lang %{name}
@@ -63,7 +63,7 @@ rm -rf %{buildroot}
%changelog
* Fri Jan 02 2015 Edouard Bourguignon <madko@linuxed.net> - 2.2.1-1
- Update to 2.2.1
-- Add glances.conf and glances-test.conf
+- Add patch to enable mock build (no need to be root)
* Mon Oct 20 2014 Edouard Bourguignon <madko@linuxed.net> - 2.1.2-2
- Remove old python-setuptools-devel, now using python-setuptools instead
diff --git a/sources b/sources
index e6eea0c..afe335a 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
d5f0b8e38662f64a538485a65cc50755 v2.2.1.tar.gz
+277d5e894df8fcbca49717888e33b2fd glances_no_root_needed.patch
reply other threads:[~2026-08-30 14:22 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=178809977764.1.12307835943893188903.rpms-glances-bd5c4eadcfa6@fedoraproject.org \
--to=madko@linuxed.net \
--cc=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