summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/docbook-xsl-stylesheets.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/docbook-xsl-stylesheets.spec b/packaging/docbook-xsl-stylesheets.spec
index 4af1e5a..db5f234 100644
--- a/packaging/docbook-xsl-stylesheets.spec
+++ b/packaging/docbook-xsl-stylesheets.spec
@@ -62,7 +62,7 @@ sed -i 's=@@EPUBDIR@@=%{xml_mod_style_prod_dir}/current//epub/bin=' epub/bin/db
# We don't need these scripts:
rm -rf install.sh tools/bin/docbook-xsl-update
-find -type f -exec chmod -x {} \;
+find -type f -print0 |xargs -0 chmod -x
chmod -R a+rX,g-w,o-w .
chmod -x images/*.{svg,png,gif,tif} images/callouts/*.{svg,png,gif} extensions/docbook.py
# Start cleanup (to avoid warnings for rpmlint
@@ -128,7 +128,7 @@ doc_dir=%{buildroot}%{_defaultdocdir}/%{name}
%{INSTALL_DIR} %{buildroot}%{xml_mod_style_prod_dir}/%{version}
cp -a [[:lower:]]* %{buildroot}%{xml_mod_style_prod_dir}/%{version}
cp -a VERSION.xsl %{buildroot}%{xml_mod_style_prod_dir}/%{version}
-find %{buildroot}%{xml_mod_style_prod_dir} -type f -name '*.orig' -exec rm -f {} \;
+find %{buildroot}%{xml_mod_style_prod_dir} -type f -name '*.orig' -print0 |xargs -0 rm -f
rm -f %{buildroot}%{xml_mod_style_prod_dir}/%{version}/for-catalog*
: >%{name}_list
{