Changelog 3/5/2009 New in Version 4.76.24-3

Eli Wapniarski eli at orbsky.homelinux.org
Wed May 6 10:57:17 IST 2009


Hi Julian

If this is getting annoynig please forgive me.

Because I am still a little confused at this time,,, one more comment and request from me (unless of course you want to continue discussing this). And then I will stop. Promise.

The comment is put to you in the form of a procedure I've come up with after researching this for the last 12 hours or so and come up with the following.

My request would be to please indicate what problems would crop up with the procedure as outlined.

Once again thanks for any insight you would be willing to provide.

Sincerely

Eli Wapniarski

-----------------------------------------
DISCOVERING DEFAULT BUILD ARCH
------------------------------------------

With rpm there is a default build arch. You can discover what that is and isolate it by running.


rpm --showrc | awk '/^build arch/ {print $NF}'

so....

rpmBuildArch=$(rpm --showrc | awk '/^build arch/ {print $NF}')
echo rpmBuildArch will produce

x86_64 or i386 or i586 depending on the default value.


--------------------------------------------------------
REBUILDING RPMs USING THE DEFAULT BUILD ARCH
--------------------------------------------------------

(I've tested this with your perl-IO package)

I've installed the perl-IO SRPM

after removing the BUILDARCH parameter from the perl-IO spec filed I ran

rpmbuild -ba perl-IO.spec.

The module rebuilt successfully.


-------------------------------------
INSTALLING THE REBUILT MODULE
-------------------------------------

To install the module I ran

rpmBuildArch=$(rpm --showrc | awk '/^build arch/ {print $NF}')
rpm -Uvh ~/rpmbuild/RPMS/$rpmBuildArch/perl-IO-1.2301-4.$rpmBuildArch.rpm

perl-IO was found and installed as expected.


Again, thanks for your patience.

Eli Wapniarski

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list