summaryrefslogtreecommitdiffstats
path: root/opensuse/core/tqt3/pre_checkin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'opensuse/core/tqt3/pre_checkin.sh')
-rwxr-xr-xopensuse/core/tqt3/pre_checkin.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/opensuse/core/tqt3/pre_checkin.sh b/opensuse/core/tqt3/pre_checkin.sh
new file mode 100755
index 000000000..fd6f089b5
--- /dev/null
+++ b/opensuse/core/tqt3/pre_checkin.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+# This script is called automatically during autobuild checkin.
+
+cp -fl qt3.changes qt3-extensions.changes
+cp -fl qt3.changes qt3-devel-doc.changes
+
+for spec in qt3-extensions.spec qt3-devel-doc.spec; do
+{ sed -n -e '1,/COMMON-BEGIN/p' $spec.in
+ sed -n -e '/COMMON-BEGIN/,/COMMON-END/p' qt3.spec
+ sed -n -e '/COMMON-END/,$p' $spec.in; } > $spec.tmp && perl update_spec.pl $spec.tmp attributes > $spec && rm $spec.tmp
+done
+
+
+osc service localrun format_spec_file