public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/nwipe] rawhide: spec cleanup and modernization
Date: Sat, 20 Jun 2026 22:56:47 GMT [thread overview]
Message-ID: <178199620735.1.3860925434164033808.rpms-nwipe-edb88f255936@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/nwipe
Branch : rawhide
Commit : edb88f2559367b6523a74e307e3bdd6a91260c0e
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-09T21:19:25-03:00
Stats : +10/-24 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/nwipe/c/edb88f2559367b6523a74e307e3bdd6a91260c0e?branch=rawhide
Log:
spec cleanup and modernization
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/nwipe.spec b/nwipe.spec
index feaef4c..e12ee2a 100644
--- a/nwipe.spec
+++ b/nwipe.spec
@@ -4,21 +4,15 @@ Release: %autorelease
Summary: Securely erase disks using a variety of recognized methods
-%global gituser martijnvanbrummelen
-%global gitname nwipe
-%global commit 7fe250480a2f49ab6686dbd3665c8039eca7e998
-%global gitdate 20260515
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
+%global forgeurl https://github.com/martijnvanbrummelen/nwipe
+%forgemeta
License: GPL-2.0-only
# used to be http://nwipe.sourceforge.net
-URL: https://github.com/martijnvanbrummelen/nwipe
-VCS: git:https://github.com/martijnvanbrummelen/nwipe
+URL: %{forgeurl}
# Releases https://github.com/martijnvanbrummelen/nwipe/releases
-#Source0: https://github.com/%%{gituser}/%%{gitname}/archive/%%{commit}/%%{name}-%%{version}-%%{shortcommit}.tar.gz
-Source0: https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source0: %{forgesource}
BuildRequires: autoconf
BuildRequires: automake
@@ -30,18 +24,11 @@ BuildRequires: ncurses-devel
BuildRequires: parted-devel
# Runtime dependencies
+Requires: coreutils
+Requires: dmidecode
Requires: hdparm
-Requires: /usr/bin/readlink
-Requires: /usr/sbin/dmidecode
-Requires: /usr/sbin/modprobe
-Requires: /usr/sbin/smartctl
-
-
-# Recommends only supported on fedora and rhel8+
-# used to provide serial number of drive over supported USB to SATA interface
-Recommends: smartmontools
-# provide SMBIOS/DMI host data to log file
-Recommends: dmidecode
+Requires: kmod
+Requires: smartmontools
%description
@@ -59,8 +46,7 @@ a few changes:
- DmiDecode is used to provide host info to nwipes log
%prep
-#autosetup -n %%{gitname}-%%{commit} -p 1
-%autosetup -n %{gitname}-%{version} -p 1
+%autosetup -n %{archivename} -p 1
%build
@@ -74,7 +60,7 @@ autoreconf -vif
%check
-make check
+%make_build check
%files
reply other threads:[~2026-06-20 22:56 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=178199620735.1.3860925434164033808.rpms-nwipe-edb88f255936@fedoraproject.org \
--to=filiperosset@fedoraproject.org \
--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