nixpkgs/pkgs/tools
Tuomas Tynkkynen c0aada1e1f rpm: Hack fix finding libpython when compiling for Python 3
Currently, building RPM with `python = python3` causes this:

checking for a Python interpreter with version >= 2.6... python3
checking for python3... /nix/store/dykqxnrwiz9drlcv2wy8lpvl3xvklx0g-python3-3.4.3/bin/python3
checking for python3 version... 3.4
checking for Python.h... yes
checking for library containing Py_Main... no
configure: error: missing python library

That comes from this snippet in configure.ac:
    AC_SEARCH_LIBS([Py_Main],[python${PYTHON_VERSION} python],[
      WITH_PYTHON_LIB="$ac_res"
    ],[AC_MSG_ERROR([missing python library])
    ])

So it's looking for (e.g) `libpython3.4.so` wheras we have `libpython3.4m.so`.
Patching the configure script to match seems to make that work (although
I don't really understand what the heck is this 'm' business about).
2015-12-28 02:16:23 +02:00
..
admin simp_le: init at 20151205, fixes #11479 2015-12-05 23:09:47 +01:00
archivers Rename 'emery' maintainer handle to 'ehmry', fixes #11493 2015-12-05 23:06:20 +01:00
audio Rename 'emery' maintainer handle to 'ehmry', fixes #11493 2015-12-05 23:06:20 +01:00
backup partclone: fix build - requires automake and autoconf 2015-12-07 15:14:45 +00:00
bluetooth Use libpulseaudio instead of pulseaudio 2015-05-29 14:32:56 -07:00
bootloaders/refind refind: 0.8.4 -> 0.9.2 2015-11-01 09:37:00 -02:00
cd-dvd unetbootin: 608 -> 613 2015-09-15 05:11:34 +08:00
compression Merge recent staging built on Hydra 2015-12-05 11:11:51 +01:00
filesystems Rename 'emery' maintainer handle to 'ehmry', fixes #11493 2015-12-05 23:06:20 +01:00
graphics Remove unneeded 'with's from meta.platforms 2015-11-25 23:06:09 +01:00
inputmethods fcitx-qt5: init at 1.0.4 2015-11-26 16:12:25 +08:00
misc yank: 0.4.1 -> 0.6.0, fixes #11522 2015-12-07 15:25:50 +01:00
networking Merge pull request #11547 from sigma/corkscrew 2015-12-08 17:47:46 +01:00
package-management rpm: Hack fix finding libpython when compiling for Python 3 2015-12-28 02:16:23 +02:00
security tor: 0.2.6.10 -> 0.2.7.5, fixes #11489 2015-12-06 13:18:45 +01:00
system ansible2: init 2015-12-03 21:54:45 -05:00
text Rename 'emery' maintainer handle to 'ehmry', fixes #11493 2015-12-05 23:06:20 +01:00
typesetting emacsPackages.auctex: 11.88 -> 11.89 2015-12-03 13:11:25 -05:00
video vncrec: reimplement using mkDerivation 2015-11-24 14:45:15 +01:00
virtualization buildPythonPackage: fix standalone applications using it 2015-11-21 21:44:12 +01:00
X11 Merge pull request #11262 from spwhitt/bumblebee_have 2015-12-05 00:56:16 +03:00