LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pre_checkin.sh of Package openldap2 (Project network:ldap)

#!/bin/bash

echo -n "Generating openldap2-client "

cp openldap2.changes openldap2-client.changes
cp openldap2.spec openldap2-client.spec

perl -pi -e "s/^Name:.*openldap2$/Name:         openldap2-client/g"  openldap2-client.spec
perl -pi -e "s/^Summary:.*Server$/Summary:        The OpenLDAP commandline client tools/" openldap2-client.spec

osc service localrun format_spec_file

echo "Done."