rpms/perl-Readonly-XS/FC-5 perl-Readonly-XS.spec,1.2,1.3

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Fri Oct 6 16:20:16 UTC 2006


Author: cweyl

Update of /cvs/extras/rpms/perl-Readonly-XS/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8284/FC-5

Modified Files:
	perl-Readonly-XS.spec 
Log Message:
Drop buildrequires on perl(Readonly); patch Makefile.PL to keep it from
complaining.  This should resolve the rather involved little loop I
inadvertently introduced some moments ago.



Index: perl-Readonly-XS.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Readonly-XS/FC-5/perl-Readonly-XS.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- perl-Readonly-XS.spec	9 Dec 2005 05:53:13 -0000	1.2
+++ perl-Readonly-XS.spec	6 Oct 2006 16:20:16 -0000	1.3
@@ -1,38 +1,43 @@
 Name:           perl-Readonly-XS
 Version:        1.04
-Release:        3%{?dist}
-Summary:        Companion module for Readonly.pm
+Release:        6%{?dist}
+Summary:        Companion module for Readonly
 
 Group:          Development/Libraries
 License:        GPL or Artistic
 URL:            http://search.cpan.org/dist/Readonly-XS/
 Source0:        http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-XS-%{version}.tar.gz
+Patch0:         makefile.pl.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires: perl(Readonly) >= 1.02
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:  perl(Readonly) >= 1.02
 
+
 %description
-Readonly-XS is a companion module for Readonly.pm, to speed up read-only
-scalar variables
+Readonly::XS is a companion module for Readonly, to speed up read-only
+scalar variables.
+
 
 %prep
 %setup -q -n Readonly-XS-%{version}
+%patch0
 
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 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 -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+rm -rf %{buildroot}
+
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
+
+%{_fixperms} %{buildroot}/*
 
 
 %check
@@ -40,7 +45,7 @@
 
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 
 %files
@@ -52,6 +57,16 @@
 
 
 %changelog
+* Fri Oct 06 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.04-6
+- drop br on perl(Readonly), patch Makefile.PL as well
+- rework spec to use macros
+
+* Thu Oct 05 2006 Christian Iseli <Christian.Iseli at licr.org> 1.04-5
+- rebuilt for unwind info generation, broken in gcc-4.1.1-21
+
+* Tue Sep 19 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.04-4
+- bump for mass rebuild
+
 * Thu Dec 08 2005 Michael A. Peters <mpeters at mac.com> - 1.04-3
 - proper version on perl(Readonly) BuildRequires & Requires
 




More information about the scm-commits mailing list