Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- RPM_SOURCE_DIR="/root/rpmbuild/SOURCES"
- RPM_BUILD_DIR="/root/rpmbuild/BUILD"
- RPM_OPT_FLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic"
- RPM_ARCH="x86_64"
- RPM_OS="linux"
- export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
- RPM_DOC_DIR="/usr/share/doc"
- export RPM_DOC_DIR
- RPM_PACKAGE_NAME="perl-namespace-autoclean"
- RPM_PACKAGE_VERSION="0.24"
- RPM_PACKAGE_RELEASE="1.el6"
- export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
- LANG=C
- export LANG
- unset CDPATH DISPLAY ||:
- RPM_BUILD_ROOT="/root/rpmbuild/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64"
- export RPM_BUILD_ROOT
- PKG_CONFIG_PATH="/usr/lib64/pkgconfig:/usr/share/pkgconfig"
- export PKG_CONFIG_PATH
- set -x
- umask 022
- cd "/root/rpmbuild/BUILD"
- [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "${RPM_BUILD_ROOT}"
- mkdir -p `dirname "$RPM_BUILD_ROOT"`
- mkdir "$RPM_BUILD_ROOT"
- cd 'namespace-autoclean-0.24'
- LANG=C
- export LANG
- unset DISPLAY
- rm -rf $RPM_BUILD_ROOT
- ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
- find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
- /bin/chmod -Rf a+rX,u+w,g-w,o-w $RPM_BUILD_ROOT/*
- /usr/lib/rpm/find-debuginfo.sh --strict-build-id "/root/rpmbuild/BUILD/namespace-autoclean-0.24"
- /usr/lib/rpm/check-buildroot
- /usr/lib/rpm/redhat/brp-compress
- /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
- /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
- /usr/lib/rpm/brp-python-bytecompile
- /usr/lib/rpm/redhat/brp-python-hardlink
- /usr/lib/rpm/redhat/brp-java-repack-jars
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement