From a28d22cc5c5a1c922f8f2e1a415fca96cc7eb2b2 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Mon, 1 Sep 2008 09:41:44 +0000 Subject: [PATCH 01/54] - recreated bwbar.daemon.patch to apply cleanly --- bwbar.daemon.patch | 15 ++++++--------- bwbar.spec | 7 +++++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/bwbar.daemon.patch b/bwbar.daemon.patch index 0bf309e..47ad301 100644 --- a/bwbar.daemon.patch +++ b/bwbar.daemon.patch @@ -1,5 +1,6 @@ ---- bwbar.c.orig 2004-07-16 15:05:08.000000000 +0200 -+++ bwbar.c 2004-07-16 15:11:03.000000000 +0200 +diff -u bwbar-1.2.3/bwbar.c bwbar-1.2.3.new/bwbar.c +--- bwbar-1.2.3/bwbar.c 2006-08-26 18:31:26.000000000 +0200 ++++ bwbar-1.2.3.new/bwbar.c 2008-09-01 11:30:41.000000000 +0200 @@ -156,6 +156,7 @@ { "kbps", 0, 0, 'k' }, { "Mbps", 0, 0, 'M' }, @@ -39,19 +40,15 @@ case 'h': usage(0); break; -@@ -278,7 +284,12 @@ - +@@ -279,6 +285,11 @@ first = 1; lbin = 0; lbout = 0; -- -+ + + if ( daemon_mode == 1) { + if ( fork() != 0) + return 0; + } + gettimeofday(&t_last, NULL); - + while ( 1 ) { - - /**** Begin code that obtains bandwidth data ****/ diff --git a/bwbar.spec b/bwbar.spec index 6b27f14..d84231e 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 2 +Release: 3 License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -22,7 +22,7 @@ of the current bandwidth use. It is currently for Linux only. %prep %setup -q -%patch0 -p0 +%patch0 -p1 %patch1 -p0 %patch2 -p0 @@ -69,6 +69,9 @@ fi %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Mon Sep 01 2008 Adrian Reber - 1.2.3-3 +- recreated bwbar.daemon.patch to apply cleanly + * Fri Feb 15 2008 Adrian Reber - 1.2.3-2 - rebuilt for gcc43 From d23fb21b6ed912acb4f9167fe0dffd4340b6c30a Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 24 Feb 2009 06:06:39 +0000 Subject: [PATCH 02/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index d84231e..b644f91 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 3 +Release: 4 License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -69,6 +69,9 @@ fi %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Mon Feb 23 2009 Fedora Release Engineering - 1.2.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + * Mon Sep 01 2008 Adrian Reber - 1.2.3-3 - recreated bwbar.daemon.patch to apply cleanly From a2cd6a2ed839dd8aab9597313490623d1802794d Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Fri, 24 Jul 2009 18:30:18 +0000 Subject: [PATCH 03/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index b644f91..4672036 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 4 +Release: 5 License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -69,6 +69,9 @@ fi %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Fri Jul 24 2009 Fedora Release Engineering - 1.2.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + * Mon Feb 23 2009 Fedora Release Engineering - 1.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild From c267e65495758f4e119cc108bacda6b759b56ad8 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 25 Nov 2009 22:46:08 +0000 Subject: [PATCH 04/54] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 11b7ba9..cf38be1 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := bwbar SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 605a5601ab1b7e59695603f3067fed4409344be9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 11:20:30 +0000 Subject: [PATCH 05/54] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- 2 files changed, 21 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index cf38be1..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: bwbar -# $Id$ -NAME := bwbar -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) From a4bdcf97cd2c029e4942642418a7f50056cd21c0 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 8 Feb 2011 00:05:25 -0600 Subject: [PATCH 06/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 4672036..28ae810 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 5 +Release: 6 License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -69,6 +69,9 @@ fi %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Tue Feb 08 2011 Fedora Release Engineering - 1.2.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Fri Jul 24 2009 Fedora Release Engineering - 1.2.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild From 4191aadcee9f2642f3e4d1a767c02091b520b151 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Thu, 31 Mar 2011 22:38:58 +0200 Subject: [PATCH 07/54] added dist tag --- bwbar.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 28ae810..74353ad 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 6 +Release: 6%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 From 4498ed011cc64a0051041efc31ca07fbf590e0a1 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Thu, 31 Mar 2011 22:50:59 +0200 Subject: [PATCH 08/54] fix patch (**** rejecting target file name with ".." component) --- bwbar.debian-020_proc_net_2.6.x_fix.patch | 4 ++-- bwbar.spec | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/bwbar.debian-020_proc_net_2.6.x_fix.patch b/bwbar.debian-020_proc_net_2.6.x_fix.patch index 4de3fc9..585ba36 100644 --- a/bwbar.debian-020_proc_net_2.6.x_fix.patch +++ b/bwbar.debian-020_proc_net_2.6.x_fix.patch @@ -1,5 +1,5 @@ ---- bwbar.c 2004-06-01 14:54:12.000000000 -0500 -+++ ../tmp/bwbar-1.2/bwbar.c 2004-05-12 00:58:50.000000000 -0500 +--- bwbar.c.org 2004-06-01 14:54:12.000000000 -0500 ++++ bwbar.c 2004-05-12 00:58:50.000000000 -0500 @@ -315,7 +315,7 @@ /* Get interface info */ diff --git a/bwbar.spec b/bwbar.spec index 74353ad..5a90f2c 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -69,6 +69,9 @@ fi %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Thu Mar 31 2011 Adrian Reber - 1.2.3-7 +- fix patch (**** rejecting target file name with ".." component) + * Tue Feb 08 2011 Fedora Release Engineering - 1.2.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From 390d47f09e7ce858b69aa677e33433e1c7bd54f5 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 5 Dec 2011 22:45:40 -0500 Subject: [PATCH 09/54] Rebuild for new libpng --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 5a90f2c..24ea48f 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -69,6 +69,9 @@ fi %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Tue Dec 06 2011 Adam Jackson - 1.2.3-8 +- Rebuild for new libpng + * Thu Mar 31 2011 Adrian Reber - 1.2.3-7 - fix patch (**** rejecting target file name with ".." component) From bad707bdc1ac124ab0ae4eb44800f17b2b7e60b4 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Tue, 6 Dec 2011 10:02:13 +0100 Subject: [PATCH 10/54] fix build failure with new libpng --- bwbar.spec | 7 ++++++- bwbar.zlib.h.patch | 10 ++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 bwbar.zlib.h.patch diff --git a/bwbar.spec b/bwbar.spec index 24ea48f..b89b6e4 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 8%{?dist} +Release: 9%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -10,6 +10,7 @@ Source2: bwbar.8 Patch0: bwbar.daemon.patch Patch1: bwbar.debian-010_directory_option.patch Patch2: bwbar.debian-020_proc_net_2.6.x_fix.patch +Patch3: bwbar.zlib.h.patch URL: http://www.kernel.org/pub/software/web/bwbar/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libpng-devel @@ -25,6 +26,7 @@ of the current bandwidth use. It is currently for Linux only. %patch0 -p1 %patch1 -p0 %patch2 -p0 +%patch3 -p1 %build %configure @@ -69,6 +71,9 @@ fi %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Tue Dec 06 2011 Adrian Reber - 1.2.3-9 +- fix build failure with new libpng + * Tue Dec 06 2011 Adam Jackson - 1.2.3-8 - Rebuild for new libpng diff --git a/bwbar.zlib.h.patch b/bwbar.zlib.h.patch new file mode 100644 index 0000000..662e9f3 --- /dev/null +++ b/bwbar.zlib.h.patch @@ -0,0 +1,10 @@ +--- a/bwbar.c 2011-12-06 10:00:01.352136282 +0100 ++++ b/bwbar.c 2011-12-06 09:59:56.283150202 +0100 +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + + void skipline(FILE *f) + { From d362ff376b6cd83076df8bb969a786505bc2b182 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Tue, 6 Dec 2011 10:12:48 +0100 Subject: [PATCH 11/54] fix build failure with new libpng --- bwbar.zlib.h.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bwbar.zlib.h.patch b/bwbar.zlib.h.patch index 662e9f3..060ba80 100644 --- a/bwbar.zlib.h.patch +++ b/bwbar.zlib.h.patch @@ -8,3 +8,12 @@ void skipline(FILE *f) { +@@ -79,7 +80,7 @@ + if ( !info_ptr ) + goto barf; + +- if ( setjmp(png_ptr->jmpbuf) ) { ++ if ( setjmp(png_jmpbuf((png_ptr))) ) { + status = 1; + goto barf; /* libpng abort */ + } From d52712d87771958dbd3f7db5c0dce49042741669 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 12 Jan 2012 16:54:27 -0600 Subject: [PATCH 12/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index b89b6e4..f6735f7 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -71,6 +71,9 @@ fi %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Thu Jan 12 2012 Fedora Release Engineering - 1.2.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Tue Dec 06 2011 Adrian Reber - 1.2.3-9 - fix build failure with new libpng From 2adc811f9da0d1cdf5eae5e66dd2582d2c5cd134 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Wed, 25 Jan 2012 22:13:21 +0100 Subject: [PATCH 13/54] added systemd files --- bwbar | 71 --------------------------------------------------- bwbar.spec | 46 +++++++++++++++++++++++---------- bwbar.systemd | 11 ++++++++ 3 files changed, 43 insertions(+), 85 deletions(-) delete mode 100644 bwbar create mode 100644 bwbar.systemd diff --git a/bwbar b/bwbar deleted file mode 100644 index 2923c0e..0000000 --- a/bwbar +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash -# -# Starting bwbar as daemon -# Author: Adrian Reber -# -# chkconfig: - 50 01 -# -# description: start bwbar as daemon -# processname: bwbar - -# source function library -. /etc/rc.d/init.d/functions - -# Source networking configuration. -[ -r /etc/sysconfig/network ] && . /etc/sysconfig/network - -# Check that networking is up. -[ "${NETWORKING}" = "no" ] && exit 0 - - -if [ -f /etc/sysconfig/bwbar ]; then - . /etc/sysconfig/bwbar -fi - -if [ -z $BWBAR_USER ]; then - exit 0 -fi - -RETVAL=0 - -start() { - echo -n "Starting bwbar: " - daemon --user $BWBAR_USER bwbar $OPTIONS - RETVAL=$? - echo -} - -stop() { - echo -n "Stopping bwbar: " - killproc bwbar - RETVAL=$? - echo -} - -restart() { - stop - start -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart) - restart - ;; - reload) - restart - ;; - status) - status bwbar - ;; - *) - echo $"Usage: $0 {start|stop|status|restart}" - exit 1 -esac - -exit $RETVAL diff --git a/bwbar.spec b/bwbar.spec index f6735f7..7aa7d2d 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,11 +1,11 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 10%{?dist} +Release: 11%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 -Source1: bwbar +Source1: bwbar.systemd Source2: bwbar.8 Patch0: bwbar.daemon.patch Patch1: bwbar.debian-010_directory_option.patch @@ -13,9 +13,10 @@ Patch2: bwbar.debian-020_proc_net_2.6.x_fix.patch Patch3: bwbar.zlib.h.patch URL: http://www.kernel.org/pub/software/web/bwbar/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: libpng-devel -Requires(post): chkconfig -Requires(preun): chkconfig /sbin/service +BuildRequires: libpng-devel systemd-units +Requires(post): systemd-units, systemd-sysv +Requires(preun): systemd-units +Requires(postun): systemd-units %description bwbar is a small program that generates a text and a graphical readout @@ -39,25 +40,39 @@ of the current bandwidth use. It is currently for Linux only. %{__mkdir_p} $RPM_BUILD_ROOT%{_initrddir} %{__mkdir_p} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig %{__install} -m 755 %{name} $RPM_BUILD_ROOT%{_bindir} -%{__install} -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir} +%{__install} -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir} %{__install} -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man8 %{__cat} >> $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/bwbar << END -#OPTIONS="-D eth0 100 -d /path/to/outdir" -#BWBAR_USER="please_define_a_user" +#OPTIONS="eth0 100 -d /path/to/outdir" END %post -if [ "$1" -eq "1" ]; then - /sbin/chkconfig --add %{name} +if [ $1 -eq 1 ] ; then + # Initial installation + /bin/systemctl daemon-reload >/dev/null 2>&1 || : fi %preun -if [ "$1" -eq "0" ]; then - /sbin/service %{name} stop > /dev/null 2>&1 - /sbin/chkconfig --del %{name} +if [ $1 -eq 0 ] ; then + # Package removal, not upgrade + /bin/systemctl --no-reload disable %{name}.service > /dev/null 2>&1 || : + /bin/systemctl stop %{name}.service > /dev/null 2>&1 || : fi +%postun +/bin/systemctl daemon-reload >/dev/null 2>&1 || : +if [ $1 -ge 1 ] ; then + # Package upgrade, not uninstall + /bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || : +fi + +%triggerun -- %{name} < 1.2.3-11 +/usr/bin/systemd-sysv-convert --save %{name} >/dev/null 2>&1 ||: +/bin/systemctl --no-reload enable %{name}.service >/dev/null 2>&1 ||: +/sbin/chkconfig --del %{name} >/dev/null 2>&1 || : +/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || : + %clean %{__rm} -rf $RPM_BUILD_ROOT @@ -67,10 +82,13 @@ fi %doc README %{_bindir}/%{name} %{_mandir}/man8/* -%{_initrddir}/%{name} +%{_unitdir}/%{name}.service %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* wed Jan 25 2012 Adrian Reber - 1.2.3-11 +- added systemd files + * Thu Jan 12 2012 Fedora Release Engineering - 1.2.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/bwbar.systemd b/bwbar.systemd new file mode 100644 index 0000000..7139f2d --- /dev/null +++ b/bwbar.systemd @@ -0,0 +1,11 @@ +[Unit] +Description=Bandwith Usage Monitor +After=network.target + +[Service] +EnvironmentFile=-/etc/sysconfig/bwbar +ExecStart=/usr/bin/bwbar $OPTIONS +#User=BWBAR_USER + +[Install] +WantedBy=multi-user.target From c084add5b107383e437a0c8a13b07f03d0d40465 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Wed, 25 Jan 2012 22:15:12 +0100 Subject: [PATCH 14/54] added systemd files --- bwbar.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 7aa7d2d..569990c 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -86,7 +86,7 @@ fi %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog -* wed Jan 25 2012 Adrian Reber - 1.2.3-11 +* Wed Jan 25 2012 Adrian Reber - 1.2.3-11 - added systemd files * Thu Jan 12 2012 Fedora Release Engineering - 1.2.3-10 From 7e98a752e3b9cdf669da12f3e766a55052adea40 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Wed, 25 Jan 2012 22:21:12 +0100 Subject: [PATCH 15/54] added systemd files --- bwbar.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 569990c..995ca9b 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -40,7 +40,7 @@ of the current bandwidth use. It is currently for Linux only. %{__mkdir_p} $RPM_BUILD_ROOT%{_initrddir} %{__mkdir_p} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig %{__install} -m 755 %{name} $RPM_BUILD_ROOT%{_bindir} -%{__install} -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir} +%{__install} -m 755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service %{__install} -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man8 %{__cat} >> $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/bwbar << END From 22e56266c04f45b7620a4b4d1a3bfee172afb4be Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Thu, 26 Jan 2012 22:49:22 +0100 Subject: [PATCH 16/54] added systemd files almost remove '-D' daemon feature (not needed with systemd) --- bwbar.daemon.patch | 44 +------------------------------------------- bwbar.spec | 1 + 2 files changed, 2 insertions(+), 43 deletions(-) diff --git a/bwbar.daemon.patch b/bwbar.daemon.patch index 47ad301..0efebc0 100644 --- a/bwbar.daemon.patch +++ b/bwbar.daemon.patch @@ -1,27 +1,7 @@ diff -u bwbar-1.2.3/bwbar.c bwbar-1.2.3.new/bwbar.c --- bwbar-1.2.3/bwbar.c 2006-08-26 18:31:26.000000000 +0200 +++ bwbar-1.2.3.new/bwbar.c 2008-09-01 11:30:41.000000000 +0200 -@@ -156,6 +156,7 @@ - { "kbps", 0, 0, 'k' }, - { "Mbps", 0, 0, 'M' }, - { "Gbps", 0, 0, 'G' }, -+ { "Daemon", 0, 0, 'D' }, - { "help", 0, 0, 'h' }, - { 0, 0, 0, 0 } - }; -@@ -178,6 +179,7 @@ - " --kbps -k Bandwidth is measured in kbit/s\n" - " --Mbps -M Bandwidth is measured in Mbit/s (default)\n" - " --Gbps -G Bandwidth is measured in Gbit/s\n" -+ " --Daemon -D Run as daemon\n" - " --help -h Display this text\n", - program); - exit(err); -@@ -211,10 +213,11 @@ - int width = 600; /* Bar width */ - int height = 4; /* Bar height */ - int border = 1; /* Bar border */ -+ int daemon_mode = 0; /* run as daemon */ +@@ -214,7 +214,7 @@ program = argv[0]; @@ -30,25 +10,3 @@ diff -u bwbar-1.2.3/bwbar.c bwbar-1.2.3.new/bwbar.c switch ( opt ) { case 'i': measure_input = 1; -@@ -252,6 +255,9 @@ - unit = 1.0e+9; - unit_name = "Gbit/s"; - break; -+ case 'D': -+ daemon_mode = 1; -+ break; - case 'h': - usage(0); - break; -@@ -279,6 +285,11 @@ - first = 1; - lbin = 0; lbout = 0; - -+ if ( daemon_mode == 1) { -+ if ( fork() != 0) -+ return 0; -+ } -+ - gettimeofday(&t_last, NULL); - - while ( 1 ) { diff --git a/bwbar.spec b/bwbar.spec index 995ca9b..70d2371 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -88,6 +88,7 @@ fi %changelog * Wed Jan 25 2012 Adrian Reber - 1.2.3-11 - added systemd files +- almost remove '-D' daemon feature (not needed with systemd) * Thu Jan 12 2012 Fedora Release Engineering - 1.2.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From 0069ebfb36b28c375f361b345cf8a8360b11dbb2 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Sun, 29 Jan 2012 11:54:52 +0100 Subject: [PATCH 17/54] added systemd files almost remove '-D' daemon feature (not needed with systemd) --- bwbar.daemon.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/bwbar.daemon.patch b/bwbar.daemon.patch index 0efebc0..7ba45d1 100644 --- a/bwbar.daemon.patch +++ b/bwbar.daemon.patch @@ -1,7 +1,7 @@ diff -u bwbar-1.2.3/bwbar.c bwbar-1.2.3.new/bwbar.c --- bwbar-1.2.3/bwbar.c 2006-08-26 18:31:26.000000000 +0200 +++ bwbar-1.2.3.new/bwbar.c 2008-09-01 11:30:41.000000000 +0200 -@@ -214,7 +214,7 @@ +@@ -214,7 +216,7 @@ program = argv[0]; @@ -10,3 +10,12 @@ diff -u bwbar-1.2.3/bwbar.c bwbar-1.2.3.new/bwbar.c switch ( opt ) { case 'i': measure_input = 1; +@@ -260,6 +260,8 @@ + unit = 1.0e+9; + unit_name = "Gbit/s"; + break; ++ case 'D': ++ break; + case 'h': + usage(0); + break; From 8c612ade4cb42683e48d411169b551dbdb9d5426 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 18 Jul 2012 13:25:03 -0500 Subject: [PATCH 18/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 70d2371..b50eceb 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 11%{?dist} +Release: 12%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -86,6 +86,9 @@ fi %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Wed Jul 18 2012 Fedora Release Engineering - 1.2.3-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Wed Jan 25 2012 Adrian Reber - 1.2.3-11 - added systemd files - almost remove '-D' daemon feature (not needed with systemd) From b82cb67e1353935e00f804ddcbadd66fc7baaed5 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Tue, 21 Aug 2012 16:12:07 +0200 Subject: [PATCH 19/54] fix for "Introduce new systemd-rpm macros in bwbar spec file" (#850052) --- bwbar.spec | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/bwbar.spec b/bwbar.spec index b50eceb..e9ce0cd 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 12%{?dist} +Release: 13%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -40,7 +40,7 @@ of the current bandwidth use. It is currently for Linux only. %{__mkdir_p} $RPM_BUILD_ROOT%{_initrddir} %{__mkdir_p} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig %{__install} -m 755 %{name} $RPM_BUILD_ROOT%{_bindir} -%{__install} -m 755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service +%{__install} -m 644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service %{__install} -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man8 %{__cat} >> $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/bwbar << END @@ -48,24 +48,13 @@ of the current bandwidth use. It is currently for Linux only. END %post -if [ $1 -eq 1 ] ; then - # Initial installation - /bin/systemctl daemon-reload >/dev/null 2>&1 || : -fi +%systemd_post %{name}.service %preun -if [ $1 -eq 0 ] ; then - # Package removal, not upgrade - /bin/systemctl --no-reload disable %{name}.service > /dev/null 2>&1 || : - /bin/systemctl stop %{name}.service > /dev/null 2>&1 || : -fi +%systemd_preun %{name}.service %postun -/bin/systemctl daemon-reload >/dev/null 2>&1 || : -if [ $1 -ge 1 ] ; then - # Package upgrade, not uninstall - /bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || : -fi +%systemd_postun_with_restart %{name}.service %triggerun -- %{name} < 1.2.3-11 /usr/bin/systemd-sysv-convert --save %{name} >/dev/null 2>&1 ||: @@ -86,6 +75,9 @@ fi %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Tue Aug 21 2012 Adrian Reber - 1.2.3-13 +- fix for "Introduce new systemd-rpm macros in bwbar spec file" (#850052) + * Wed Jul 18 2012 Fedora Release Engineering - 1.2.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From 1a465b87a933addc691b5492773fc97e6dbef69c Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 13 Feb 2013 12:07:08 -0600 Subject: [PATCH 20/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index e9ce0cd..28c8080 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 13%{?dist} +Release: 14%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -75,6 +75,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Wed Feb 13 2013 Fedora Release Engineering - 1.2.3-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Tue Aug 21 2012 Adrian Reber - 1.2.3-13 - fix for "Introduce new systemd-rpm macros in bwbar spec file" (#850052) From 63ccbfecbb9b348d5a5dcae695aacef01a0a2004 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 2 Aug 2013 23:07:25 -0500 Subject: [PATCH 21/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 28c8080..b2af473 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 14%{?dist} +Release: 15%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -75,6 +75,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Sat Aug 03 2013 Fedora Release Engineering - 1.2.3-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Wed Feb 13 2013 Fedora Release Engineering - 1.2.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From e2b0bc7e97e2d055cac3806ace4aa48a1065a28b Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 6 Jun 2014 22:43:35 -0500 Subject: [PATCH 22/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index b2af473..3a9a14e 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 15%{?dist} +Release: 16%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -75,6 +75,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 1.2.3-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sat Aug 03 2013 Fedora Release Engineering - 1.2.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From 5911ff1b5d766de376faef2fc7822e069131e6d5 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 15 Aug 2014 23:16:47 +0000 Subject: [PATCH 23/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 3a9a14e..64b54b6 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 16%{?dist} +Release: 17%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -75,6 +75,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Fri Aug 15 2014 Fedora Release Engineering - 1.2.3-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sat Jun 07 2014 Fedora Release Engineering - 1.2.3-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 719437f4833b682ddba39e5c530fc3cd96ce6b8f Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 02:10:27 +0000 Subject: [PATCH 24/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 64b54b6..4483532 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 17%{?dist} +Release: 18%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -75,6 +75,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 1.2.3-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Fri Aug 15 2014 Fedora Release Engineering - 1.2.3-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From e5e585dcc61562e38239b2ca6632ec7540b913c7 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 17:18:10 +0000 Subject: [PATCH 25/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 4483532..329e563 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 18%{?dist} +Release: 19%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -75,6 +75,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 1.2.3-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jun 17 2015 Fedora Release Engineering - 1.2.3-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From f3ba7448471046d2c4d5c8ac6bd2736b410e2cdc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 07:08:43 +0000 Subject: [PATCH 26/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 329e563..32bcee2 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 19%{?dist} +Release: 20%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -75,6 +75,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 1.2.3-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Wed Feb 03 2016 Fedora Release Engineering - 1.2.3-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From f73cd60f8effcb5ff0d6b2f7f43deccfe4540ff0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 04:20:55 +0000 Subject: [PATCH 27/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 32bcee2..2191aab 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 20%{?dist} +Release: 21%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -75,6 +75,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 1.2.3-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Feb 10 2017 Fedora Release Engineering - 1.2.3-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From d2ef8516f926cddd00b19bb872c0f1e00612735d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 2 Aug 2017 18:28:59 +0000 Subject: [PATCH 28/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 2191aab..93c52dc 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 21%{?dist} +Release: 22%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -75,6 +75,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Wed Aug 02 2017 Fedora Release Engineering - 1.2.3-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 1.2.3-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 8782445e2ec9cde880b9879f8fd82566fb6cc59f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 04:19:24 +0000 Subject: [PATCH 29/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 93c52dc..b30c6a8 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 22%{?dist} +Release: 23%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -75,6 +75,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 1.2.3-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Aug 02 2017 Fedora Release Engineering - 1.2.3-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From a539cfe7322520a231d3539addc7fc29f59a31c2 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 13 Feb 2018 23:06:50 +0100 Subject: [PATCH 30/54] Remove BuildRoot definition None of currently supported distributions need that. It was needed last for EL5 which is EOL now Signed-off-by: Igor Gnatenko --- bwbar.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index b30c6a8..785da87 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -12,7 +12,6 @@ Patch1: bwbar.debian-010_directory_option.patch Patch2: bwbar.debian-020_proc_net_2.6.x_fix.patch Patch3: bwbar.zlib.h.patch URL: http://www.kernel.org/pub/software/web/bwbar/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libpng-devel systemd-units Requires(post): systemd-units, systemd-sysv Requires(preun): systemd-units From 2663bc9b6a1057e94193dfc48d248080904e09a4 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 09:15:49 +0100 Subject: [PATCH 31/54] Remove %clean section None of currently supported distributions need that. Last one was EL5 which is EOL for a while. Signed-off-by: Igor Gnatenko --- bwbar.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/bwbar.spec b/bwbar.spec index 785da87..b023f5a 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -62,9 +62,6 @@ END /bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || : -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files %defattr(-, root, root, 0755) %doc README From 4000a301123befa8f03784258629ef0cb15db2d9 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 9 Jul 2018 19:06:42 +0200 Subject: [PATCH 32/54] add BuildRequires: gcc Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot --- bwbar.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/bwbar.spec b/bwbar.spec index b023f5a..8e4c72d 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -12,6 +12,7 @@ Patch1: bwbar.debian-010_directory_option.patch Patch2: bwbar.debian-020_proc_net_2.6.x_fix.patch Patch3: bwbar.zlib.h.patch URL: http://www.kernel.org/pub/software/web/bwbar/ +BuildRequires: gcc BuildRequires: libpng-devel systemd-units Requires(post): systemd-units, systemd-sysv Requires(preun): systemd-units From 36167220928bfbee9620a3e0789e2592a9182428 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Tue, 10 Jul 2018 00:28:31 -0500 Subject: [PATCH 33/54] Remove needless use of %defattr --- bwbar.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 8e4c72d..1f8bf9d 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -64,7 +64,6 @@ END %files -%defattr(-, root, root, 0755) %doc README %{_bindir}/%{name} %{_mandir}/man8/* From 17503ebba8fb4f42075bd5cf6e0dc3faf90c353e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 12 Jul 2018 21:26:10 +0000 Subject: [PATCH 34/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 1f8bf9d..1521720 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 23%{?dist} +Release: 24%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -71,6 +71,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Thu Jul 12 2018 Fedora Release Engineering - 1.2.3-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 1.2.3-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From ad2f2c82fbcf96d3a2aff4de17acd70b46c4cd79 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:17:40 +0100 Subject: [PATCH 35/54] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- bwbar.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 1521720..78f7ac2 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -3,7 +3,6 @@ Name: bwbar Version: 1.2.3 Release: 24%{?dist} License: GPLv2+ -Group: System Environment/Base Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 Source1: bwbar.systemd Source2: bwbar.8 From 8e9d91ea0c5c784b2f8a26ed239867e96c896e15 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 15:02:35 +0000 Subject: [PATCH 36/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 78f7ac2..718f2c8 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 24%{?dist} +Release: 25%{?dist} License: GPLv2+ Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 Source1: bwbar.systemd @@ -70,6 +70,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 1.2.3-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Thu Jul 12 2018 Fedora Release Engineering - 1.2.3-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 6a3813681fce1ed11214a713eb440abbae255f01 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jul 2019 19:42:40 +0000 Subject: [PATCH 37/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 718f2c8..8c9c956 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 25%{?dist} +Release: 26%{?dist} License: GPLv2+ Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 Source1: bwbar.systemd @@ -70,6 +70,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Wed Jul 24 2019 Fedora Release Engineering - 1.2.3-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Jan 31 2019 Fedora Release Engineering - 1.2.3-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 335eaa8e1cddbc9e4b1f1a83e0ae83e5be7c8ea5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 13:26:23 +0000 Subject: [PATCH 38/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 8c9c956..38ca4d5 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 26%{?dist} +Release: 27%{?dist} License: GPLv2+ Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 Source1: bwbar.systemd @@ -70,6 +70,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 1.2.3-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Wed Jul 24 2019 Fedora Release Engineering - 1.2.3-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From d6d78df5f971ae2df55e96af23febed8d48ab132 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 13:30:19 +0000 Subject: [PATCH 39/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 38ca4d5..a768a33 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 27%{?dist} +Release: 28%{?dist} License: GPLv2+ Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 Source1: bwbar.systemd @@ -70,6 +70,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 1.2.3-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue Jan 28 2020 Fedora Release Engineering - 1.2.3-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From c7d452d157b2740f6ecf1274bf84497752ac3679 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 17 Dec 2020 03:12:44 +0000 Subject: [PATCH 40/54] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- bwbar.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/bwbar.spec b/bwbar.spec index a768a33..224d07e 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -13,6 +13,7 @@ Patch3: bwbar.zlib.h.patch URL: http://www.kernel.org/pub/software/web/bwbar/ BuildRequires: gcc BuildRequires: libpng-devel systemd-units +BuildRequires: make Requires(post): systemd-units, systemd-sysv Requires(preun): systemd-units Requires(postun): systemd-units From c217a5e525256c6580818d5ab89be836aa77dcdd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 01:30:07 +0000 Subject: [PATCH 41/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 224d07e..d6a7fb3 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 28%{?dist} +Release: 29%{?dist} License: GPLv2+ Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 Source1: bwbar.systemd @@ -71,6 +71,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 1.2.3-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 1.2.3-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 406e6453780293d72ff1f59f2dd97249e6941817 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 2 Mar 2021 16:14:06 +0100 Subject: [PATCH 42/54] Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. --- bwbar.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index d6a7fb3..d225f50 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 29%{?dist} +Release: 30%{?dist} License: GPLv2+ Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 Source1: bwbar.systemd @@ -71,6 +71,10 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 1.2.3-30 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + * Tue Jan 26 2021 Fedora Release Engineering - 1.2.3-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 48867c600d33062bb0d38923124af4d54f81ad15 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 14:02:10 +0000 Subject: [PATCH 43/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From b89d1a90f919a508337964fcf458771f5490ba5b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 18:59:33 +0000 Subject: [PATCH 44/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index d225f50..a083c96 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 30%{?dist} +Release: 31%{?dist} License: GPLv2+ Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 Source1: bwbar.systemd @@ -71,6 +71,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 1.2.3-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 1.2.3-30 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. From 566b4931a32d9a7e18016d5799cd66118dc61cad Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 22:43:24 +0000 Subject: [PATCH 45/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index a083c96..962b1f9 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 31%{?dist} +Release: 32%{?dist} License: GPLv2+ Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 Source1: bwbar.systemd @@ -71,6 +71,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 1.2.3-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Wed Jul 21 2021 Fedora Release Engineering - 1.2.3-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 6f0ba498917b2252f4aff4cca9c181a928066868 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 22:24:01 +0000 Subject: [PATCH 46/54] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 962b1f9..86a224d 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 32%{?dist} +Release: 33%{?dist} License: GPLv2+ Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 Source1: bwbar.systemd @@ -71,6 +71,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 1.2.3-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Wed Jan 19 2022 Fedora Release Engineering - 1.2.3-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From dbc8fa65624af5642b7cf8173160de0db9e71a9e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 18 Jan 2023 23:18:47 +0000 Subject: [PATCH 47/54] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 86a224d..05070eb 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 33%{?dist} +Release: 34%{?dist} License: GPLv2+ Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 Source1: bwbar.systemd @@ -71,6 +71,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Wed Jan 18 2023 Fedora Release Engineering - 1.2.3-34 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Wed Jul 20 2022 Fedora Release Engineering - 1.2.3-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 1d216101d9f9e5d7eb423bb78a8071a55be7b4ed Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 14:51:09 +0000 Subject: [PATCH 48/54] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 05070eb..5aff042 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 34%{?dist} +Release: 35%{?dist} License: GPLv2+ Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 Source1: bwbar.systemd @@ -71,6 +71,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 1.2.3-35 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Wed Jan 18 2023 Fedora Release Engineering - 1.2.3-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From b12a4965ab6e39e3111170988f5df3c7016bfe00 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 23 Jan 2024 00:59:11 +0000 Subject: [PATCH 49/54] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 5aff042..65b3188 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 35%{?dist} +Release: 36%{?dist} License: GPLv2+ Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 Source1: bwbar.systemd @@ -71,6 +71,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Tue Jan 23 2024 Fedora Release Engineering - 1.2.3-36 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 1.2.3-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 6c2e4c224f5d2d3081d9b1f146b3d6033eee8931 Mon Sep 17 00:00:00 2001 From: Software Management Team Date: Thu, 30 May 2024 12:46:46 +0200 Subject: [PATCH 50/54] Eliminate use of obsolete %patchN syntax (#2283636) --- bwbar.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bwbar.spec b/bwbar.spec index 65b3188..30191d1 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -24,10 +24,10 @@ of the current bandwidth use. It is currently for Linux only. %prep %setup -q -%patch0 -p1 -%patch1 -p0 -%patch2 -p0 -%patch3 -p1 +%patch -P0 -p1 +%patch -P1 -p0 +%patch -P2 -p0 +%patch -P3 -p1 %build %configure From ebd035b35aae2239716584c9117f1d5f1965f21d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 18:45:10 +0000 Subject: [PATCH 51/54] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 30191d1..5d23354 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 36%{?dist} +Release: 37%{?dist} License: GPLv2+ Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 Source1: bwbar.systemd @@ -71,6 +71,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 1.2.3-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Tue Jan 23 2024 Fedora Release Engineering - 1.2.3-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From bd558b648472d987685d17210e3be20b69d18de1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 25 Jul 2024 23:11:52 +0200 Subject: [PATCH 52/54] convert GPLv2+ license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- bwbar.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bwbar.spec b/bwbar.spec index 5d23354..48e00a6 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,8 +1,9 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 37%{?dist} -License: GPLv2+ +Release: 38%{?dist} +# Automatically converted from old format: GPLv2+ - review is highly recommended. +License: GPL-2.0-or-later Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 Source1: bwbar.systemd Source2: bwbar.8 @@ -71,6 +72,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Thu Jul 25 2024 Miroslav Suchý - 1.2.3-38 +- convert license to SPDX + * Wed Jul 17 2024 Fedora Release Engineering - 1.2.3-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From d5e20659723214d58f92f9e31c2359ce6563bdf8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 13:04:06 +0000 Subject: [PATCH 53/54] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 48e00a6..0638e28 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 38%{?dist} +Release: 39%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -72,6 +72,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 1.2.3-39 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jul 25 2024 Miroslav Suchý - 1.2.3-38 - convert license to SPDX From c893fe9b311e877cd745cacab913ce0c81ce6d95 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 17:58:36 +0000 Subject: [PATCH 54/54] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- bwbar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bwbar.spec b/bwbar.spec index 0638e28..e890e04 100644 --- a/bwbar.spec +++ b/bwbar.spec @@ -1,7 +1,7 @@ Summary: Generate a readout of the current bandwidth use Name: bwbar Version: 1.2.3 -Release: 39%{?dist} +Release: 40%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later Source0: http://www.kernel.org/pub/software/web/bwbar/bwbar-1.2.3.tar.bz2 @@ -72,6 +72,9 @@ END %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 1.2.3-40 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu Jan 16 2025 Fedora Release Engineering - 1.2.3-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild