1 %include /usr/lib/rpm/macros.perl
2 Summary: Check shell scripts for common bash-specific contructs
10 URL: http://packages.debian.org/sid/devscripts
11 BuildRequires: rpm-perlprov >= 4.1-13
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 checkbashisms checks whether a /bin/sh script contains any common
17 bash-specific contructs.
19 It is extracted from the Debian devscripts package.
25 rm -rf $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
27 install -p %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/%{name}
28 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
31 rm -rf $RPM_BUILD_ROOT
34 %defattr(644,root,root,755)
35 %attr(755,root,root) %{_bindir}/%{name}
36 %{_mandir}/man1/%{name}.1*