[rolekit] Improved documentation

Stephen Gallagher sgallagh at fedoraproject.org
Fri Nov 7 01:09:44 UTC 2014


commit 3beae3e9b4b92c2e61e5d417cb3d7111beada3eb
Author: Stephen Gallagher <sgallagh at redhat.com>
Date:   Thu Nov 6 20:09:29 2014 -0500

    Improved documentation
    
    - Added bash-completion support for rolectl
    - Input validation for the Domain Controller role
    - Numerous bug fixes

 .gitignore                                         |    1 +
 ...S-routine-to-be-notified-of-unit-failure-.patch |  175 --------------------
 rolekit.spec                                       |   29 +++-
 sources                                            |    2 +-
 4 files changed, 26 insertions(+), 181 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 50688d8..072d540 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /rolekit-0.0.2.tar.bz2
 /rolekit-0.0.3.tar.bz2
 /rolekit-0.1.0.tar.bz2
+/rolekit-0.1.1.tar.bz2
diff --git a/rolekit.spec b/rolekit.spec
index 32c2895..93b350d 100644
--- a/rolekit.spec
+++ b/rolekit.spec
@@ -1,7 +1,7 @@
 Summary: A server daemon with D-Bus interface providing a server roles
 Name: rolekit
-Version: 0.1.0
-Release: 2%{?dist}
+Version: 0.1.1
+Release: 1%{?dist}
 URL: http://fedorahosted.org/rolekit
 License: GPLv2+
 Source0: https://fedorahosted.org/released/rolekit/%{name}-%{version}.tar.bz2
@@ -16,6 +16,7 @@ Requires: dbus-python
 Requires: python-futures
 Requires: python-slip-dbus
 Requires: python-decorator
+Requires: python-IPy
 Requires: pygobject3-base
 Requires: firewalld
 Requires: systemd
@@ -26,21 +27,28 @@ Requires(preun): systemd
 Requires(postun): systemd
 
 # Patches
-Patch0001: 0001-Need-a-D-BUS-routine-to-be-notified-of-unit-failure-.patch
 
 %description
 rolekit is a server daemon that provides a D-Bus interface and server roles.
 
 %prep
 %setup -q
-%patch0001 -p1
 
 %build
 %configure
 
 %install
+%{__mkdir_p} $RPM_BUILD_ROOT/%{_datadir}/bash-completion/completions
 make install DESTDIR=%{buildroot}
 
+# Move the testrole into documentation instead of the live system
+%{__mkdir_p} $RPM_BUILD_ROOT/%{_docdir}/examples/
+%{__mv} $RPM_BUILD_ROOT/%{_prefix}/lib/rolekit/roles/testrole \
+        $RPM_BUILD_ROOT/%{_docdir}/examples/
+
+# Until it is complete, remove the database server role
+%{__rm} -Rf $RPM_BUILD_ROOT/%{_prefix}/lib/rolekit/roles/databaseserver
+
 #%find_lang %{name} --all-name
 
 %post
@@ -63,7 +71,8 @@ make install DESTDIR=%{buildroot}
 %dir %{_sysconfdir}/rolekit/roles
 %dir %{_prefix}/lib/rolekit
 %dir %{_prefix}/lib/rolekit/roles
-%{_prefix}/lib/rolekit/roles/*/*.py*
+%{_prefix}/lib/rolekit/roles/domaincontroller/*.py*
+
 %config(noreplace) %{_sysconfdir}/sysconfig/rolekit
 %{_unitdir}/rolekit.service
 %config(noreplace) %{_sysconfdir}/dbus-1/system.d/rolekit1.conf
@@ -79,9 +88,19 @@ make install DESTDIR=%{buildroot}
 %{python_sitelib}/rolekit/server/io/*.py*
 %{_mandir}/man1/role*.1*
 %{_mandir}/man5/role*.5*
+%{_docdir}/examples/
+
+%dir %{_datadir}/bash-completion/completions
+%{_datadir}/bash-completion/completions/rolectl
 
 
 %changelog
+* Thu Nov 06 2014 Stephen Gallagher <sgallagh at redhat.com> 0.1.1-1
+- Improved documentation
+- Added bash-completion support for rolectl
+- Input validation for the Domain Controller role
+- Numerous bug fixes
+
 * Mon Oct 13 2014 Stephen Gallagher <sgallagh at redhat.com> 0.1.0-2
 - Handle service failures detected by systemd
 
diff --git a/sources b/sources
index cdc5e7c..0013df8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1cbeaf783d07177912b605026f84e7e1  rolekit-0.1.0.tar.bz2
+e24f86bf5998b0d01c8a34b588386409  rolekit-0.1.1.tar.bz2


More information about the scm-commits mailing list