Disable brp-mangle-shebangs shebangs

It suddenly started creating broken /usr/bin//usr/bin/python3 shebangs,
making glib2-devel uninstallable.
This commit is contained in:
Kalev Lember 2018-02-07 04:26:11 +01:00
parent fd6c7196f2
commit 2cdd991d06
1 changed files with 7 additions and 1 deletions

View File

@ -3,9 +3,12 @@
# See https://fedoraproject.org/wiki/Packaging:Python_Appendix#Manual_byte_compilation
%global __python %{__python3}
# Undefine to work around brp-mangle-shebangs creating broken /usr/bin//usr/bin/python3 shebangs
%undefine __brp_mangle_shebangs
Name: glib2
Version: 2.55.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A library of handy utility functions
License: LGPLv2+
@ -219,6 +222,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/installed-tests
%changelog
* Wed Feb 07 2018 Kalev Lember <klember@redhat.com> - 2.55.2-2
- Disable brp-mangle-shebangs shebangs
* Wed Feb 07 2018 Kalev Lember <klember@redhat.com> - 2.55.2-1
- Update to 2.55.2
- Drop ldconfig scriptlets