Checking if your kit is complete... Looks good Writing Makefile for RPM::Specfile cp lib/RPM/Specfile.pm blib/lib/RPM/Specfile.pm cp cpanflute2 blib/script/cpanflute2 /export/home/cpanrun/build/5.8.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cpanflute2 cp cpanflute2-old blib/script/cpanflute2-old /export/home/cpanrun/build/5.8.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cpanflute2-old Manifying blib/man3/RPM::Specfile.3 PERL_DL_NONLAZY=1 /export/home/cpanrun/build/5.8.0/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..1 ok 1 %define a_macro by any other name is still a_macro. Name: blippy-foo Version: 1.00 Release: 1 License: GPL Group: Applications/CPAN BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: xfoo >= 1.2 BuildRequires: xfoo2 >= 1.2 Requires: foo >= 1.2 Requires: foo2 >= 1.2 Source0: blippy-foo-1.00.tar.gz Source1: extra-blippy.conf Patch0: super-blippy.patch Patch1: another.patch Prefix: /usr/local/mypkg %description This is an extra blippy module. It slices, it dices. Author: Blippy Foo %prep %setup -q %patch0 -p1 %patch1 -p1 %build CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL make %install rm -rf $RPM_BUILD_ROOT eval `perl '-V:installarchlib'` mkdir -p $RPM_BUILD_ROOT/$installarchlib make PREFIX=$RPM_BUILD_ROOT/usr install [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress find $RPM_BUILD_ROOT/usr -type f -print | sed "s@^$RPM_BUILD_ROOT@@g" | grep -v perllocal.pod | grep -v "\.packlist" > --filelist if [ "$(cat --filelist)X" = "X" ] ; then echo "ERROR: EMPTY FILE LIST" exit -1 fi %pre echo "Running %%pre!" %post echo "Running %%post!" %preun echo "Running %%preun!" %postun echo "Running %%postun!" %files -f blippy-filelist %changelog * $clm_changelog - Spec file was autogenerated. Installing /export/home/cpanrun/build/5.8.0/lib/site_perl/5.8.0/RPM/Specfile.pm Installing /export/home/cpanrun/build/5.8.0/man/man3/RPM::Specfile.3 Installing /export/home/cpanrun/build/5.8.0/bin/cpanflute2 Installing /export/home/cpanrun/build/5.8.0/bin/cpanflute2-old Appending installation info to /export/home/cpanrun/build/5.8.0/lib/5.8.0/sun4-solaris-thread-multi/perllocal.pod