mirror of
https://gitee.com/wangbin579/cetus.git
synced 2024-12-01 19:37:38 +08:00
modify rpm build file
This commit is contained in:
parent
3b4e5dad5f
commit
099dafd217
@ -66,3 +66,8 @@ cd $basedir
|
||||
mv ~/rpmbuild/RPMS/x86_64/cetus-${version_no}-${release_no}.el6.x86_64.rpm ./
|
||||
mv ~/rpmbuild/RPMS/x86_64/cetus-debuginfo-${version_no}-${release_no}.el6.x86_64.rpm ./
|
||||
mv ~/rpmbuild/SRPMS/cetus-${version_no}-${release_no}.el6.src.rpm ./
|
||||
|
||||
rm -rf ~/rpmbuild/SOURCES/cetus-${version_no}
|
||||
rm -rf ~/rpmbuild/SOURCES/cetus-${version_no}.tar.gz
|
||||
rm -rf ~/rpmbuild/BUILD/cetus-${version_no}
|
||||
rm -rf ~/rpmbuild/SPECS/cetus-${version_no}.spec
|
||||
|
@ -46,10 +46,7 @@ cd bld
|
||||
%{__make} DESTDIR=%{buildroot} install
|
||||
|
||||
%clean
|
||||
%{__rm} -rfv %_sourcedir/*
|
||||
%{__rm} -rfv %_builddir/*
|
||||
%{__rm} -rfv %_buildrootdir/*
|
||||
%{__rm} -rfv %_specdir/*
|
||||
%{__rm} -rfv %{buildroot}
|
||||
|
||||
%post
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user