Re: rpm building problem on Modified FC5 kernel
"Linuxant support (Jonathan)" <[email protected]>
| Newsgroups | gmane.linux.drivers.modem.hsf |
|---|---|
| Message-ID | <[email protected]> |
Hi, we were able to reproduce the problem you have reported and this is not a FC5 specific issue. I have attached an experimental patch to this post to solve this issue. Regards, Jonathan Technical specialist / Linuxant www.linuxant.com [email protected] Parag N(पराग़) wrote: > Hi, > I have attached the output of 'rpmbuild -ta > hsfmodem-7.47.00.01full.tar.gz'. I want to know why am i getting > error: Installed (but unpackaged) file(s) found: > message. > Regards, > Parag. > > On 5/30/06, Linuxant support (Jonathan) <[email protected]> wrote: >> Hi, >> >> using 'rpmbuild -ta' to build a pre-compiled package of DriverLoader is >> rarely used as users which have custom compiled kernels generally use >> the generic package in the RPM format instead. Since it is not often >> used, it is possible that you have hit an unknown issue with that >> feature. >> >> Can you please send at [email protected] the complete output of the >> 'rpmbuild -ta hsfmodem-7.47.00.01full.tar.gz' command? We will take a >> look at this issue. >> >> Regards, >> >> >> Jonathan >> Technical specialist / Linuxant >> www.linuxant.com >> [email protected] >> >> >> >> Parag N(पराग़) wrote: >> > Hi, >> > thanks for link but still interested in why rpmbuild failed. >> > It seems you are using different SPEC file/ using some custom macros >> > that are not going to work under FC5 right?? If that is the case then >> > i suggest you to include that also in tarball package. >> > >> > Regards, >> > Parag. >> > On 5/26/06, Linuxant support (Jonathan) <[email protected]> wrote: >> >> Hi, >> >> >> >> instead of rebuilding a RPM package with the TAR package, we recommend >> >> that you use the generic package of the driver in the RPM format. This >> >> package is able to support custom kernels. That package can be >> >> downloaded at: >> >> >> >> http://www.linuxant.com/drivers/hsf/full/downloads.php >> >> >> >> Regards, >> >> >> >> >> >> Jonathan >> >> Technical specialist / Linuxant >> >> www.linuxant.com >> >> [email protected] >> >> >> >> >> >> >> >> Parag N(पराग़) wrote: >> >> > Hi, >> >> > I modified FC5 kernel and now want to have working hsfmodem >> >> > driver for that. So i downloaded source and then used >> >> > rpmbuild -ta hsfmodem-7.47.00.01full.tar.gz 1>out 2>err >> >> > and got some errors that i am attaching here. >> >> > What changes i need then to build rpm for modified FC5 kernel? >> >> > Regards, >> >> > Parag. >> >> > >> >> > >> >> > >> >> >> ------------------------------------------------------------------------ >> >> > >> >> > _______________________________________________ >> >> > hsflinux mailing list >> >> > [email protected] >> >> > https://www.linuxant.com/mailman/listinfo/hsflinux >> >> >> > >> > >> ------------------------------------------------------------------------ >> > >> > _______________________________________________ >> > hsflinux mailing list >> > [email protected] >> > https://www.linuxant.com/mailman/listinfo/hsflinux >> > > ------------------------------------------------------------------------ > > _______________________________________________ > hsflinux mailing list > [email protected] > https://www.linuxant.com/mailman/listinfo/hsflinux _______________________________________________ hsflinux mailing list [email protected] https://www.linuxant.com/mailman/listinfo/hsflinux
hsf-7.47.00.01-spec_hda_old.patch
(text/x-patch, 1.3 KB)
diff -urN hsfmodem-7.47.00.01full/cnxtmodem.spec.in hsfmodem-7.47.00.01full-spec_hda_old/cnxtmodem.spec.in
--- hsfmodem-7.47.00.01full/cnxtmodem.spec.in 2006-04-10 17:19:49.000000000 -0400
+++ hsfmodem-7.47.00.01full-spec_hda_old/cnxtmodem.spec.in 2006-05-30 13:35:42.000000000 -0400
@@ -258,6 +258,10 @@
%{cnxtlibdir}/modules/GPL/hda/*.c
%{cnxtlibdir}/modules/GPL/hda/*.h
%{cnxtlibdir}/modules/GPL/hda/Makefile
+%dir %{cnxtlibdir}/modules/GPL/hda-*
+%{cnxtlibdir}/modules/GPL/hda-*/*.c
+%{cnxtlibdir}/modules/GPL/hda-*/*.h
+%{cnxtlibdir}/modules/GPL/hda-*/Makefile
%endif
%dir %{cnxtlibdir}/modules/include
%{cnxtlibdir}/modules/include/*.h
diff -urN hsfmodem-7.47.00.01full/hsfmodem.spec hsfmodem-7.47.00.01full-spec_hda_old/hsfmodem.spec
--- hsfmodem-7.47.00.01full/hsfmodem.spec 2006-05-02 13:32:51.000000000 -0400
+++ hsfmodem-7.47.00.01full-spec_hda_old/hsfmodem.spec 2006-05-30 13:37:31.000000000 -0400
@@ -324,6 +324,10 @@
%{cnxtlibdir}/modules/GPL/hda/*.c
%{cnxtlibdir}/modules/GPL/hda/*.h
%{cnxtlibdir}/modules/GPL/hda/Makefile
+%dir %{cnxtlibdir}/modules/GPL/hda-*
+%{cnxtlibdir}/modules/GPL/hda-*/*.c
+%{cnxtlibdir}/modules/GPL/hda-*/*.h
+%{cnxtlibdir}/modules/GPL/hda-*/Makefile
%endif
%dir %{cnxtlibdir}/modules/include
%{cnxtlibdir}/modules/include/*.h