multilib-fix: document why we don't need '#else'

Version: 1-5
This commit is contained in:
Pavel Raiskup 2016-06-22 08:22:06 +02:00
parent aeb305b797
commit f2fed8528f
2 changed files with 8 additions and 1 deletions

View File

@ -38,6 +38,10 @@ opt_field_separator=-
# The solution is taken from Fedora PostgreSQL RPM package.
print_stub ()
{
# The '#else' branch here is not needed! We never install this header on
# systems where this set of '#ifdef's is not enough (adding suggested e.g.
# in rhbz#1242873).
replacement=$filename$opt_field_separator
cat <<EOF
/*

View File

@ -11,7 +11,7 @@
Summary: Multilib packaging helpers
Name: multilib-rpm-config
Version: 1
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv2+
URL: https://fedoraproject.org/wiki/PackagingDrafts/MultilibTricks
@ -56,6 +56,9 @@ install -m 755 -p %{SOURCE0} %{buildroot}/%{ml_fix}
%changelog
* Wed Jun 22 2016 Pavel Raiskup <praiskup@redhat.com> - 1-5
- document why there is no need for '#else' in the replacement header
* Mon Jun 13 2016 Pavel Raiskup <praiskup@redhat.com> - 1-4
- use '-' as a field separator by default