diff -r 000000000000 -r b19c8e5795eb tests/uninstallable.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/uninstallable.spec Thu Mar 02 11:26:00 2017 +0000 @@ -0,0 +1,30 @@ +%define _source_payload w9.gzdio +%define _binary_payload w9.gzdio + +Name: uninstallable +Summary: A package that cannot be installed +Group: Test +License: GPL +URL: http://www.juiblex.co.uk/beach +Version: 1 +Release: 1 +Source: uninstallable.tar +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: /usr + +%description +A package that cannot be installed because its pre script always fails. + +%prep + +%build + +%install + +%clean + +%pre -p +error("Package is uninstallable") + +%files