]> sourceware.org Git - systemtap.git/commitdiff
Fix 'version-control-internal-file' rpmlint errors in the testsuite.
authorDavid Smith <dsmith@redhat.com>
Fri, 20 May 2011 21:35:26 +0000 (16:35 -0500)
committerDavid Smith <dsmith@redhat.com>
Fri, 20 May 2011 21:35:26 +0000 (16:35 -0500)
* systemtap.spec: Remove all '.gitignore' files from the testsuite
  directory.

systemtap.spec

index ea8378f14e71c6e198c2de08dec73a4f8508ba7d..ac3a0c1a2bfcfafb43cb0c5d9919c30f35839a89 100644 (file)
@@ -260,6 +260,9 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/examples examples
 # Fix paths in the example & testsuite scripts
 find examples testsuite -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
 
+# To make rpmlint happy, remove any .gitignore files in the testsuite.
+find testsuite -type f -name '.gitignore' -print0 | xargs -0 rm -f
+
 # Because "make install" may install staprun with whatever mode, the
 # post-processing programs rpmbuild runs won't be able to read it.
 # So, we change permissions so that they can read it.  We'll set the
This page took 0.028115 seconds and 5 git commands to generate.