Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
poppler
poppler_spec-prepare.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File poppler_spec-prepare.sh of Package poppler
#!/bin/bash # Autobuild doesn't support package names with macros. This script will update versions in package names. ORIG_SPEC=$2 for PKGNAME in poppler poppler-glib poppler-qt poppler-qt4 ; do # Packages with name ending by number needs separator if test x`echo $PKGNAME | sed "s/.*[0-9]$//"` = x ; then SEPARATOR=- else SEPARATOR= fi sed -i " 1,/^%changelog/ { # Copy ${PKGNAME//-/_}_soname to hold space /^%define ${PKGNAME//-/_}_soname / { h; s/^%define ${PKGNAME//-/_}_soname //; x; }; # Update ${PKGNAME}_soname everywhere /$PKGNAME$SEPARATOR[0-9][0-9]*\([[:space:]].*\|\)\$/ { G; s/$PKGNAME$SEPARATOR[0-9][0-9]*\([[:space:]].*\|\)\n\(.*\)/$PKGNAME$SEPARATOR\2\1/; }; };" $1/$ORIG_SPEC.spec done
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