Browse Source

perl-Text-Glob-0.09-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3180 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 13 years ago
parent
commit
9f6f844416
1 changed files with 13 additions and 7 deletions
  1. 13 7
      p/perl-Text-Glob/perl-Text-Glob-vl.spec

+ 13 - 7
p/perl-Text-Glob/perl-Text-Glob.spec → p/perl-Text-Glob/perl-Text-Glob-vl.spec

@@ -1,16 +1,19 @@
 Name: 		perl-Text-Glob
 Version: 	0.09
-Release: 	1%{?dist}
+Release: 	2%{?_dist_release}
 Summary: 	Perl module to match globbing patterns against text
 License: 	GPL+ or Artistic
 Group: 		Development/Libraries
 URL: 		http://search.cpan.org/dist/Text-Glob/
 Source0: 	http://www.cpan.org/authors/id/R/RC/RCLAMP/Text-Glob-%{version}.tar.gz
-
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More)
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+#Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+Vendor: Project Vine
+Distribution: Vine Linux
 
 %description
 Text::Glob implements glob(3) style matching that can be used to match
@@ -25,10 +28,10 @@ want to do full file globbing use the File::Glob module instead.
 make %{?_smp_mflags}
 
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w %{buildroot}/*
 
 %check
 make test
@@ -40,6 +43,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 0.09-2
+- build for Vine Linux
+
 * Wed Mar 02 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.09-1
 - Upstream update.
 - Spec cleanup.