File scratch.spec of Package scratch

# norootforbuild
# neededforbuild

Name:           mydummy
Version:        1.0
Release:        1
License:        GPL
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          Dummy
Summary:        My Dummy Package
# BuildRequires:

%description
My Dummy Package for testing

%prep

%build

%install
dummydir=$RPM_BUILD_ROOT/usr/lib/mydummy
mkdir -p $dummydir
log=${dummydir}/junk.txt
echo "Results:" >> $log
echo "Repository is: %{_repository}" | tee $log

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
/usr/lib/mydummy/junk.txt
openSUSE Build Service is sponsored by