diff --git a/pre_checkin.sh b/pre_checkin.sh index 96247d5..c146dc3 100644 --- a/pre_checkin.sh +++ b/pre_checkin.sh @@ -1,4 +1,4 @@ #!/bin/sh -for i in GTK3 Qt Univ; do +for i in GTK3 Qt; do cp wxWidgets-3_2.changes "wx$i-3_2.changes" done diff --git a/wxGTK3-3_2.spec b/wxGTK3-3_2.spec index 8e7c838..e577736 100644 --- a/wxGTK3-3_2.spec +++ b/wxGTK3-3_2.spec @@ -21,8 +21,8 @@ Name: wxGTK3-3_2 %define tarball_name wxWidgets Version: 3.1.0~svn78217 Release: 0 -%define wx_minor %(echo "%version" | perl -pe 's{^(\d+\.\d+).*}{$1}') -%define wx_micro %(echo "%version" | perl -pe 's{^(\d+\.\d+\.\d+).*}{$1}') +%define wx_minor 3.1 +%define wx_micro 3.1.0 # lang packages are exactly equal for all variants. Build it only once: %if "%name" == "%base_name" %define BUILD_LANG 1 diff --git a/wxWidgets-3_2.spec b/wxWidgets-3_2.spec index 9851b04..c78782a 100644 --- a/wxWidgets-3_2.spec +++ b/wxWidgets-3_2.spec @@ -21,8 +21,8 @@ Name: wxWidgets-3_2 %define tarball_name wxWidgets Version: 3.1.0~svn78217 Release: 0 -%define wx_minor %(echo "%version" | perl -pe 's{^(\d+\.\d+).*}{$1}') -%define wx_micro %(echo "%version" | perl -pe 's{^(\d+\.\d+\.\d+).*}{$1}') +%define wx_minor 3.1 +%define wx_micro 3.1.0 # lang packages are exactly equal for all variants. Build it only once: %if "%name" == "%base_name" %define BUILD_LANG 1