File postfixadmin-QA.spec of Package postfixadmin-QA
Name: postfixadmin-QA
Version: 0.0.1
Release: 1
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: Dummy
Summary: Dummy package doing some QA tests for postfixadmin
BuildArch: noarch
Requires: postfixadmin
BuildRequires: postfixadmin
# workaround "multiple choice" expansion errors
# - php-(f)cgi, php-cli: multiple choice for "php" on Mandriva
# - *php4*: soft force php5 ;-)
#!BuildIgnore: php5 apache2-mod_php5 php5-mysql php5-gd php-fcgi php-cgi php-cli
%description
Dummy package doing some QA tests for postfixadmin
%prep
%build
echo "---------------------- rpm -q --requires postfixadmin --------------------------"
rpm -q --requires postfixadmin
echo "---------------------- --------------------------"
echo "---------------------- rpm -q --provides postfixadmin --------------------------"
rpm -q --provides postfixadmin
echo "---------------------- --------------------------"
echo "---------------------- rpm -ql postfixadmin --------------------------"
rpm -ql postfixadmin
echo "---------------------- --------------------------"
echo "---------------------- rpm -qa | grep perl --------------------------"
rpm -qa | grep -i perl
echo "---------------------- --------------------------"
%install
echo "OK" > %{name}
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%doc %{name}