debugsources

master
Jean-Philippe Pialasse 2 months ago
parent f99b03ba56
commit 9b33fa0bb4

@ -6,7 +6,7 @@ Summary: A console dialog tool, for use by SME server console
Name: whiptail
%define version 0.51.5
Version: %{version}
Release: 9%{?dist}
Release: 10%{?dist}
License: LGPL
Group: System Environment/Libraries
Source: whiptail-%{version}.tar.gz
@ -27,12 +27,12 @@ modifications for use by the SME server console program.
%build
D=
cc -O2 -Wall -I/usr/include/slang -D_GNU_SOURCE \
cc $RPM_OPT_FLAGS -O2 -Wall -I/usr/include/slang -D_GNU_SOURCE \
-c -o whiptail.o whiptail.c
cc -O2 -Wall -I/usr/include/slang -D_GNU_SOURCE \
cc $RPM_OPT_FLAGS -O2 -Wall -I/usr/include/slang -D_GNU_SOURCE \
$(if grep -q _newt_wstr %_libdir/libnewt.so; then echo -Dwstrlen=_newt_wstrlen; fi) \
-c -o dialogboxes.o dialogboxes.c
gcc -g -o whiptail whiptail.o dialogboxes.o \
gcc $RPM_OPT_FLAGS -g -o whiptail whiptail.o dialogboxes.o \
-lnewt -lslang -lm -lpopt
%install
@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
/sbin/e-smith/whiptail
%changelog
* Thu Mar 14 2024 Jean-Philippe Pialasse <jpp@koozali.org> 0.51.5-10.sme
- fix debugsources fileliste empty [SME: 12504]
* Fri Jul 14 2023 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
by assuming the date is correct and changing the weekday.

Loading…
Cancel
Save