rpmlint/test/spec/rpm-buildroot-usage.spec

27 lines
539 B
Plaintext

Name: rpm-buildroot-usage
Version: 0
Release: 0
Summary: rpm-buildroot-usage warning.
Group: Undefined
License: GPLv2
URL: http://rpmlint.zarb.org/#%{name}
Source0: Source0.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
$RPM_BUILD_ROOT should not be touched during %build or %prep stage, as it
may break short circuit builds.
%prep
%buildroot
%install
%clean
%files
%defattr(-,root,root,-)
%{_libdir}/foo
%changelog