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 /home/cpanrun/tmp/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cpanflute2 cp cpanflute2-old blib/script/cpanflute2-old /home/cpanrun/tmp/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cpanflute2-old Manifying blib/man3/RPM::Specfile.3 PERL_DL_NONLAZY=1 /home/cpanrun/tmp/5.10.0/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..1 # Running under perl version 5.010000 for linux # Current time local: Thu Nov 29 20:21:31 2007 # Current time GMT: Fri Nov 30 04:21:31 2007 # Using Test.pm version 1.25 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 /home/cpanrun/build/5.10.0/html/site/lib/RPM/Specfile.html Installing /home/cpanrun/build/5.10.0/site/lib/RPM/Specfile.pm Installing /home/cpanrun/build/5.10.0/site/man/man3/RPM::Specfile.3 Installing /home/cpanrun/build/5.10.0/site/bin/cpanflute2 Installing /home/cpanrun/build/5.10.0/site/bin/cpanflute2-old Appending installation info to /home/cpanrun/build/5.10.0/lib/perllocal.pod