public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/wavemon] f44: - Fix FTBFS rawhide
@ 2026-07-02 11:58 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-07-02 11:58 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/wavemon
Branch : f44
Commit : 12e090a9e38b4c52d8c4ca420de8be14db1f4b99
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2018-02-04T20:07:24-02:00
Stats  : +22/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/wavemon/c/12e090a9e38b4c52d8c4ca420de8be14db1f4b99?branch=f44

Log:
- Fix FTBFS rawhide

---
diff --git a/wavemon.spec b/wavemon.spec
index 0c3adf6..3fa8f5c 100644
--- a/wavemon.spec
+++ b/wavemon.spec
@@ -1,6 +1,8 @@
+%undefine _hardened_build
+
 Name:           wavemon
 Version:        0.8.1
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Ncurses-based monitoring application for wireless network devices
 
 License:        GPLv2+
@@ -10,6 +12,8 @@ Source0:        https://github.com/uoaerg/wavemon/archive/v%{version}.tar.gz#/%{
 BuildRequires:  ncurses-devel
 BuildRequires:  libpcap-devel
 BuildRequires:  libnl3-devel
+BuildRequires:  autoconf
+BuildRequires:  automake
 
 %description
 wavemon is a wireless device monitoring application that allows you to
@@ -22,11 +26,21 @@ visually. wavemon is able to list of access points in range and shows
 full-screen level histogram displaying signal/noise levels and SNR.
 
 %prep
-%setup -q
+%autosetup
+sed -e '/^CFLAGS=/d' -i configure.ac
+sed -r 's|\?=|=|g' -i Makefile.in
+autoreconf -fiv
+
 
 %build
+CFLAGS="$RPM_OPT_FLAGS -fPIC -pie -Wl,-z,relro -Wl,-z,now"
+CXXFLAGS="$RPM_OPT_FLAGS -fPIC -pie -Wl,-z,relro -Wl,-z,now"
+
+export CFLAGS
+export CXXFLAGS
+
 %configure
-make CFLAGS="%{optflags} -pthread" %{?_smp_mflags}
+make %{?_smp_mflags}
 
 %install
 %make_install
@@ -34,12 +48,15 @@ make CFLAGS="%{optflags} -pthread" %{?_smp_mflags}
 rm -rf %{buildroot}%{_datadir}/%{name}/*
 
 %files
-%doc AUTHORS ChangeLog README NEWS THANKS
+%doc AUTHORS ChangeLog
 %license COPYING
 %{_mandir}/man*/%{name}*.*
 %{_bindir}/%{name}
 
 %changelog
+* Sun Feb 04 2018 Filipe Rosset <rosset.filipe@gmail.com> - 0.8.1-6
+- Fix FTBFS rawhide
+
 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
 
@@ -55,7 +72,7 @@ rm -rf %{buildroot}%{_datadir}/%{name}/*
 * Sat Jan 21 2017 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.1-1
 - Update to latest upstream release 0.8.1 (rhbz#1396756)
 
-* Tue Nov 20 2016 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.0-2
+* Sun Nov 20 2016 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.0-2
 - Fix build failure
 
 * Tue Nov 08 2016 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.0-1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-02 11:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 11:58 [rpms/wavemon] f44: - Fix FTBFS rawhide Filipe Rosset

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