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