Accepting request 104892 from Base:System
patch license to follow spdx.org standard (forwarded request 104564 from coolo) OBS-URL: https://build.opensuse.org/request/show/104892 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/translation-update-upstream?expand=0&rev=27
This commit is contained in:
commit
c45f9060bc
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 13 10:57:09 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
- patch license to follow spdx.org standard
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 18 19:07:52 CEST 2011 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Supplementary scripts improvement:
|
||||||
|
* Fixed partial mandatory update.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 14 01:58:46 CEST 2011 - sbrabec@suse.cz
|
Fri Oct 14 01:58:46 CEST 2011 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package translation-update-upstream
|
# spec file for package translation-update-upstream
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,15 +15,13 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: translation-update-upstream
|
Name: translation-update-upstream
|
||||||
License: GPLv2+
|
|
||||||
Group: System/Localization
|
|
||||||
Version: 20111013
|
Version: 20111013
|
||||||
Release: 3
|
Release: 0
|
||||||
Summary: Tool for Translation Update from Upstream
|
Summary: Tool for Translation Update from Upstream
|
||||||
|
License: GPL-2.0+
|
||||||
|
Group: System/Localization
|
||||||
# Ignore cracklib, as it causes build loop cracklib <-> translation-update-upstream
|
# Ignore cracklib, as it causes build loop cracklib <-> translation-update-upstream
|
||||||
#!BuildIgnore: cracklib libcrack2
|
#!BuildIgnore: cracklib libcrack2
|
||||||
Provides: translation-update-tool
|
Provides: translation-update-tool
|
||||||
|
@ -145,6 +145,28 @@ if ! $FULL_PROCESS ; then
|
|||||||
let SNAPSHOT_PART2++
|
let SNAPSHOT_PART2++
|
||||||
fi
|
fi
|
||||||
SNAPSHOT=$SNAPSHOT_PART1.$SNAPSHOT_PART2
|
SNAPSHOT=$SNAPSHOT_PART1.$SNAPSHOT_PART2
|
||||||
|
|
||||||
|
for ARCHIVE_ in translation-update-mandatory-*.tar.bz2 ; do
|
||||||
|
ARCHIVE=$ARCHIVE_
|
||||||
|
done
|
||||||
|
if ! test -f STAMPS/UPDATE_old_mtarball ; then
|
||||||
|
cd UPDATE
|
||||||
|
tar -jxf ../$ARCHIVE
|
||||||
|
# If it is not a full process, increment only release
|
||||||
|
# SNAPSHOT 20090213 -> 20090213.1, 20090213.1 -> 20090213.2
|
||||||
|
cd ..
|
||||||
|
touch STAMPS/UPDATE_old_mtarball
|
||||||
|
fi
|
||||||
|
MSNAPSHOT=${ARCHIVE#translation-update-mandatory-}
|
||||||
|
MSNAPSHOT=${MSNAPSHOT%.tar.bz2}
|
||||||
|
SNAPSHOT_PART1=${MSNAPSHOT%.*}
|
||||||
|
SNAPSHOT_PART2=${MSNAPSHOT#*.}
|
||||||
|
if test "$SNAPSHOT_PART1" = "$MSNAPSHOT" ; then
|
||||||
|
SNAPSHOT_PART2=1
|
||||||
|
else
|
||||||
|
let SNAPSHOT_PART2++
|
||||||
|
fi
|
||||||
|
MSNAPSHOT=$SNAPSHOT_PART1.$SNAPSHOT_PART2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SERIAL=0
|
SERIAL=0
|
||||||
@ -602,10 +624,10 @@ fi
|
|||||||
if $COLLECT_UPSTREAM ; then
|
if $COLLECT_UPSTREAM ; then
|
||||||
cd $WORK_DIR/UPDATE
|
cd $WORK_DIR/UPDATE
|
||||||
if test -d po ; then
|
if test -d po ; then
|
||||||
tar -j -c -f $WORK_DIR/translation-update-upstream-$SNAPSHOT.tar.bz2 po
|
tar -j -c -f $WORK_DIR/translation-update-upstream-$MSNAPSHOT.tar.bz2 po
|
||||||
fi
|
fi
|
||||||
if test -d po-mandatory ; then
|
if test -d po-mandatory ; then
|
||||||
tar -j -c -f $WORK_DIR/translation-update-mandatory-$SNAPSHOT.tar.bz2 po-mandatory
|
tar -j -c -f $WORK_DIR/translation-update-mandatory-$MSNAPSHOT.tar.bz2 po-mandatory
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user