[py3status/f20] move modules dir into docs

Jakub Jedelsky kubo at fedoraproject.org
Thu Jan 29 14:28:17 UTC 2015


commit 1ffae5fc2884799542910c4af9bb1c7b3ec338df
Author: Jakub Jedelsky <jakub.jedelsky at gmail.com>
Date:   Thu Jan 29 15:25:28 2015 +0100

    move modules dir into docs

 py3status.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/py3status.spec b/py3status.spec
index 7edaa4f..eb499a8 100644
--- a/py3status.spec
+++ b/py3status.spec
@@ -3,7 +3,7 @@
 
 Name:		py3status
 Version:	2.2
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	An extensible i3status wrapper written in python
 
 Group:		User Interface/Desktops
@@ -25,7 +25,7 @@ No extra configuration file needed, just install & enjoy !
 
 %prep
 %setup -q -n py3status-%{version}
-
+mv %{_builddir}/py3status-%{version}/py3status/modules %{_builddir}/py3status-%{version}/
 
 %build
 %{__python2} setup.py build
@@ -33,10 +33,11 @@ No extra configuration file needed, just install & enjoy !
 
 %install
 %{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
+rm -rf %{buildroot}/%{python2_sitelib}/modules
 
 
 %files
-%doc README.rst LICENSE CHANGELOG
+%doc README.rst LICENSE CHANGELOG modules
 %{_bindir}/py3status
 %dir %{python2_sitelib}/py3status
 %{python2_sitelib}/py3status/*
@@ -44,6 +45,9 @@ No extra configuration file needed, just install & enjoy !
 
 
 %changelog
+* Thu Jan 29 2015 Jakub Jedelsky <jakub.jedelsky at gmail.com> - 2.2-2
+- move modules dir into docs
+
 * Thu Jan 22 2015 Jakub Jedelsky <jakub.jedelsky at gmail.com> - 2.2-1
 - update to new version
 


More information about the scm-commits mailing list