public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/irsim] rawhide: spec cleanup and modernization
@ 2026-06-08 23:27 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-08 23:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/irsim
Branch : rawhide
Commit : 702451ad32059066f73bfcdc958372656ed0d15f
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-06-08T20:27:48-03:00
Stats  : +12/-21 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/irsim/c/702451ad32059066f73bfcdc958372656ed0d15f?branch=rawhide

Log:
spec cleanup and modernization

---
diff --git a/.gitignore b/.gitignore
index b75d86b..0197b6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1 @@
-irsim-9.7.68.tgz
-/irsim-9.7.87.tgz
-/irsim-9.7.92.tgz
-/irsim-9.7.94.tgz
-/irsim-9.7.95.tgz
-/irsim-9.7.96.tgz
-/irsim-9.7.100.tgz
-/irsim-9.7.102.tgz
-/irsim-9.7.103.tgz
-/irsim-9.7.104.tgz
-/irsim-9.7.121.tgz
+/irsim-*.tgz

diff --git a/irsim.spec b/irsim.spec
index 230be28..db8f66d 100644
--- a/irsim.spec
+++ b/irsim.spec
@@ -1,4 +1,5 @@
-%global _hardened_build 1
+%global build_type_safety_c 0
+
 Name:             irsim
 Version:          9.7.121
 Release:          %autorelease
@@ -7,9 +8,9 @@ Summary:          Switch-level simulator used even for VLSI
 # Automatically converted from old format: GPLv2 - review is highly recommended.
 License:          GPL-2.0-only
 URL:              http://opencircuitdesign.com/%{name}
-Source0:          http://opencircuitdesign.com/%{name}/archive/%{name}-%{version}.tgz
+Source:           http://opencircuitdesign.com/%{name}/archive/%{name}-%{version}.tgz
 
-Patch0:           0000-missing-headers.patch
+Patch:            0000-missing-headers.patch
 
 BuildRequires:    gcc
 BuildRequires:    libXt-devel
@@ -31,7 +32,6 @@ relative timing of events.
 %build
 # The sources heavily rely on implicit ints and implicit function
 # declarations and are not compatible with C99.
-%global build_type_safety_c 0
 export CFLAGS="${CFLAGS} -std=gnu99"
 
 # ./configure kills CFLAGS
@@ -44,12 +44,13 @@ export CFLAGS="${CFLAGS} -std=gnu99"
 rm -rf %{buildroot}%{_libdir}/%{name}/doc/
 
 %files
-%doc COPYRIGHT README VERSION doc/
-%{_bindir}/*
-%{_libdir}/*
-%{_mandir}/man1/%{name}*
-%{_mandir}/man5/netchange.5.gz
-%{_mandir}/man3/%{name}-analyzer.3.gz
+%license COPYRIGHT
+%doc README VERSION doc/
+%{_bindir}/%{name}
+%{_libdir}/%{name}/
+%{_mandir}/man1/%{name}.1*
+%{_mandir}/man3/%{name}-analyzer.3*
+%{_mandir}/man5/netchange.5*
 
 %changelog
 %autochangelog

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

only message in thread, other threads:[~2026-06-08 23:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-08 23:27 [rpms/irsim] rawhide: spec cleanup and modernization Filipe Rosset

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