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 316738 Details for
Bug 461758
Split perl files out to separate pilot-link-perl sub package
[?]
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 the pilot-link spec file to split perl files out into a perl subpackage
pilot-link.spec.patch (text/plain), 3.86 KB, created by
Peter Robinson
on 2008-09-15 12:34:16 UTC
(
hide
)
Description:
patch to the pilot-link spec file to split perl files out into a perl subpackage
Filename:
MIME Type:
Creator:
Peter Robinson
Created:
2008-09-15 12:34:16 UTC
Size:
3.86 KB
patch
obsolete
>--- pilot-link.spec.orig 2008-09-15 12:13:44.000000000 +0100 >+++ pilot-link.spec 2008-09-15 12:52:34.000000000 +0100 >@@ -1,4 +1,3 @@ >-%define support_perl 1 > %define perl_version %(eval "`%{__perl} -V:version`"; echo $version) > > Name: pilot-link >@@ -29,11 +28,7 @@ > Requires(post): /sbin/ldconfig > Requires(postun): /sbin/ldconfig > >-%if %{support_perl} >-Requires: perl(:MODULE_COMPAT_%{perl_version}) > BuildRequires: perl(ExtUtils::MakeMaker) >-%endif >- > BuildRequires: libpng-devel > BuildRequires: readline-devel > BuildRequires: autoconf >@@ -59,7 +54,7 @@ > Requires: %{name} = %{epoch}:%{version}-%{release} > Requires: libpng-devel > Requires: readline-devel >- >+Requires: pkgconfig > > %description devel > This package contains the development headers that are used to build >@@ -69,14 +64,21 @@ > If you want to develop PalmPilot synchronizing applications, you'll > need to install pilot-link-devel. > >+%package perl >+Summary: PalmPilot utilies written in perl >+Group: Applications/Communications >+Requires: %{name} = %{epoch}:%{version}-%{release} >+Requires: perl(:MODULE_COMPAT_%{perl_version}) >+ >+%description perl >+This package contains utilities that depend on perl >+ > %prep > %setup -q > %patch4 -p1 -b .var >-%if %{support_perl} > #%patch1 -p1 -b .perlmd5 > #%patch2 -p1 -b .perlpollute > #%patch3 -p1 -b .malsync >-%endif > %patch6 -p1 -b .open > %patch7 -p1 -b .md5 > %patch8 -p0 -b .bluetooth-sdp >@@ -91,11 +93,7 @@ > --with-tcl=no \ > --with-java=no \ > --with-cpp=yes \ >-%if %{support_perl} > --with-perl=yes \ >-%else >- --with-perl=no \ >-%endif > --enable-conduits \ > --enable-libusb > >@@ -107,7 +105,6 @@ > make install DESTDIR=%{buildroot} libdir=%{_libdir} > make install -C doc/man DESTDIR=%{buildroot} libdir=%{_libdir} > >-%if %{support_perl} > if test -f bindings/Perl/Makefile.PL ; then > cd bindings/Perl > perl -pi -e 's|^\$libdir =.*|\$libdir = "%{buildroot}%{_libdir}";|g' Makefile.PL >@@ -116,21 +113,16 @@ > make > cd ../.. > fi >-%endif > >-%if %{support_perl} >- 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 >+cd bindings/Perl >+make pure_install PERL_INSTALL_ROOT=%{buildroot} %{?_smp_mflags} >+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 > > # remove files we don't want to include > rm -f %{buildroot}%{_libdir}/*.la >@@ -162,14 +154,13 @@ > %defattr(-,root,root,-) > %doc COPYING ChangeLog README NEWS doc/README.usb doc/README.debugging doc/README.libusb README.fedora > %{_libdir}/*.so.* >-%if %{support_perl} >-%{perl_vendorarch}/auto/* >-%{perl_vendorarch}/PDA* >-%endif > %{_bindir}/* > %{_datadir}/pilot-link > %{_mandir}/man?/* > %config(noreplace) %{_sysconfdir}/modprobe.d/blacklist-visor >+%exclude %{_bindir}/pilot-ietf2datebook >+%exclude %{_bindir}/pilot-sync-plan >+%exclude %{_bindir}/pilot-undelete > > %files devel > %defattr(-,root,root) >@@ -178,6 +169,14 @@ > %{_includedir}/* > %{_datadir}/aclocal/*.m4 > >+%files perl >+%defattr(-,root,root) >+%{_bindir}/pilot-ietf2datebook >+%{_bindir}/pilot-sync-plan >+%{_bindir}/pilot-undelete >+%{perl_vendorarch}/auto/* >+%{perl_vendorarch}/PDA* >+ > %changelog > * Thu Sep 11 2008 - Bastien Nocera <bnocera@redhat.com> - 2:0.12.3-15 > - Rebuild
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 461758
: 316738