[Bug 558743] Merge Review: perl-Unicode-String - handle Unicode issues

bugzilla at redhat.com bugzilla at redhat.com
Thu Jul 22 13:18:55 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=558743

--- Comment #5 from Petr Pisar <ppisar at redhat.com> 2010-07-22 09:18:54 EDT ---
This spec file patch is needed to filter private library out from provides and
to proceed local rpmbuild (rm ask for read-only file removal):

Index: perl-Unicode-String.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Unicode-String/devel/perl-Unicode-String.spec,v
retrieving revision 1.22
diff -u -r1.22 perl-Unicode-String.spec
--- perl-Unicode-String.spec    7 May 2010 07:18:08 -0000       1.22
+++ perl-Unicode-String.spec    22 Jul 2010 13:09:11 -0000
@@ -18,6 +18,8 @@
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
 # not detected by auto provide scripts:
 Requires:       perl(MIME::Base64)
+%filter_from_provides /String\.so/d
+%filter_setup

 %description
 %{summary}.
@@ -42,7 +44,7 @@
   DESTDIR=$RPM_BUILD_ROOT \
   INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
 find $RPM_BUILD_ROOT -type f \( -name perllocal.pod -o -name .packlist \
-  -o \( -name '*.bs' -empty \) \) -exec rm {} ';'
+  -o \( -name '*.bs' -empty \) \) -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} ';'
 chmod -R u+w $RPM_BUILD_ROOT/*

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list