diff options
author | Todd Zullinger <tmz@pobox.com> | 2018-06-04 17:28:26 -0400 |
---|---|---|
committer | Todd Zullinger <tmz@pobox.com> | 2018-06-16 22:36:05 -0400 |
commit | 25692dc69438b6c957d7b50889300dddc9cbfe2b (patch) | |
tree | 46f744113599fb85d2dae6f897662357371cc497 /cgit.spec | |
parent | e75beaad966916ee23cb00fe38736a36f36626e7 (diff) | |
download | cgit_EL6-25692dc69438b6c957d7b50889300dddc9cbfe2b.tar.gz |
remove env shebang's from filter scripts
This fixes the generated dependencies, pulling in python3. The filters
are not strictly required and perhaps should be split into a subpackage
or installed as example scripts.
Diffstat (limited to 'cgit.spec')
-rw-r--r-- | cgit.spec | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -91,6 +91,9 @@ CFLAGS = %{optflags} LDFLAGS = %{?__global_ldflags} EOF +# remove env shebang's from filter scripts +grep -rl '#!.*/env' filters/ | xargs -r sed -Ei 's@^(.+/)env (.+)$@\1\2@' + # I tried to use matchpathcon, but we would need to require # selinux-policy-targeted probably. @@ -154,6 +157,7 @@ install -d -m0755 %{buildroot}%{cachedir} %changelog * Mon Jun 04 2018 Todd Zullinger <tmz@pobox.com> - make config: drop redundant DESTDIR/INSTALL, add COPYTREE +- remove env shebang's from filter scripts * Sun Feb 18 2018 Todd Zullinger <tmz@pobox.com> - 1.1-10 - Use https for source URLs |