rpms/perl-YAML-Parser-Syck/devel perl-YAML-Parser-Syck.spec, 1.3, 1.4

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Tue Nov 21 14:58:01 UTC 2006


Author: steve

Update of /cvs/extras/rpms/perl-YAML-Parser-Syck/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16227

Modified Files:
	perl-YAML-Parser-Syck.spec 
Log Message:
Cleanup to more closely resemble cpanspec output.
Fix find option order.
Use fixperms macro.
Fix directory ownership.  (#216484)



Index: perl-YAML-Parser-Syck.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-YAML-Parser-Syck/devel/perl-YAML-Parser-Syck.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- perl-YAML-Parser-Syck.spec	26 Sep 2006 22:09:16 -0000	1.3
+++ perl-YAML-Parser-Syck.spec	21 Nov 2006 14:57:31 -0000	1.4
@@ -1,15 +1,14 @@
-Name:			perl-YAML-Parser-Syck
-Version:		0.01
-Release:		6%{?dist}
-Summary:		Perl Wrapper for the YAML Parser Extension: libsyck
-
-Group:			Development/Libraries
-License:		GPL or Artistic
-URL:			http://search.cpan.org/dist/YAML-Parser-Syck/
-Source0:		http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-Parser-Syck-%{version}.tar.gz
-BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:	syck-devel
-Requires:		perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Name:           perl-YAML-Parser-Syck
+Version:        0.01
+Release:        7%{?dist}
+Summary:        Perl Wrapper for the YAML Parser Extension: libsyck
+License:        GPL or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/YAML-Parser-Syck/
+Source0:        http://www.cpan.org/authors/id/I/IN/INGY/YAML-Parser-Syck-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:  syck-devel
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 libsyck is a *gift* from a gifted Stiff named 'Why'.
@@ -18,34 +17,42 @@
 
 %prep
 %setup -q -n YAML-Parser-Syck-%{version}
-%{_bindir}/perldoc -t perlartistic > Artistic
-%{_bindir}/perldoc -t perlgpl > COPYING
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
-%{__make} %{?_smp_mflags}
+make %{?_smp_mflags}
 
 %install
-%{__rm} -rf $RPM_BUILD_ROOT
-%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-%{_bindir}/find $RPM_BUILD_ROOT -type f -name .packlist -exec %{__rm} -f {} ';'
-%{_bindir}/find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec %{__rm} -f {} ';'
-%{_bindir}/find $RPM_BUILD_ROOT -type d -depth -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 Artistic COPYING Changes
-%{perl_vendorarch}/*
-%{_mandir}/man3/*.3*
+%doc Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/YAML*
+%{_mandir}/man3/*
 
 %changelog
+* Mon Nov 20 2006 Steven Pritchard <steve at kspei.com> 0.01-7
+- Cleanup to more closely resemble cpanspec output.
+- Fix find option order.
+- Use fixperms macro.
+- Fix directory ownership.  (#216484)
+
 * Tue Sep 26 2006 Steven Pritchard <steve at kspei.com> 0.01-6
 - Rebuild.
 




More information about the fedora-extras-commits mailing list