Clean up spec file for packaging. 1.0_post 2.0_alpha
authorJunfeng Dong <junfeng.dong@intel.com>
Tue, 5 Jun 2012 11:57:10 +0000 (19:57 +0800)
committerJunfeng Dong <junfeng.dong@intel.com>
Tue, 5 Jun 2012 11:57:10 +0000 (19:57 +0800)
packaging/perl-Pod-Coverage.changes
packaging/perl-Pod-Coverage.spec

index 0882a6c..d0c2ab9 100644 (file)
@@ -1,3 +1,6 @@
+* Tue Jun 5 2012 Junfeng Dong <junfeng.dong@intel.com> - 0.20-1
+- Clean up spec file for packaging.
+
 * Wed June 30 2010 Quanxian Wang <quanxian.wang@intel.com>  - 0.20-1
 - Add %doc before man file entry
 
index efc87f4..18ca83a 100644 (file)
@@ -6,9 +6,8 @@ Summary:        Checks if the documentation of a module is comprehensive
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Pod-Coverage/
-Source0:        http://www.cpan.org/authors/id/R/RC/RCLAMP/Pod-Coverage-%{version}.tar.gz
+Source0:        %{name}-%{version}.tar.gz
 Source1001: packaging/perl-Pod-Coverage.manifest 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Devel::Symdump) >= 2.01
 BuildRequires:  perl(Module::Build)
@@ -24,7 +23,7 @@ This module provides a mechanism for determining if the pod for a given
 module is comprehensive.
 
 %prep
-%setup -q -n Pod-Coverage-%{version}
+%setup -q 
 
 %build
 cp %{SOURCE1001} .
@@ -37,8 +36,6 @@ rm -rf $RPM_BUILD_ROOT
 ./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/*
-
 %check
 ./Build test
 
@@ -52,4 +49,3 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/*
 %{perl_vendorlib}/*
 %doc %{_mandir}/man3/*
-