6 lines
155 B
Bash
6 lines
155 B
Bash
type="selinux"
|
|
rm *.rpm
|
|
rpmbuild -bb rpmbuild.spec --build-in-place --nodebuginfo
|
|
mv /root/rpmbuild/RPMS/x86_64/$type*.rpm .
|
|
rm *.list
|
|
createrepo ../$type
|