rpms/perl-Net-XMPP/FC-5 perl-Net-XMPP.spec,1.2,1.3 sources,1.2,1.3
Chris Weyl (cweyl)
fedora-extras-commits at redhat.com
Sun Apr 1 19:11:14 UTC 2007
Author: cweyl
Update of /cvs/extras/rpms/perl-Net-XMPP/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10430/FC-5
Modified Files:
perl-Net-XMPP.spec sources
Log Message:
+* Sun Apr 01 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.02-1
+- update to 1.02
+- note license change: perl to LGPL
+- switched over to Build.PL; misc spec file cleanups
Index: perl-Net-XMPP.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-XMPP/FC-5/perl-Net-XMPP.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- perl-Net-XMPP.spec 1 Jun 2006 15:34:46 -0000 1.2
+++ perl-Net-XMPP.spec 1 Apr 2007 19:10:41 -0000 1.3
@@ -1,18 +1,16 @@
-# $Id$
-
Name: perl-Net-XMPP
-Version: 1.0
-Release: 5%{?dist}
+Version: 1.02
+Release: 1%{?dist}
Summary: Net::XMPP - perl XMPP library
Group: Development/Libraries
License: GPL or Artistic or LGPL
URL: http://search.cpan.org/dist/Net-XMPP/
-Source0: http://search.cpan.org/CPAN/authors/id/R/RE/REATMON/Net-XMPP-%{version}.tar.gz
-Source1: LICENSING.correspondance
+Source0: http://search.cpan.org/CPAN/modules/by-module/Net/Net-XMPP-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
+BuildRequires: perl, perl(Module::Build)
BuildRequires: perl, perl(XML::Stream), perl(Digest::SHA1)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -30,27 +28,21 @@
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-make %{?_smp_mflags}
-
-cp %{SOURCE1} .
-
-# generate our other two licenses...
-perldoc perlgpl > LICENSE.GPL
-perldoc perlartistic > LICENSE.Artistic
+%{__perl} Build.PL installdirs=vendor
+./Build
%install
rm -rf %{buildroot}
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w %{buildroot}/*
+./Build install destdir=%{buildroot} create_packlist=0
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
-#% check
-#make test
+
+%check
+./Build test
%clean
@@ -59,12 +51,20 @@
%files
%defattr(-,root,root,-)
-%doc README CHANGES examples LICENSE.* LICENSING.*
+%doc README CHANGES examples/ LICENSE.*
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
+* Sun Apr 01 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.02-1
+- update to 1.02
+- note license change: perl to LGPL
+- switched over to Build.PL; misc spec file cleanups
+
+* Thu Aug 31 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.0-6
+- bump for mass rebuild
+
* Sun May 28 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.0-5
- disable test suite, per review.
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-XMPP/FC-5/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 28 May 2006 17:55:10 -0000 1.2
+++ sources 1 Apr 2007 19:10:41 -0000 1.3
@@ -1 +1 @@
-6338484aa0d394e68c01666ca34e5241 Net-XMPP-1.0.tar.gz
+67cf40d3bbbe6740c21c856c79692fde Net-XMPP-1.02.tar.gz
More information about the scm-commits
mailing list