[rt3] Update README.fedora to use systemctl instead of /sbin/service.

corsepiu corsepiu at fedoraproject.org
Sat Dec 22 06:29:19 UTC 2012


commit 93031f457e61fced5b880e7ba09d88f28b7a7d6f
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Sat Dec 22 07:29:07 2012 +0100

    Update README.fedora to use systemctl instead of /sbin/service.
    
    - Rework man-page processing.
    - Fix up *.spec changelog dates (Fix f19 FTBFS).

 README.fedora.in |    6 +++---
 rt3.spec         |   47 +++++++++++++++++++++++++++++++++++------------
 2 files changed, 38 insertions(+), 15 deletions(-)
---
diff --git a/README.fedora.in b/README.fedora.in
index bcf8988..e48a37e 100644
--- a/README.fedora.in
+++ b/README.fedora.in
@@ -15,7 +15,7 @@ If you have never set up rt3 before, proceed as follows:
 # yum install mysql-server
 
 3. Startup the mysql server:
-# /sbin/service mysqld start
+# systemctl start mysqld.service
 
 4. Set up the mysql server.
 If not already done, at minimum, you will want to set up a mysql root 
@@ -36,9 +36,9 @@ those setting containing "example.com" to your RT_SiteConfig.pm.
   --dba-password <mysql-root-password>
 
 7. Start/restart apache/httpd:
-# /sbin/service httpd start
+# systemctl start httpd.service
 rsp.
-# /sbin/service httpd restart
+# systemctl restart httpd.service
 
 8. Try to log in:
 At this point, you should be able to login into rt3 on your rt3-host via
diff --git a/rt3.spec b/rt3.spec
index 8fc7ee0..0aedb2d 100644
--- a/rt3.spec
+++ b/rt3.spec
@@ -41,7 +41,7 @@
 
 Name:		rt3
 Version:	3.8.15
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Request tracker 3
 
 Group:		Applications/Internet
@@ -354,7 +354,23 @@ make %{?_smp_mflags}
 
 # Generate man-pages
 /usr/bin/pod2man bin/rt-mailgate > bin/rt-mailgate.1
-/usr/bin/pod2man bin/mason_handler.fcgi > bin/mason_handler.fcgi.1
+# no pod: /usr/bin/pod2man bin/rt > bin/rt.1
+/usr/bin/pod2man bin/fastcgi_server > bin/fastcgi_server.1
+# no pod: /usr/bin/pod2man bin/mason_handler.fcgi > bin/mason_handler.fcgi.1
+# no pod: /usr/bin/pod2man sbin/rt-attributes-viewer > sbin/rt-attributes-viewer.1
+/usr/bin/pod2man sbin/rt-clean-sessions > sbin/rt-clean-sessions.1
+/usr/bin/pod2man bin/rt-crontool > bin/rt-crontool.1
+# no pod: /usr/bin/pod2man /sbin/rt-dump-database
+/usr/bin/pod2man sbin/rt-email-dashboards > sbin/rt-email-dashboards.1
+/usr/bin/pod2man sbin/rt-email-digest > sbin/rt-email-digest.1
+/usr/bin/pod2man sbin/rt-email-group-admin > sbin/rt-email-group-admin.1
+# /usr/bin/pod2man sbin/rt-server > sbin/rt-server.1
+/usr/bin/pod2man sbin/rt-setup-database > sbin/rt-setup-database.1
+/usr/bin/pod2man sbin/rt-shredder > sbin/rt-shredder.1
+# no pod: /usr/bin/pod2man sbin/rt-validator > sbin/rt-validator.1
+# no pod: /usr/bin/pod2man sbin/standalone_httpd > sbin/standalone_httpd.1
+# no pod: /usr/bin/pod2man sbin/webmux.pl > sbin/webmux.pl.1
+
 
 %install
 make install DESTDIR=${RPM_BUILD_ROOT}
@@ -380,9 +396,11 @@ sed -e 's, at RT3_WWWDIR@,%{RT3_WWWDIR},g' \
   -e 's, at RT3_BINDIR@,%{RT3_BINDIR},g' \
   %{SOURCE3} > ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d/rt3.conf
 
+# Install man pages
 mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
-install -m 0644 bin/rt-mailgate.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
-install -m 0644 bin/mason_handler.fcgi.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
+for file in bin/*.1 sbin/*.1; do
+install -m 0644 $file ${RPM_BUILD_ROOT}%{_mandir}/man1
+done
 
 if [ "%{_bindir}" != "%{RT3_BINDIR}" ]; then
   mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
@@ -495,6 +513,11 @@ fi
 %endif
 
 %changelog
+* Sat Dec 22 2012 Ralf Corsépius <corsepiu at fedoraproject.org> - 3.8.15-2
+- Update README.fedora to use systemctl instead of /sbin/service.
+- Rework man-page processing.
+- Fix up *.spec changelog dates (Fix f19 FTBFS).
+
 * Sun Oct 28 2012 Ralf Corsépius <corsepiu at fedoraproject.org> - 3.8.15-1
 - Upstream update (RH BZ 870407, CVE-2012-4730, CVE-2012-4732,
   CVE-2012-4734, CVE-2012-4735, CVE-2012-4884).
@@ -515,7 +538,7 @@ fi
 - Upstream update.
 - Address various CVEs (BZ 824082).
 
-* Tue Feb 02 2012 Ralf Corsépius <corsepiu at fedoraproject.org> - 3.8.11-7
+* Thu Feb 02 2012 Ralf Corsépius <corsepiu at fedoraproject.org> - 3.8.11-7
 - Fix shebangs.
 - Make testsuite files executable (enables rpm's perl module dep tracking).
 - Build *-tests, iff devel_mode was given.
@@ -666,11 +689,11 @@ fi
 * Wed Oct 01 2008 Ralf Corsépius <corsepiu at fedoraproject.org> - 3.8.1-1
 - 1st rawhide release.
 
-* Mon Sep 23 2008 Ralf Corsépius <corsepiu at fedoraproject.org>
+* Tue Sep 23 2008 Ralf Corsépius <corsepiu at fedoraproject.org>
 - Add Provides for perl-deps rpm doesn't catch.
 - Treat Spamassassin optional
 
-* Mon Sep 23 2008 Ralf Corsépius <corsepiu at fedoraproject.org>
+* Tue Sep 23 2008 Ralf Corsépius <corsepiu at fedoraproject.org>
 - Don't package %%{_sysconfdir}/rt3/upgrade/*.in
 - Cleanup Requires, __perl_requires, __perl_provides.
 
@@ -679,7 +702,7 @@ fi
 - Completely rework the spec.
 - Upstream update.
 
-* Wed Jun 26 2008 Ralf Corsépius <rc040203 at freenet.de> - 3.6.7-1
+* Thu Jun 26 2008 Ralf Corsépius <rc040203 at freenet.de> - 3.6.7-1
 - Upstream update.
 - Add --with-testdeps.
 
@@ -726,7 +749,7 @@ fi
 - Install etc/upgrade to %%{_sysconfdir}/rt3/upgrade.
 - Add rt-3.6.0-Makefile.diff.
 
-* Mon Jul 19 2006 Ralf Corsépius <rc040203 at freenet.de> - 3.6.0-3
+* Wed Jul 19 2006 Ralf Corsépius <rc040203 at freenet.de> - 3.6.0-3
 - Move /var/www/rt3 to %%{_datadir}/rt3/html
 
 * Fri Jun 23 2006 Ralf Corsépius <rc040203 at freenet.de> - 3.6.0-2
@@ -752,7 +775,7 @@ fi
 - Fix typo in setting up localstatedir.
 - Own %%{RT3_CACHEDIR}.
 
-* Tue Oct 24 2005 Ralf Corsépius <rc040203 at freenet.de> - 3.4.4-7
+* Mon Oct 24 2005 Ralf Corsépius <rc040203 at freenet.de> - 3.4.4-7
 - Apply patch from Chris Grau to README.fedora.
 - Move mason_data, session_data to /var/cache/rt3.
 - Install %%{RT3_LOGDIR}.
@@ -787,9 +810,9 @@ fi
 * Fri Sep 23 2005 Ralf Corsépius <rc040203 at freenet.de> - 3.4.4-1.2
 - Use %%RT3_WWWDIR, %%_sbindir, %%_bindir in config.layout.
 
-* Thu Sep 17 2005 Ralf Corsépius <rc040203 at freenet.de> - 3.4.4-1.1
+* Sat Sep 17 2005 Ralf Corsépius <rc040203 at freenet.de> - 3.4.4-1.1
 - Reflect feedback from Chris Grau.
 - Remove SpeedyCGI support.
 
-* Thu Sep 16 2005 Ralf Corsépius <rc040203 at freenet.de> - 3.4.4-1
+* Fri Sep 16 2005 Ralf Corsépius <rc040203 at freenet.de> - 3.4.4-1
 - FE submission candidate.


More information about the scm-commits mailing list