rpms/perl-Unix-Statgrab/devel perl-Unix-Statgrab.spec, 1.6, 1.7 lgpl.txt, 1.1, NONE
Steven Pritchard (steve)
fedora-extras-commits at redhat.com
Tue Apr 17 18:41:25 UTC 2007
Author: steve
Update of /cvs/extras/rpms/perl-Unix-Statgrab/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10020
Modified Files:
perl-Unix-Statgrab.spec
Removed Files:
lgpl.txt
Log Message:
BR ExtUtils::MakeMaker.
Reformat to more closely resemble cpanspec output.
Use fixperms macro instead of our own chmod incantation.
Remove some macro other usage.
Index: perl-Unix-Statgrab.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Unix-Statgrab/devel/perl-Unix-Statgrab.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- perl-Unix-Statgrab.spec 26 Sep 2006 22:06:43 -0000 1.6
+++ perl-Unix-Statgrab.spec 17 Apr 2007 18:40:51 -0000 1.7
@@ -1,20 +1,17 @@
-Name: perl-Unix-Statgrab
-Summary: Perl extension for collecting information about the machine
-
-Version: 0.04
-Release: 1%{?dist}
-
-Group: Development/Libraries
-License: LGPL
-URL: http://search.cpan.org/dist/Unix-Statgrab/
-Source0: http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/Unix-Statgrab-%{version}.tar.gz
-Source1: http://www.fsf.org/licensing/licenses/lgpl.txt
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: libstatgrab-devel >= 0.12
-BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage)
-
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Name: perl-Unix-Statgrab
+Version: 0.04
+Release: 2%{?dist}
+Summary: Perl extension for collecting information about the machine
+License: LGPL
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Unix-Statgrab/
+Source0: http://www.cpan.org/authors/id/V/VP/VPARSEVAL/Unix-Statgrab-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: libstatgrab-devel >= 0.12
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Unix::Statgrab is a wrapper for libstatgrab as available from
@@ -25,34 +22,41 @@
%prep
%setup -q -n Unix-Statgrab-%{version}
-%{__cp} %{SOURCE1} LICENSE.TXT
-
%build
-CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
%install
-%{__rm} -rf $RPM_BUILD_ROOT
-%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
%check
-%{__make} test
+make test
%clean
-%{__rm} -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc LICENSE.TXT Changes README
-%{perl_vendorarch}/Unix
+%doc Changes README
%{perl_vendorarch}/auto/*
-%{_mandir}/man3/*.3*
+%{perl_vendorarch}/Unix*
+%{_mandir}/man3/*
%changelog
+* Tue Apr 17 2007 Steven Pritchard <steve at kspei.com> 0.04-2
+- BR ExtUtils::MakeMaker.
+- Reformat to more closely resemble cpanspec output.
+- Use fixperms macro instead of our own chmod incantation.
+- Remove some macro other usage.
+
* Tue Sep 26 2006 Steven Pritchard <steve at kspei.com> 0.04-1
- Update to 0.04.
- Drop compile fix patch.
--- lgpl.txt DELETED ---
More information about the fedora-extras-commits
mailing list