[notion] master, no_docs, with_docs: * Updated install commands. (5cb09f5)
by jsbackus@fedoraproject.org
Repository : http://git.fedorahosted.org/cgit/notion.git
On branches: master,no_docs,with_docs
>---------------------------------------------------------------
commit 5cb09f5e24810398b1d6cd43e6aefa7ef640dbc5
Author: Jeff Backus <jeff.backus(a)gmail.com>
Date: Wed Jan 29 17:20:35 2014 -0500
* Updated install commands.
>---------------------------------------------------------------
notion.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/notion.spec b/notion.spec
index f6b348b..0442195 100644
--- a/notion.spec
+++ b/notion.spec
@@ -111,8 +111,8 @@ desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/xsessions/%{name}.desktop
# contrib subpackage
for i in keybindings scripts scripts/legacy statusbar statusbar/legacy statusd statusd/legacy styles; do
- mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/$i/
- install -Dm0644 $RPM_BUILD_DIR/%{buildsubdir}/contrib/$i/*.lua $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/$i/
+ install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/$i
+ install -pm 0644 $RPM_BUILD_DIR/%{buildsubdir}/contrib/$i/*.lua $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/$i/
done
# Doc subpackage
@@ -142,6 +142,9 @@ make install DOCDIR=$RPM_BUILD_DIR/%{buildsubdir}/_docs_staging TOPDIR=..
%doc _docs_staging/*
%changelog
+* Wed Jan 29 2014 Jeff Backus <jeff.backus(a)gmail.com> - 3.2014010900-3
+- Tweaked install commands to preserve timestamps.
+
* Sun Jan 19 2014 Jeff Backus <jeff.backus(a)gmail.com> - 3.2014010900-3
- Changed method of correcting manpage text encoding to something upstream can
apply to source.