Commit Graph

1 Commits

Author SHA1 Message Date
Adrian Reber
c49cf2653a
Fix file conflicts with libnet-devel
Trying to install libnet-devel.x86_64 and libnet-devel.i686 fails with

  file /usr/bin/libnet-config conflicts between attempted installs of libnet-devel-1.2-2.fc34.x86_64 and libnet-devel-1.2-2.fc34.i686

The file libnet-config contains for x86_64 the string 'lib64' and for
i686 'lib' which makes the devel packages not installable at the same
time.

Running 'libnet-config --libs' returns '-L/usr/lib64 -lnet' for x86_64
and without '64' for i686. As that is both the default location for
libraries it can be omitted which this patch does.

With this patch applied 'libnet-config --libs' returns just '-lnet'.

Resolves: rhbz#1915836

Signed-off-by: Adrian Reber <adrian@lisas.de>
2021-04-09 14:25:25 +02:00