forked from pool/python-pandocfilters
Accepting request 927317 from home:dimstar:Factory
- Mark exampls/*.py non-executable. OBS-URL: https://build.opensuse.org/request/show/927317 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pandocfilters?expand=0&rev=12
This commit is contained in:
parent
463d58e282
commit
689d498e62
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 25 14:02:31 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Mark exampls/*.py non-executable.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 4 21:06:04 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -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}/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user