java-cup/pre_checkin.sh
Michal Vyskocil b65160f957 - Add conflicts for each variant
- Sync .changes
- Drop weird jpackage-prepare script and use standard pre_checkin.sh

- Disable build of javadoc 
  * drop java-cup-javadoc.patch
- license update: HPND
  SPDX syntax


- Add conflicts for each variant
- Sync .changes
- Drop weird jpackage-prepare script and use standard pre_checkin.sh

- sync licenses

OBS-URL: https://build.opensuse.org/package/show/Java:packages/java-cup?expand=0&rev=10
2013-08-29 07:58:59 +00:00

15 lines
447 B
Bash

#!/bin/bash
NAME1=java-cup
NAME2=java-cup-bootstrap
COPY_CHANGES=true
EDIT_WARNING="##### WARNING: please do not edit this auto generated spec file. Use the ${NAME1}.spec! #####\n"
sed "s/^%global _without_bootstrap.*$/${EDIT_WARNING}%global with_bootstrap 1/;
s/^\(Name:.*\)$/\1-bootstrap/;
" < ${NAME1}.spec > ${NAME2:-${NAME1}-bootstrap}.spec
if ${COPY_CHANGES}; then
cp ${NAME1}.changes ${NAME2:-${NAME1}-bootstrap}.changes
fi