rpms/perl-Net-XMPP/devel .cvsignore, 1.2, 1.3 perl-Net-XMPP.spec, 1.3, 1.4 sources, 1.2, 1.3
Chris Weyl (cweyl)
fedora-extras-commits at redhat.com
Sun Apr 1 19:11:21 UTC 2007
Author: cweyl
Update of /cvs/extras/rpms/perl-Net-XMPP/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10430/devel
Modified Files:
.cvsignore 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: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-XMPP/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 28 May 2006 17:55:10 -0000 1.2
+++ .cvsignore 1 Apr 2007 19:10:48 -0000 1.3
@@ -1 +1 @@
-Net-XMPP-1.0.tar.gz
+Net-XMPP-1.02.tar.gz
Index: perl-Net-XMPP.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-XMPP/devel/perl-Net-XMPP.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- perl-Net-XMPP.spec 1 Sep 2006 04:17:09 -0000 1.3
+++ perl-Net-XMPP.spec 1 Apr 2007 19:10:48 -0000 1.4
@@ -1,18 +1,16 @@
-# $Id$
-
Name: perl-Net-XMPP
-Version: 1.0
-Release: 6%{?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 \;
-#% check
-#make test
+%{_fixperms} %{buildroot}/*
+
+
+%check
+./Build test
%clean
@@ -59,12 +51,17 @@
%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
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-XMPP/devel/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:48 -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