spec-create: add support for tarballs with autogen.sh and no configure
Create a correct %build block in the specfile generated from tarballs that do not provide any 'configure' script but only an 'autogen,sh' one. Feature asked by Silvan Calarco. Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
92d1e172d7
commit
82679ae14f
@ -35,6 +35,12 @@ Fri Aug 15 2014 Madrisan <davide.madrisan(a)gmail.com>
|
|||||||
The translation rules for Python 2.7 and Python 3 have been updated
|
The translation rules for Python 2.7 and Python 3 have been updated
|
||||||
to reflect the current support for Python in openmamba.
|
to reflect the current support for Python in openmamba.
|
||||||
|
|
||||||
|
+ improvement
|
||||||
|
* spec-create - Davide Madrisan
|
||||||
|
Create a correct %build block in the specfile generated from tarballs
|
||||||
|
that do not provide any 'configure' script but only an 'autogen,sh' one.
|
||||||
|
Feature asked by Silvan Calarco.
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Changes in version 1.16.4 - "Korbielow" release
|
Changes in version 1.16.4 - "Korbielow" release
|
||||||
|
5
NEWS
5
NEWS
@ -9,6 +9,11 @@ List of user visible changes in the release 1.16.5
|
|||||||
Specify target_cpu when installing build requirements for x86_64
|
Specify target_cpu when installing build requirements for x86_64
|
||||||
multiarch support.
|
multiarch support.
|
||||||
|
|
||||||
|
* spec-create - Davide Madrisan
|
||||||
|
Create a correct %build block in the specfile generated from tarballs
|
||||||
|
that do not provide any 'configure' script but only an 'autogen,sh' one.
|
||||||
|
Feature asked by Silvan Calarco.
|
||||||
|
|
||||||
-- Bugfix
|
-- Bugfix
|
||||||
|
|
||||||
* templates/python - Silvan Calarco
|
* templates/python - Silvan Calarco
|
||||||
|
@ -40,6 +40,10 @@ spec_cmd_configure_autotools="%configure"
|
|||||||
spec_cmd_make_autotools="%make"
|
spec_cmd_make_autotools="%make"
|
||||||
spec_cmd_makeinstall_autotools="%makeinstall"
|
spec_cmd_makeinstall_autotools="%makeinstall"
|
||||||
|
|
||||||
|
spec_cmd_configure_autogen="./autogen.sh\n%configure"
|
||||||
|
spec_cmd_make_autogen="%make"
|
||||||
|
spec_cmd_makeinstall_autogen="%makeinstall"
|
||||||
|
|
||||||
spec_cmd_configure_cmake="%cmake -d build"
|
spec_cmd_configure_cmake="%cmake -d build"
|
||||||
spec_cmd_make_cmake="%make"
|
spec_cmd_make_cmake="%make"
|
||||||
spec_cmd_makeinstall_cmake="%makeinstall -C build"
|
spec_cmd_makeinstall_cmake="%makeinstall -C build"
|
||||||
@ -392,6 +396,11 @@ shared-libraries:,debug-package:,\
|
|||||||
spec_cmd_make="$spec_cmd_make_autotools"
|
spec_cmd_make="$spec_cmd_make_autotools"
|
||||||
spec_cmd_makeinstall="$spec_cmd_makeinstall_autotools"
|
spec_cmd_makeinstall="$spec_cmd_makeinstall_autotools"
|
||||||
;;
|
;;
|
||||||
|
autogen)
|
||||||
|
spec_cmd_configure="$spec_cmd_configure_autogen"
|
||||||
|
spec_cmd_make="$spec_cmd_make_autogen"
|
||||||
|
spec_cmd_makeinstall="$spec_cmd_makeinstall_autogen"
|
||||||
|
;;
|
||||||
makefile)
|
makefile)
|
||||||
spec_cmd_configure="$spec_cmd_configure_makefileonly"
|
spec_cmd_configure="$spec_cmd_configure_makefileonly"
|
||||||
spec_cmd_make="$spec_cmd_make_makefileonly"
|
spec_cmd_make="$spec_cmd_make_makefileonly"
|
||||||
@ -869,6 +878,8 @@ ${standard_docs_devel:+$standard_docs_devel }$currdoc"
|
|||||||
-e $tmpdir/$pck_rootdir/makefile -o \
|
-e $tmpdir/$pck_rootdir/makefile -o \
|
||||||
-e $tmpdir/$pck_rootdir/GNUmakefile ]; then
|
-e $tmpdir/$pck_rootdir/GNUmakefile ]; then
|
||||||
build_techology="makefile"
|
build_techology="makefile"
|
||||||
|
elif [ -x $tmpdir/$pck_rootdir/autogen.sh ]; then
|
||||||
|
build_techology="autogen"
|
||||||
elif [ -e $tmpdir/$pck_rootdir/SConstruct -o \
|
elif [ -e $tmpdir/$pck_rootdir/SConstruct -o \
|
||||||
-e $tmpdir/$pck_rootdir/Sconstruct -o \
|
-e $tmpdir/$pck_rootdir/Sconstruct -o \
|
||||||
-e $tmpdir/$pck_rootdir/sconstruct ]; then
|
-e $tmpdir/$pck_rootdir/sconstruct ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user