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/pa-risc1.1/build/5.8.2/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cpanflute2 cp cpanflute2-old blib/script/cpanflute2-old /home/cpanrun/pa-risc1.1/build/5.8.2/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cpanflute2-old Manifying blib/man3/RPM::Specfile.3 PERL_DL_NONLAZY=1 /home/cpanrun/pa-risc1.1/build/5.8.2/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..1 # Running under perl version 5.008002 for hpux # Current time local: Mon Jul 2 17:47:18 2007 # Current time GMT: Tue Jul 3 00:47:18 2007 # Using Test.pm version 1.24 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/pa-risc1.1/build/5.8.2/lib/site_perl/5.8.2/RPM/Specfile.pm Installing /home/cpanrun/pa-risc1.1/build/5.8.2/man/man3/RPM::Specfile.3 Installing /home/cpanrun/pa-risc1.1/build/5.8.2/bin/cpanflute2 Installing /home/cpanrun/pa-risc1.1/build/5.8.2/bin/cpanflute2-old Appending installation info to /home/cpanrun/pa-risc1.1/build/5.8.2/lib/5.8.2/PA-RISC1.1-thread-multi/perllocal.pod