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/ncrack] rawhide: spec cleanup and modernization, silent rpmlint
Date: Sun, 26 Jul 2026 02:40:14 GMT	[thread overview]
Message-ID: <178503361463.1.15142556432564281744.rpms-ncrack-15723dedd509@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ncrack
Branch : rawhide
Commit : 15723dedd509fae5075b1fd6d382b99eba2d1ecb
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-07-25T23:22:27-03:00
Stats  : +7/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ncrack/c/15723dedd509fae5075b1fd6d382b99eba2d1ecb?branch=rawhide

Log:
spec cleanup and modernization, silent rpmlint

---
diff --git a/ncrack.spec b/ncrack.spec
index 1da1242..3fce7f7 100644
--- a/ncrack.spec
+++ b/ncrack.spec
@@ -1,5 +1,3 @@
-%global debug_package %{nil}
-
 Name:           ncrack
 Version:        0.7
 Release:        %autorelease
@@ -22,9 +20,9 @@ Patch4:         ncrack-0.7-fedora-openssl.patch
 
 BuildRequires:  autoconf
 BuildRequires:  automake
-BuildRequires:  make
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
+BuildRequires:  make
 BuildRequires:  openssl-devel
 BuildRequires:  zlib-devel
 
@@ -43,19 +41,22 @@ multiple hosts.
 
 %build
 autoreconf -ivf
-export CFLAGS="${RPM_OPT_FLAGS} -fcommon"
+export CFLAGS="%{build_cflags} -fcommon"
 %configure
 %make_build
 
 %install
-%make_install
+%make_install STRIP=true
+
+%check
+# Upstream does not provide a test suite
 
 %files
 %doc CHANGELOG README.md
 %license COPYING
 %{_bindir}/%{name}
 %{_mandir}/man1/%{name}.1*
-%{_datadir}/%{name}/*
+%{_datadir}/%{name}/
 
 %changelog
 %autochangelog

                 reply	other threads:[~2026-07-26  2:40 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=178503361463.1.15142556432564281744.rpms-ncrack-15723dedd509@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