diff --git a/python-pandocfilters.changes b/python-pandocfilters.changes index 551fe04..21d54c3 100644 --- a/python-pandocfilters.changes +++ b/python-pandocfilters.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 25 14:02:31 UTC 2021 - Dominique Leuenberger + +- Mark exampls/*.py non-executable. + ------------------------------------------------------------------- Thu Mar 4 21:06:04 UTC 2021 - Dirk Müller diff --git a/python-pandocfilters.spec b/python-pandocfilters.spec index e2f7535..7935a0c 100644 --- a/python-pandocfilters.spec +++ b/python-pandocfilters.spec @@ -33,8 +33,8 @@ BuildArch: noarch %python_subpackages %description -Pandoc filters are pipes that read a JSON serialization of the -Pandoc AST from stdin, transform it in some way, and write it +Pandoc filters are pipes that read a JSON serialization of the +Pandoc AST from stdin, transform it in some way, and write it to stdout. They can be used with pandoc (>= 1.12) either using pipes. pandoc -t json -s | ./caps.py | pandoc -f json @@ -44,6 +44,8 @@ or using the --filter (or -F) command-line option. %setup -q -n pandocfilters-%{version} # Fix usr/bin/env call in example sed -i 's/^#\!\/.*//g' examples/*.py +# Fix: spurious-executable-perm (Badness: 50) +chmod a-x examples/*.py %build %python_build @@ -53,7 +55,7 @@ sed -i 's/^#\!\/.*//g' examples/*.py %files %{python_files} %defattr(-,root,root,-) -%doc README README.rst +%doc README README.rst %doc examples/ %license LICENSE %{python_sitelib}/*