[php-drush-drush] Removed man page (for now) as it was causing koji build errors

Shawn Iwinski siwinski at fedoraproject.org
Mon Dec 9 17:01:36 UTC 2013


commit 42d2e440d962e1b2c3fe2588e245de5180800b4f
Author: Shawn Iwinski <siwinski at redhat.com>
Date:   Mon Dec 9 12:01:34 2013 -0500

    Removed man page (for now) as it was causing koji build errors

 php-drush-drush.spec |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)
---
diff --git a/php-drush-drush.spec b/php-drush-drush.spec
index 94a0ac5..b757067 100644
--- a/php-drush-drush.spec
+++ b/php-drush-drush.spec
@@ -144,15 +144,15 @@ mv package.xml %{pear_name}-%{pear_version}/%{name}.xml
 
 %build
 # Build man page
-cd %{pear_name}-%{pear_version}
-sed -e 's#@pear_directory@/drush#`dirname -- "$0"`#' \
-    -e 's#@php_bin@#%{_bindir}/php#' \
-    drush > drush-help2man
-chmod +x drush-help2man
-help2man --no-info ./drush-help2man > drush.1
-sed -e 's/drush-help2man/drush/g' \
-    -e 's/DRUSH-HELP2MAN/DRUSH/g' \
-    -i drush.1
+#cd %%{pear_name}-%%{pear_version}
+#sed -e 's#@pear_directory@/drush#`dirname -- "$0"`#' \
+#    -e 's#@php_bin@#%%{_bindir}/php#' \
+#    drush > drush-help2man
+#chmod +x drush-help2man
+#help2man --no-info ./drush-help2man > drush.1
+#sed -e 's/drush-help2man/drush/g' \
+#    -e 's/DRUSH-HELP2MAN/DRUSH/g' \
+#    -i drush.1
 
 %install
 cd %{pear_name}-%{pear_version}
@@ -171,8 +171,8 @@ mkdir -p %{buildroot}%{pear_xmldir}
 install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
 
 # Install man page
-mkdir -p %{buildroot}%{_mandir}/man1
-cp -p drush.1 %{buildroot}%{_mandir}/man1/
+#mkdir -p %%{buildroot}%%{_mandir}/man1
+#cp -p drush.1 %%{buildroot}%%{_mandir}/man1/
 
 # Create lib directory
 mkdir -pm 0755 %{buildroot}%{pear_phpdir}/%{pear_name}/lib
@@ -201,7 +201,7 @@ fi
 
 %files
 %doc %{pear_docdir}/%{pear_name}
-%doc %{_mandir}/man1/drush.1*
+#%doc %%{_mandir}/man1/drush.1*
 %{pear_xmldir}/%{name}.xml
 %{pear_phpdir}/%{pear_name}
 %{pear_testdir}/%{pear_name}
@@ -215,6 +215,7 @@ fi
 - PHP minimum version 5.2 => 5.3.0
 - Added the following requires: php-symfony-yaml, php-filter, php-mbstring
 - Removed the following requires: php-mysql, php-mysqli, php-pgsql
+- Removed man page (for now) as it was causing koji build errors
 
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 5.9.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild


More information about the scm-commits mailing list