fedora-cvs-commits@redhat.com
[Top] [All Lists]

rpms/perl-Parse-Yapp/devel perl-Parse-Yapp.spec,1.7,1.8

Subject: rpms/perl-Parse-Yapp/devel perl-Parse-Yapp.spec,1.7,1.8
From:
Date: Wed, 20 Apr 2005 14:30:20 -0400
Update of /cvs/dist/rpms/perl-Parse-Yapp/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv430

Modified Files:
        perl-Parse-Yapp.spec 
Log Message:
- #155467
- Bring up to date with current Fedora.Extras perl spec template.



Index: perl-Parse-Yapp.spec
===================================================================
RCS file: /cvs/dist/rpms/perl-Parse-Yapp/devel/perl-Parse-Yapp.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- perl-Parse-Yapp.spec        31 Mar 2005 09:28:31 -0000      1.7
+++ perl-Parse-Yapp.spec        20 Apr 2005 18:30:11 -0000      1.8
@@ -1,17 +1,17 @@
-%define _use_internal_dependency_generator 0
-
-Summary: Perl extension for generating and using LALR parsers. 
-Name: perl-Parse-Yapp
-Version: 1.05
-Release: 33
-License: distributable
-Group: Applications/CPAN
-Source0: Parse-Yapp-%{version}.tar.gz
-Url: http://www.cpan.org
-BuildRoot: %{_tmppath}/perl-Parse-Yapp-buildroot/
-BuildRequires: perl >= 0:5.00503
-Requires: perl >= 0:5.00503
-BuildArch: noarch
+Name:           perl-Parse-Yapp
+Version:        1.05
+Release:        33
+Summary:        Perl extension for generating and using LALR parsers
+
+Group:          Development/Libraries
+License:        GPL or Artistic
+URL:            http://search.cpan.org/dist/Parse-Yapp/
+Source0:        
http://www.cpan.org/authors/id/F/FD/FDESAR/Parse-Yapp-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  perl >= 1:5.6.1
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 Parse::Yapp (Yet Another Perl Parser compiler) is a collection of
@@ -21,43 +21,41 @@
 create a Perl OO parser from an input grammar file.
 
 
-# Provide perl-specific find-{provides,requires}.
-%define __find_provides /usr/lib/rpm/find-provides.perl
-%define __find_requires /usr/lib/rpm/find-requires.perl
-
 %prep
 %setup -q -n Parse-Yapp-%{version} 
+chmod 644 README lib/Parse/{*.pm,Yapp/*.pm}
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr 
INSTALLDIRS=vendor
-make
-make test
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
-%clean 
+%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 d -depth -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
 
-%install
+%check || :
+make test
+
+%clean
 rm -rf $RPM_BUILD_ROOT
-make install
 
-find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v 
{} \;
 
-find $RPM_BUILD_ROOT/usr -type f -print | 
-       sed "s@^$RPM_BUILD_ROOT@@g" | 
-       grep -v perllocal.pod | 
-       grep -v "\.packlist" > Parse-Yapp-%{version}-filelist
-if [ "$(cat Parse-Yapp-%{version}-filelist)X" = "X" ] ; then
-    echo "ERROR: EMPTY FILE LIST"
-    exit -1
-fi
-
-%files -f Parse-Yapp-%{version}-filelist
-%defattr(-,root,root)
-%dir /usr/lib/perl5/vendor_perl/%(perl -MConfig -e 'print 
$Config{version}')/Parse/Yapp
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{_bindir}/*
+%{perl_vendorlib}/Parse/
+%{_mandir}/man1/*.1*
+%{_mandir}/man3/*.3*
+
 
 %changelog
-* Wed Mar 30 2005 Warren Togami <wtogami@xxxxxxxxxx>
-- remove brp-compress
+* Wed Apr 20 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.05-33
+- #155467
+- Bring up to date with current Fedora.Extras perl spec template.
 
 * Wed Sep 22 2004 Chip Turner <cturner@xxxxxxxxxx> 1.05-32
 - rebuild

--
fedora-cvs-commits mailing list
fedora-cvs-commits@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-cvs-commits

<Prev in Thread] Current Thread [Next in Thread>
  • rpms/perl-Parse-Yapp/devel perl-Parse-Yapp.spec,1.7,1.8, fedora-cvs-commits <=