diff options
author | Markus Reichelt <slackbuilds@mareichelt.de> | 2012-06-25 21:44:07 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-06-25 21:44:07 -0400 |
commit | 589ba7f64bed5aa18cdc25a3cf4a3d49b0a024d0 (patch) | |
tree | 5394a0a6930309159643e43cc1b5c7a8e5ade8dd /python/mock/mock.SlackBuild | |
parent | 2588b322168d597e90add4e4dda673e88ff536b0 (diff) | |
download | slackbuilds-589ba7f64bed5aa18cdc25a3cf4a3d49b0a024d0.tar.gz |
python/mock: Updated for version 0.8.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'python/mock/mock.SlackBuild')
-rw-r--r-- | python/mock/mock.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/python/mock/mock.SlackBuild b/python/mock/mock.SlackBuild index 7a8520fa5a..c88b641743 100644 --- a/python/mock/mock.SlackBuild +++ b/python/mock/mock.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for mock. -# Copyright 2011 Markus Reichelt, Aachen, DE +# Copyright 2011-2012 Markus Reichelt, Aachen, DE # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,11 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115 -# 2011 September 04 - initial release +# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115 PRGNAM=mock -VERSION=${VERSION:-0.7.2} +VERSION=${VERSION:-0.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -72,14 +71,15 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -python setup.py build python setup.py install --root=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README.txt LICENSE.txt \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |