Hello community, here is the log from the commit of package cpanspec for openSUSE:Factory checked in at Wed Jun 1 12:47:46 CEST 2011.
-------- --- cpanspec/cpanspec.changes 2011-05-27 16:23:11.000000000 +0200 +++ /mounts/work_src_done/STABLE/cpanspec/cpanspec.changes 2011-05-31 12:49:45.000000000 +0200 @@ -1,0 +2,6 @@ +Tue May 31 10:48:17 UTC 2011 - co...@novell.com + +- Stephan Kulow (1): + convert to Makefile.PL + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- cpanspec.tar.xz New: ---- cpanspec-1.78.05.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cpanspec.spec ++++++ --- /var/tmp/diff_new_pack.z1mQa2/_old 2011-06-01 12:46:42.000000000 +0200 +++ /var/tmp/diff_new_pack.z1mQa2/_new 2011-06-01 12:46:42.000000000 +0200 @@ -15,77 +15,65 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: cpanspec -Version: 1.78.04 -Release: 29 +Version: 1.78.05 +Release: 1 +%define cpan_name cpanspec Summary: Generate a SUSE spec file for a CPAN module License: GPL+ or Artistic Group: Development/Languages/Perl Url: http://sourceforge.net/projects/cpanspec/ -Source0: cpanspec.tar.xz +Source0: cpanspec-1.78.05.tar.gz Source99: updaterpm.sh -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -BuildRequires: xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Archive::Tar) BuildRequires: perl(Archive::Zip) -BuildRequires: perl(File::Basename) -BuildRequires: perl(FileHandle) -BuildRequires: perl(Getopt::Long) -BuildRequires: perl(locale) +BuildRequires: perl(IO::Uncompress::Bunzip2) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Parse::CPAN::Packages) -BuildRequires: perl(POSIX) +BuildRequires: perl(Pod::Simple::TextContent) BuildRequires: perl(Text::Autoformat) BuildRequires: perl(YAML) -BuildRequires: perl(File::Temp) -BuildRequires: perl(Module::CoreList) -BuildRequires: perl(File::Path) -Requires: perl(File::Path) -Requires: perl(Module::CoreList) +Requires: perl(Archive::Tar) Requires: perl(Archive::Zip) -Requires: perl(File::Temp) -Requires: perl(File::Basename) -Requires: perl(FileHandle) -Requires: perl(Getopt::Long) Recommends: perl(IO::Uncompress::Bunzip2) -Requires: perl(locale) Requires: perl(LWP::UserAgent) Requires: perl(Parse::CPAN::Packages) -Requires: perl(Pod::POM) -Requires: perl(POSIX) +Requires: perl(Pod::Simple::TextContent) Requires: perl(Text::Autoformat) Requires: perl(YAML) +%{perl_requires} %description -cpanspec will generate a SUSE spec file to build a rpm from a CPAN-style Perl +*cpanspec* will generate a spec file to build a rpm from a CPAN-style Perl module distribution. %prep -%setup -q -n cpanspec +%setup -q -n %{cpan_name}-%{version} +find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Build.PL installdirs=vendor -./Build +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} %check -./Build test +%{__make} test %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; -%{_fixperms} $RPM_BUILD_ROOT/* +%perl_make_install +%perl_process_packlist +%perl_gen_filelist %clean -%{__rm} -rf $RPM_BUILD_ROOT +%{__rm} -rf %{buildroot} -%files -%defattr(-,root,root,-) +%files -f %{name}.files +%defattr(-,root,root,755) %doc Artistic BUGS Changes COPYING TODO -%_bindir/cpanget -%_bindir/cpanspec -%_mandir/man1/cpanspec.1.gz %changelog ++++++ updaterpm.sh ++++++ --- /var/tmp/diff_new_pack.z1mQa2/_old 2011-06-01 12:46:42.000000000 +0200 +++ /var/tmp/diff_new_pack.z1mQa2/_new 2011-06-01 12:46:42.000000000 +0200 @@ -1,13 +1,14 @@ #! /bin/sh -rev=f54b8ebe26ed6bcfebe16272a1c7bb6f1f3bd1db +rev=d0eb41e203789118fa2bcc878d9da725813679e2 git clone --depth 0 http://git.gitorious.org/opensuse/cpanspec.git cd cpanspec nrev=`git show HEAD| grep commit | head -n 1 | cut '-d ' -f2` osc vc -m "`git log --no-merges ^$rev HEAD cpanspec | git shortlog`" .. +perl Makefile.PL +make dist cd .. -rm -rf cpanspec/.git -tar c cpanspec | xz -c > cpanspec.tar.xz +mv cpanspec/*.gz . rm -rf cpanspec # everyone loves self modifying shell scripts, no? sed -e "s,^rev=.*,rev=$nrev," -i updaterpm.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org