2 Commits

Author SHA256 Message Date
Martin Jambor
980327f426 Add -std=gnu17 to compilation flags to build with GCC 15. [boo#1241945] 2025-05-27 23:36:52 +02:00
479cd4c74b Modernize specfile 2024-11-05 20:13:27 +01:00
2 changed files with 25 additions and 27 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue May 27 21:35:22 UTC 2025 - Martin Jambor <mjambor@suse.com>
- Add -std=gnu17 to compilation flags in order to allow building with
GCC 15. [boo#1241945]
-------------------------------------------------------------------
Tue Nov 5 19:13:23 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Modernize specfile
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 29 06:00:12 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com> Tue Oct 29 06:00:12 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -480,7 +480,7 @@ rm -fv libsiconv/shlsiconv.mk
# - To enable verbosity, use with CC=cc LDCC=cc DYNLD=cc. # - To enable verbosity, use with CC=cc LDCC=cc DYNLD=cc.
# - Not fully parallel safe, so stick to default. # - Not fully parallel safe, so stick to default.
# #
mycf="%optflags -fno-strict-aliasing -fno-omit-frame-pointer -fPIC -finput-charset=ISO-8859-1 -fcommon" mycf="%optflags -fno-strict-aliasing -fno-omit-frame-pointer -fPIC -finput-charset=ISO-8859-1 -fcommon -std=gnu17"
gmake RUNPATH="" LINKMODE=dynamic COPTOPT="$mycf" LDOPTX="" SCCS_BIN_PRE="" SCCS_HELP_PRE="" config gmake RUNPATH="" LINKMODE=dynamic COPTOPT="$mycf" LDOPTX="" SCCS_BIN_PRE="" SCCS_HELP_PRE="" config
gmake RUNPATH="" LINKMODE=dynamic COPTOPT="$mycf" LDOPTX="" SCCS_BIN_PRE="" SCCS_HELP_PRE="" all gmake RUNPATH="" LINKMODE=dynamic COPTOPT="$mycf" LDOPTX="" SCCS_BIN_PRE="" SCCS_HELP_PRE="" all
@@ -712,32 +712,19 @@ if test "$1" = 0; then
"%_sbindir/update-alternatives" --remove rmt "%_bindir/srmt" "%_sbindir/update-alternatives" --remove rmt "%_bindir/srmt"
fi fi
%post -n libcdrdeflt1_0 -p /sbin/ldconfig %ldconfig_scriptlets -n libcdrdeflt1_0
%postun -n libcdrdeflt1_0 -p /sbin/ldconfig %ldconfig_scriptlets -n libdeflt1_0
%post -n libdeflt1_0 -p /sbin/ldconfig %ldconfig_scriptlets -n libedc_ecc1_0
%postun -n libdeflt1_0 -p /sbin/ldconfig %ldconfig_scriptlets -n libedc_ecc_dec1_0
%post -n libedc_ecc1_0 -p /sbin/ldconfig %ldconfig_scriptlets -n libfile1_0
%postun -n libedc_ecc1_0 -p /sbin/ldconfig %ldconfig_scriptlets -n libfind4_0
%post -n libedc_ecc_dec1_0 -p /sbin/ldconfig %ldconfig_scriptlets -n libparanoia1_0
%postun -n libedc_ecc_dec1_0 -p /sbin/ldconfig %ldconfig_scriptlets -n librmt1_0
%post -n libfile1_0 -p /sbin/ldconfig %ldconfig_scriptlets -n librscg1_0
%postun -n libfile1_0 -p /sbin/ldconfig %ldconfig_scriptlets -n libscg1_0
%post -n libfind4_0 -p /sbin/ldconfig %ldconfig_scriptlets -n libscgcmd1_0
%postun -n libfind4_0 -p /sbin/ldconfig %ldconfig_scriptlets -n libschily2_0
%post -n libparanoia1_0 -p /sbin/ldconfig %ldconfig_scriptlets -n libxtermcap1_0
%postun -n libparanoia1_0 -p /sbin/ldconfig
%post -n librmt1_0 -p /sbin/ldconfig
%postun -n librmt1_0 -p /sbin/ldconfig
%post -n librscg1_0 -p /sbin/ldconfig
%postun -n librscg1_0 -p /sbin/ldconfig
%post -n libscg1_0 -p /sbin/ldconfig
%postun -n libscg1_0 -p /sbin/ldconfig
%post -n libscgcmd1_0 -p /sbin/ldconfig
%postun -n libscgcmd1_0 -p /sbin/ldconfig
%post -n libschily2_0 -p /sbin/ldconfig
%postun -n libschily2_0 -p /sbin/ldconfig
%post -n libxtermcap1_0 -p /sbin/ldconfig
%postun -n libxtermcap1_0 -p /sbin/ldconfig
%verifyscript -n cdrecord %verifyscript -n cdrecord
%verify_permissions -e %_bindir/cdrecord %verify_permissions -e %_bindir/cdrecord