Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 188821 Details for
Bug 280601
Enable Perl bindings for pilot-link
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to enable Perl bindings
enable-perl.patch (text/plain), 2.90 KB, created by
Alex Lancaster
on 2007-09-06 14:34:05 UTC
(
hide
)
Description:
Patch to enable Perl bindings
Filename:
MIME Type:
Creator:
Alex Lancaster
Created:
2007-09-06 14:34:05 UTC
Size:
2.90 KB
patch
obsolete
>Index: pilot-link.spec >=================================================================== >RCS file: /cvs/extras/rpms/pilot-link/devel/pilot-link.spec,v >retrieving revision 1.61 >diff -u -r1.61 pilot-link.spec >--- pilot-link.spec 29 Aug 2007 14:54:07 -0000 1.61 >+++ pilot-link.spec 6 Sep 2007 14:29:55 -0000 >@@ -1,11 +1,11 @@ >-%define support_perl 0 >-%define perl_version 5.8.0 >+%define support_perl 1 >+%define perl_version %(eval "`%{__perl} -V:version`"; echo $version) > > Name: pilot-link > Version: 0.12.2 >-Release: 5%{?dist} >+Release: 6%{?dist} > Epoch: 2 >-License: GPLv2 and GPLv2+ and LGPLv2+ and tcl >+License: GPLv2 and GPLv2+ and LGPLv2+ and TCL > Group: Applications/Communications > Summary: File transfer utilities between Linux and PalmPilots > URL: http://www.pilot-link.org/ >@@ -22,7 +22,8 @@ > Requires: /sbin/ldconfig > > %if %{support_perl} >-BuildRequireseq: perl >+Requires: perl(:MODULE_COMPAT_%{perl_version}) >+BuildRequires: perl(ExtUtils::MakeMaker) > %endif > > BuildRequires: libpng-devel >@@ -95,7 +96,8 @@ > if test -f bindings/Perl/Makefile.PL ; then > cd bindings/Perl > perl -pi -e 's|^\$libdir =.*|\$libdir = "%{buildroot}%{_libdir}";|g' Makefile.PL >- CFLAGS="%{optflags}" perl Makefile.PL PREFIX=%{buildroot}%{_prefix} INSTALLDIRS=vendor >+ CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS=vendor >+ make -B || : > make > cd ../.. > fi >@@ -105,9 +107,15 @@ > make install -C doc/man DESTDIR=%{buildroot} libdir=%{_libdir} > > %if %{support_perl} >- make install -C bindings/Perl >- rm -f %{buildroot}%{_libdir}/perl5/vendor_perl/%{perl_version}/*/auto/PDA/Pilot/Pilot.bs \ >- %{buildroot}%{_libdir}/perl5/site_perl/*/*/*/PDA/Pilot/.packlist >+ cd bindings/Perl >+ make pure_install PERL_INSTALL_ROOT=%{buildroot} >+ cd ../.. >+ # remove files and fix perms >+ find %{buildroot}%{_libdir}/perl5/ -type f -name '.packlist' -exec rm -f {} \; >+ find %{buildroot}%{_libdir}/perl5/ -type f -name '*.bs' -size 0 -exec rm -f {} \; >+ find %{buildroot}%{_libdir}/perl5/ -type f -name '*.so' -exec chmod 0755 {} \; >+ rm -f %{buildroot}%{_libdir}/perl5/*/*/perllocal.pod >+ rm -f %{buildroot}%{_libdir}/perl5/*/*/*/PDA/dump.pl > %else > rm -f %{buildroot}%{_mandir}/man1/ietf2datebook* > %endif >@@ -127,11 +135,11 @@ > > %files > %defattr(-,root,root,-) >-%doc COPYING ChangeLog README NEWS >+%doc COPYING ChangeLog README NEWS doc/README.usb doc/README.debugging doc/README.libusb > %{_libdir}/*.so.* > %if %{support_perl} >-%{_libdir}/perl5/vendor_perl/*/*/*/PDA >-%{_libdir}/perl5/vendor_perl/*/*/PDA >+%{perl_vendorarch}/auto/* >+%{perl_vendorarch}/PDA* > %endif > %{_bindir}/* > %{_datadir}/pilot-link >@@ -146,6 +154,10 @@ > %{_datadir}/aclocal/*.m4 > > %changelog >+* Thu Sep 06 2007 Alex Lancaster <alexl@users.sourceforge.net> - 2:0.12.2-6 >+- Enable Perl bindings >+- Include important docs such as README.usb >+ > * Tue Aug 29 2007 Ivana Varekova <varekova@redhat.com> - 2:0.12.2-5 > - Rebuild for selinux ppc32 issue. > - fix open function calls
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 280601
: 188821