rpms/perl-Spreadsheet-WriteExcel/devel perl-Spreadsheet-WriteExcel.spec, 1.16, 1.17

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: cweyl

Update of /cvs/extras/rpms/perl-Spreadsheet-WriteExcel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4862

Modified Files:
	perl-Spreadsheet-WriteExcel.spec 
Log Message:
* Fri Feb 27 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 2.21-3
- remove new provides/requires rpm is finding on f11 (RHBZ#473874, also
  visible at http://tinyurl.com/cp75ml koji build log for 2.21-2/f11)



Index: perl-Spreadsheet-WriteExcel.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Spreadsheet-WriteExcel/devel/perl-Spreadsheet-WriteExcel.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- perl-Spreadsheet-WriteExcel.spec	27 Feb 2009 01:40:12 -0000	1.16
+++ perl-Spreadsheet-WriteExcel.spec	27 Feb 2009 21:00:26 -0000	1.17
@@ -1,6 +1,6 @@
 Name:			perl-Spreadsheet-WriteExcel
 Version:		2.21
-Release:		2%{?dist}
+Release:		3%{?dist}
 Summary:		Write formatted text and numbers to a cross-platform Excel binary file
 
 Group:			Development/Libraries
@@ -37,6 +37,24 @@
 %{__perl} -pi -e 's/\r\n/\n/g' Changes README bin/chartex \
      doc/*.html charts/{README,*.{pl,pod,txt}} examples/{README,*.{pl,txt}}
 
+# make sure doc/tests don't generate provides
+# note we first filter out the bits in _docdir...
+cat << \EOF > %{name}-prov
+#!/bin/sh
+%{__perl_provides} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'`
+EOF
+
+%define __perl_provides %{_builddir}/Spreadsheet-WriteExcel-%{version}/%{name}-prov
+chmod +x %{__perl_provides}
+
+cat << \EOF > %{name}-req
+#!/bin/sh
+%{__perl_requires} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'`
+EOF
+
+%define __perl_requires %{_builddir}/Spreadsheet-WriteExcel-%{version}/%{name}-req
+chmod +x %{__perl_requires}
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -46,7 +64,7 @@
 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/*
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
@@ -63,6 +81,10 @@
 %{_mandir}/man3/*.3*
 
 %changelog
+* Fri Feb 27 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 2.21-3
+- remove new provides/requires rpm is finding on f11 (RHBZ#473874, also
+  visible at http://tinyurl.com/cp75ml koji build log for 2.21-2/f11)
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.21-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux