summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Hercinger <vhercing@redhat.com>2013-03-29 13:18:24 +0100
committerViktor Hercinger <vhercing@redhat.com>2013-03-29 13:18:24 +0100
commit021fec16ef3f4c610e5c6d9538a3d73f93f3813f (patch)
treee778944d5ba10d85bea8e9459f52ac424bd34752
parent4f31f2f1cbd99577476e424d8e9da97874d21936 (diff)
downloadrpm-tools-021fec16ef3f4c610e5c6d9538a3d73f93f3813f.tar.gz
rpm-tools-021fec16ef3f4c610e5c6d9538a3d73f93f3813f.tar.xz
rpm-tools-021fec16ef3f4c610e5c6d9538a3d73f93f3813f.zip
do not clean up repo before rebuilding with new packages
-rw-r--r--rpmtools.spec5
-rwxr-xr-xscripts/rpmdev-build-devspec1
2 files changed, 4 insertions, 2 deletions
diff --git a/rpmtools.spec b/rpmtools.spec
index db606df..7be52bf 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -1,6 +1,6 @@
Name: rpmtools
Version: 1.0
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Local RPM toolkit
BuildArch: noarch
@@ -29,6 +29,9 @@ install -m 755 * %{buildroot}/%{_bindir}
%{_bindir}/*
%changelog
+* Fri Mar 29 2013 Hercinger Viktor <hercinger.viktor@gmail.com> - 1.0-6
+- do not clean up repo before rebuilding with new packages
+
* Tue Mar 19 2013 Hercinger Viktor <hercinger.viktor@gmail.com> - 1.0-5
- fixed checkout bug
diff --git a/scripts/rpmdev-build-devspec b/scripts/rpmdev-build-devspec
index 938a7a8..58986fc 100755
--- a/scripts/rpmdev-build-devspec
+++ b/scripts/rpmdev-build-devspec
@@ -50,7 +50,6 @@ function make_repo
return 1
fi
- rm -rf $REPODIR/*
find $SCANPATH \( -name '*.rpm' -a ! -path '*/.repo/*' \) -exec cp {} $REPODIR \;
createrepo -o $REPODIR $REPODIR