spec-create: fix regexp to detect names starting with 'lib' (sample failing case: lilv)
This commit is contained in:
parent
636e7f8495
commit
ef3b9277ae
@ -13,11 +13,14 @@ Changes in version 1.16.3 - Christmas Release
|
|||||||
Fix initialization of SPEC_SOURCE0 and SPEC_SOURCE0_VERBATIM.
|
Fix initialization of SPEC_SOURCE0 and SPEC_SOURCE0_VERBATIM.
|
||||||
|
|
||||||
* lib/libspec.lib - Silvan Calarco:
|
* lib/libspec.lib - Silvan Calarco:
|
||||||
Reworked sed expressions to get SPEC_SOURCE0_PCKNAME from SPEC_SOURCE0
|
Reworked sed expressions to get SPEC_SOURCE0_PCKNAME from SPEC_SOURCE0.
|
||||||
|
|
||||||
* lib/libspec.lib - Silvan Calarco:
|
* lib/libspec.lib - Silvan Calarco:
|
||||||
Also support "=" relation when assigning SPEC_OBSOLETES.
|
Also support "=" relation when assigning SPEC_OBSOLETES.
|
||||||
|
|
||||||
|
* plugins/spec-create - Silvan Calarco:
|
||||||
|
Fix regexp to detect names starting with 'lib' (sample failing case: lilv)
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Changes in version 1.16.2 - Christmas Release
|
Changes in version 1.16.2 - Christmas Release
|
||||||
|
@ -868,7 +868,7 @@ $spec_cmd_configure_autotools --enable-gtk-doc"
|
|||||||
local pck_library="0"
|
local pck_library="0"
|
||||||
local pck_tools="1"
|
local pck_tools="1"
|
||||||
case "$spec_type" in library)
|
case "$spec_type" in library)
|
||||||
[[ "$pck_name" =~ ^lib* ]] ||
|
[[ "$pck_name" =~ ^lib.* ]] ||
|
||||||
{ pck_library="1"; pck_tools="0"; }
|
{ pck_library="1"; pck_tools="0"; }
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user