Created attachment 1275670 [details] Modifications for providing rpm-macros in lua-devel Description of problem: The lua packaging-draft [1] recommends using some macros for packaging, but they need to be defined separately in every single spec-file. Suggestion: Add rpm-macros file to lua-devel. [1] https://fedoraproject.org/wiki/PackagingDrafts/Lua
This macro can easily be backported for el6 and el7, too.
Created attachment 1275691 [details] Updated patch with rhbz#
Scratch build with patch applied: https://koji.fedoraproject.org/koji/taskinfo?taskID=19372040
Since there hasn't been any reply on this within the last 3 weeks, I'm going to apply my patch in scm using my provenpackager powers.
lua-5.3.4-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f271706796
lua-5.3.4-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-949ac525e5
lua-5.3.4-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-71cd8c32df
lua-5.3.4-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-71cd8c32df
lua-5.3.4-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f271706796
lua-5.3.4-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-949ac525e5
lua-5.3.4-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
lua-5.3.4-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
lua-5.3.4-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a075f3aef6
lua-5.3.4-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-82d1ec5bc2
lua-5.3.4-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ef9d6a101c
After the latest updates went stable, lua-devel provides the following macros on Fedora 24+: %lua_version %{lua: print(string.sub(_VERSION, 5))} %lua_libdir %{_libdir}/lua/%{lua_version} %lua_pkgdir %{_datadir}/lua/%{lua_version} %lua_requires \ %if 0%{?fedora} >= 16 || 0%{?rhel} >= 7 \ Requires: lua(abi) = %{lua_version} \ %else \ Requires: lua >= %{lua_version} \ Requires: lua < %{lua: os.setlocale('C'); print(string.sub(_VERSION, 5) + 0.1)} \ %endif \ %{nil} I will update the wiki page about the packaging draft accordingly. I'm looking forward to get these macros backported to RHEL 6+, so packaging is straight forward for all supported distro-releases.
Bugs for RHEL are filed: el6: https://bugzilla.redhat.com/show_bug.cgi?id=1455344 el7: https://bugzilla.redhat.com/show_bug.cgi?id=1455345
lua-5.3.4-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-ef9d6a101c
lua-5.3.4-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-82d1ec5bc2
lua-5.3.4-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-a075f3aef6
lua-5.3.4-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
lua-5.3.4-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
lua-5.3.4-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.