Compare commits

..

6 commits

Author SHA1 Message Date
Fedora Release Engineering
36488bf88c Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:11:02 +00:00
Benjamin A. Beasley
5421eae066 Use various long options 2026-05-24 09:20:27 +01:00
Fedora Release Engineering
81bc193b20 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 19:36:24 +00:00
Fedora Release Engineering
fe14acf4df Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 19:46:58 +00:00
Benjamin A. Beasley
4f24d78a5e Apply a patch for whitespace test regressions 2025-05-09 22:10:00 -04:00
Benjamin A. Beasley
432442d71c F43+: drop spec-file conditionals and allow branches to diverge 2025-05-08 22:14:09 -04:00

View file

@ -1,9 +1,3 @@
# The upstream Makefile installs unifdefall.sh as unifdefall, which makes
# sense. Older versions of this package installed it as unifdefall.sh; for
# compatibility on stable branches that had such older versions, we still
# provide that path via a symlink.
%bcond all_sh 1
Name: unifdef
Version: 2.12
Release: %autorelease
@ -63,7 +57,7 @@ additional text that they delimit, while otherwise leaving the file alone.
%autosetup -p1
# Show that we do not use the sources in FreeBSD even though this does not
# simplify the License, since unifdef.1 is still BSD-3-Clause.
rm -rv FreeBSD/
rm --recursive --verbose FreeBSD/
%build
@ -72,9 +66,6 @@ rm -rv FreeBSD/
%install
%make_install prefix='%{_prefix}'
%if %{with all_sh}
ln -s unifdefall '%{buildroot}%{_bindir}/unifdefall.sh'
%endif
%check
@ -93,9 +84,6 @@ PATH="%{buildroot}%{_bindir}:${PATH}" %make_build test
%{_bindir}/unifdef
%{_bindir}/unifdefall
%if %{with all_sh}
%{_bindir}/unifdefall.sh
%endif
%{_mandir}/man1/unifdef.1*
%{_mandir}/man1/unifdefall.1*