[devassistant] Properly create and own the /usr/local hierarchy.

Bohuslav Kabrda bkabrda at fedoraproject.org
Wed Aug 28 11:09:58 UTC 2013


commit ffe293881be2d62992fb2ed34ceb03c2e1ebd90c
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Wed Aug 28 13:09:44 2013 +0200

    Properly create and own the /usr/local hierarchy.

 devassistant.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/devassistant.spec b/devassistant.spec
index 80eb1e8..681e53e 100644
--- a/devassistant.spec
+++ b/devassistant.spec
@@ -2,7 +2,7 @@
 
 Name:           devassistant
 Version:        0.6.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Developer tool for setting up projects quickly
 
 License:        GPLv2+
@@ -72,7 +72,7 @@ rm -rf %{buildroot}%{_datadir}/%{name}/.git*
 
 # make sure that we have all the essential dirs, if not created previously by copying
 mkdir -p %{buildroot}%{_datadir}/%{name}/{assistants/{creator/modifier/preparer},snippets,templates}
-mkdir -p %{buildroot}%{_prefix}/local/share/%{name}/{assistants/{creator/modifier/preparer},snippets,templates}
+mkdir -p %{buildroot}%{_prefix}/local/share/%{name}/{assistants/{creator,modifier,preparer},snippets,templates}
 
 %check
 %{__python} setup.py test -t py.test
@@ -87,6 +87,7 @@ mkdir -p %{buildroot}%{_prefix}/local/share/%{name}/{assistants/{creator/modifie
 %{_bindir}/%{name}-modify
 %{_bindir}/%{name}-prepare
 %{_datadir}/%{name}
+%{_prefix}/local/share/%{name}
 %{_mandir}/man1/%{shortname}.1.gz
 %{_mandir}/man1/%{shortname}-mod.1.gz
 %{_mandir}/man1/%{shortname}-prep.1.gz
@@ -98,6 +99,9 @@ mkdir -p %{buildroot}%{_prefix}/local/share/%{name}/{assistants/{creator/modifie
 %{python_sitelib}/%{name}-%{version}-py?.?.egg-info
 
 %changelog
+* Wed Aug 28 2013 Bohuslav Kabrda <bkabrda at redhat.com> - 0.6.1-2
+- Properly create and own the /usr/local hierarchy.
+
 * Wed Aug 28 2013 Bohuslav Kabrda <bkabrda at redhat.com> - 0.6.1-1
 - Update to 0.6.1.
 - Introduce gui, add its dependencies.


More information about the scm-commits mailing list