aboutsummaryrefslogtreecommitdiff
path: root/backupninja.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'backupninja.spec.in')
-rw-r--r--backupninja.spec.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/backupninja.spec.in b/backupninja.spec.in
index 0887691..8ea716a 100644
--- a/backupninja.spec.in
+++ b/backupninja.spec.in
@@ -19,15 +19,14 @@ Prefix: %{_prefix}
Modular rdiff.backup tool
%prep
-#rm -rf ${buildroot}
%setup -q
%build
%configure
-# this is necessary MAKEINSTALL rewrites @sysconfigdir@ atc.
-%{__make}
+make
%install
+rm -rf ${buildroot}
%makeinstall
mkdir -p "%{buildroot}%{_sysconfdir}/backup.d"
mkdir -p "%{buildroot}%{_localstatedir}/backups"
@@ -35,7 +34,7 @@ mkdir -p "%{buildroot}%{_localstatedir}/log"
touch "%{buildroot}%{_localstatedir}/log/backupninja.log"
%clean
-#rm -fr %{buildroot}
+rm -fr %{buildroot}
%files
%defattr(-,root,root,-)
@@ -60,5 +59,7 @@ touch "%{buildroot}%{_localstatedir}/log/backupninja.log"
%changelog
+* Sun Oct 14 2007 Adam Monsen <haircut@gmail.com> 0.9.4-1
+- use cleanup steps during %install and %clean
* Mon Apr 29 2002 Petr Klima <Petr.Klima@madeta-group.cz> 0.7.0
- first RPM release