summaryrefslogtreecommitdiff
path: root/tests/data/SPECS/shebang.spec
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/SPECS/shebang.spec')
-rw-r--r--tests/data/SPECS/shebang.spec23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/data/SPECS/shebang.spec b/tests/data/SPECS/shebang.spec
new file mode 100644
index 000000000..fb99ed62d
--- /dev/null
+++ b/tests/data/SPECS/shebang.spec
@@ -0,0 +1,23 @@
+Name: shebang
+Version: 0.1
+Release: 1
+Summary: Testing shebang dependency generation
+Group: Testing
+License: GPL
+BuildArch: noarch
+
+%description
+%{summary}
+
+%install
+mkdir -p %{buildroot}/bin
+cat << EOF > %{buildroot}/bin/shebang
+#!/bin/blabla
+echo shebang
+EOF
+
+chmod a+x %{buildroot}/bin/shebang
+
+%files
+%defattr(-,root,root,-)
+/bin/shebang