]> git.pld-linux.org Git - packages/checkbashisms.git/blob - checkbashisms.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/checkbashisms.git] / checkbashisms.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Check shell scripts for common bash-specific contructs
3 Name:           checkbashisms
4 Version:        2.10.64
5 Release:        1
6 Source0:        %{name}.pl
7 Source1:        %{name}.1
8 License:        GPL v2+
9 Group:          Development
10 URL:            http://packages.debian.org/sid/devscripts
11 BuildRequires:  rpm-perlprov >= 4.1-13
12 BuildArch:      noarch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 checkbashisms checks whether a /bin/sh script contains any common
17 bash-specific contructs.
18
19 It is extracted from the Debian devscripts package.
20
21 %prep
22 %setup -qcT
23
24 %install
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
29
30 %clean
31 rm -rf $RPM_BUILD_ROOT
32
33 %files
34 %defattr(644,root,root,755)
35 %attr(755,root,root) %{_bindir}/%{name}
36 %{_mandir}/man1/%{name}.1*
This page took 0.050678 seconds and 3 git commands to generate.