public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/glances] epel10: patch to allow mock build
@ 2026-08-30 14:22 Edouard Bourguignon
0 siblings, 0 replies; only message in thread
From: Edouard Bourguignon @ 2026-08-30 14:22 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-30 14:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-30 14:22 [rpms/glances] epel10: patch to allow mock build Edouard Bourguignon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox