diff options
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 7a8520fa5afa..c88b64174308 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 |