Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions fedora/python-ogr.spec
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,16 @@ One Git library to Rule!
%pyproject_install
%pyproject_save_files ogr

mkdir -p %{buildroot}%{_bindir}
install -m 755 test-for-scan-failure.sh %{buildroot}%{_bindir}/test-for-scan-failure.sh

%files -n python3-ogr -f %{pyproject_files}
# Epel9 does not tag the license file in pyproject_files as a license. Manually install it in this case
%if 0%{?el9}
%license LICENSE
%endif
%doc README.md
%{_bindir}/test-for-scan-failure.sh


%changelog
Expand Down
5 changes: 5 additions & 0 deletions test-for-scan-failure.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
foo=bar
if [[ -z foo ]]; then
echo $foo
fi