public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ncrack] rawhide: spec cleanup and modernization, silent rpmlint
@ 2026-07-26 2:40 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-07-26 2:40 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-26 2:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-26 2:40 [rpms/ncrack] rawhide: spec cleanup and modernization, silent rpmlint Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox