[debconf] Added missing /var/cache/debconf and initial contents
Oron Peled
oron at fedoraproject.org
Sun Jun 9 09:10:17 UTC 2013
commit a6ac0bfae770c5c2deec8e68c8321f5b906518c0
Author: Oron Peled <oron at actcom.co.il>
Date: Sun Jun 9 11:44:40 2013 +0300
Added missing /var/cache/debconf and initial contents
debconf.spec | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/debconf.spec b/debconf.spec
index 4eab74b..245d0c7 100644
--- a/debconf.spec
+++ b/debconf.spec
@@ -1,6 +1,6 @@
Name: debconf
Version: 1.5.49
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Debian configuration management system
Group: Development/Tools
@@ -87,6 +87,12 @@ make install-utils prefix=%{buildroot}
make install-rest prefix=%{buildroot}
make install-i18n prefix=%{buildroot}
+# Add /var/cache/debconf and initial contents
+mkdir -p %{buildroot}/%{_var}/cache/%{name}
+touch %{buildroot}/%{_var}/cache/%{name}/config.dat
+touch %{buildroot}/%{_var}/cache/%{name}/passwords.dat
+touch %{buildroot}/%{_var}/cache/%{name}/templates.dat
+
mkdir -p \
%{buildroot}/%{perl_vendorlib} \
%{buildroot}/%{_mandir}/man{1,3,5,7,8} \
@@ -194,6 +200,8 @@ done
%{_mandir}/man8/dpkg-preconfigure.8*
%{_mandir}/man8/dpkg-reconfigure.8*
%{_datadir}/pixmaps/debian-logo.png
+%{_var}/cache/%{name}
+
%files doc -f man-doc.lang
%doc samples/
@@ -209,9 +217,11 @@ done
%{_mandir}/man7/debconf-devel.7*
%{_mandir}/man7/debconf.7*
+
%files i18n -f man-i18n.lang -f debconf.lang
%doc debian/changelog debian/copyright debian/README.Debian
+
%files utils -f man-utils.lang
%doc debian/changelog debian/copyright debian/README.Debian
%{_bindir}/debconf-get-selections
@@ -223,7 +233,11 @@ done
%{_mandir}/man1/debconf-loadtemplate.1*
%{_mandir}/man1/debconf-mergetemplate.1*
+
%changelog
+* Sun Jun 09 2013 Oron Peled <oron at actcom.co.il> - 1.5.49-3
+- Added missing /var/cache/debconf and initial contents
+
* Mon Jun 03 2013 Sérgio Basto <sergio at serjux.com> - 1.5.49-2
- Source rpms will have last 2 commits, which document better our patches.
More information about the scm-commits
mailing list