<commit_before>#!/bin/bash
set -x #echo on

RHOBOTVERSION=0.2
sed -i -e s#"RHOBOTVERSION"#"${RHOBOTVERSION}"#g rhobot.spec

cp -rpf -R ../rhobot rhobot-${RHOBOTVERSION}/
tar -czf rhobot-${RHOBOTVERSION}.tar.gz rhobot-${RHOBOTVERSION}/

mkdir -p rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
cp rhobot.spec rpmbuild/SPECS/rhobot.spec
mv rhobot-${RHOBOTVERSION}.tar.gz rpmbuild/SOURCES

cd rpmbuild/
rpmbuild --define "_topdir `pwd`" -ba SPECS/rhobot.spec
<commit_msg>clear rpmbuild dir<commit_after>#!/bin/bash
set -x #echo on

RHOBOTVERSION=0.2
sed -i -e s#"RHOBOTVERSION"#"${RHOBOTVERSION}"#g rhobot.spec

cp -rpf -R ../rhobot rhobot-${RHOBOTVERSION}/
tar -czf rhobot-${RHOBOTVERSION}.tar.gz rhobot-${RHOBOTVERSION}/

rm -rf rpmbuild
mkdir -p rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
cp rhobot.spec rpmbuild/SPECS/rhobot.spec
mv rhobot-${RHOBOTVERSION}.tar.gz rpmbuild/SOURCES

cd rpmbuild/
rpmbuild --define "_topdir `pwd`" -ba SPECS/rhobot.spec

{'fraction_non_alphanumeric': 0.15854922279792746, 'fraction_numerical': 0.004145077720207254, 'mean_word_length': 5.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1601792', 'n_tokens_mistral': 468, 'n_tokens_neox': 433, 'n_words': 79}