public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/wavemon] f44: - Fix FTBFS rawhide
Date: Thu, 02 Jul 2026 11:58:49 GMT	[thread overview]
Message-ID: <178299352920.1.1560714215760337553.rpms-wavemon-12e090a9e38b@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-07-02 11:58 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=178299352920.1.1560714215760337553.rpms-wavemon-12e090a9e38b@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --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