From c143c35c9bac1ef3508ba1d5aa330e2555a1f96a5e44d0f76ae1855a2cf87e21 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 7 Dec 2014 11:05:04 +0000 Subject: [PATCH] Moar fixes OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=3 --- pre_checkin.sh | 2 +- wxGTK3-3_2.spec | 4 ++-- wxWidgets-3_2.spec | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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