Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
libcddb
libcddb_spec-prepare.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libcddb_spec-prepare.sh of Package libcddb
#!/bin/bash # Autobuild doesn't support package names with macros. This script will update versions in package names. ORIG_SPEC=${2%-utils} # Never update -utils fíle when it is already opened. It will break advanced build scripts: if test "$2" != "$ORIG_SPEC" ; then exit fi if ! test -f $1/$ORIG_SPEC.spec ; then exit fi # Edit file to fit -utils build needs: sed ' s/BUILD_UTILS\ 0/BUILD_UTILS 1/; s/BUILD_CORE\ 1/BUILD_CORE 0/; s/^.ame:.*/&-utils/; # No more needed. #s/^..hangelog.*/& utils/; s/^\(# WARNING:\).*After editing.*/\1 Do not edit this auto generated file./ ' <$1/$ORIG_SPEC.spec >$1/$ORIG_SPEC-utils.spec cp -a $1/$ORIG_SPEC.changes $1/$ORIG_SPEC-utils.changes
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor