Hi Folks,

   Just completed this milestone. This took a while since I was
starting from building the compiler and working out an approach
for packaging with RPM5.

This is still a work in progress since we need macros to handle
driver and SMF service installation but this is the required foundation.
I will shortly provide a bootstrap tarball that you can use to get rpm5
on OpenIndiana.

Regards,
Moinak.

---------- Forwarded message ----------
From: belenix-notify <[email protected]>
Date: Sun, Feb 13, 2011 at 8:42 PM
Subject: [belenix-notify] SF.net SVN: belenix:[420]
trunk/spec_files/rpms/rpm5.spec
To: [email protected]


Revision: 420
         http://belenix.svn.sourceforge.net/belenix/?rev=420&view=rev
Author:   moinakg
Date:     2011-02-13 15:12:12 +0000 (Sun, 13 Feb 2011)

Log Message:
-----------
Working RPM5 with XZ compression on OpenSolaris platform, w00t#2.

Modified Paths:
--------------
   trunk/spec_files/rpms/rpm5.spec

Modified: trunk/spec_files/rpms/rpm5.spec
===================================================================
--- trunk/spec_files/rpms/rpm5.spec     2011-02-13 14:16:14 UTC (rev 419)
+++ trunk/spec_files/rpms/rpm5.spec     2011-02-13 15:12:12 UTC (rev 420)
@@ -266,9 +266,9 @@

 (cd ${RPM_BUILD_ROOT}%{__usrlibrpm}
 cp macros macros.tmp
- cat macros.tmp | sed 's/^%_repackage_all_erasures
1/%_repackage_all_erasures      0/' > macros
+ cat macros.tmp | sed 's/^%%_repackage_all_erasures
1/%%_repackage_all_erasures     0/' > macros
 cp macros.rpmbuild macros.rpmbuild.tmp
- cat macros.rpmbuild.tmp | sed 's/^#%_binary_payload
w9.gzdio/%_binary_payload       w6.xzio/' > macros.rpmbuild
+ cat macros.rpmbuild.tmp | sed 's/^#%%_binary_payload
w9.gzdio/%%_binary_payload      w6.xzio/' > macros.rpmbuild
 rm -f macros.tmp macros.rpmbuild.tmp)

 mkdir -p ${RPM_BUILD_ROOT}%{__usrlibrpm}/%{_arch}-solaris2.11/
@@ -288,6 +288,15 @@
 mv 
${RPM_BUILD_ROOT}%{_libdir32}/python%{with_python_version}/vendor-packages/rpm/*.so*
\
       
${RPM_BUILD_ROOT}%{_libdir32}/python%{with_python_version}/vendor-packages/rpm/%{_arch64}

+%if %{build_64bit}
+mkdir -p ${RPM_BUILD_ROOT}%{_bindir32}
+(cd ${RPM_BUILD_ROOT}%{_bindir}
+ for f in *
+ do
+   (cd ..; ln -s %{_arch64}/${f})
+ done)
+%endif
+
 %find_lang rpm

 %if %{with_apidocs}
@@ -341,6 +350,11 @@
 %rpmattr       %{_bindir}/rpm
 %rpmattr       %{_bindir}/rpmconstant

+%if %{build_64bit}
+%{_bindir32}/rpm
+%{_bindir32}/rpmconstant
+%endif
+
 %rpmattr %dir  %{__rpmhome}
 %rpmattr       %{__rpmhome}/rpm.*
 %rpmattr       %{__rpmhome}/tgpg
@@ -382,6 +396,12 @@
 %attr(0666, root, other) %{_docdir}/rpm-%{version}/*
 %rpmattr       %{_bindir}/rpm2cpio
 %rpmattr       %{_bindir}/gendiff
+
+%if %{build_64bit}
+%{_bindir32}/rpm2cpio
+%{_bindir32}/gendiff
+%endif
+
 %dir                   /etc/rpm
 %attr(0755, root, bin) %dir /var/lib/rpm
 %rpmdbattr             /var/lib/rpm/*
@@ -449,6 +469,10 @@
 %files build
 %rpmattr       %{_bindir}/rpmbuild

+%if %{build_64bit}
+%{_bindir32}/rpmbuild
+%endif
+
 %rpmattr       %{__rpmhome}/brp-*
 %rpmattr       %{__rpmhome}/check-files
 %rpmattr       %{__rpmhome}/cross-build


This was sent by the SourceForge.net collaborative development
platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
belenix-notify mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/belenix-notify



-- 
================================
http://www.belenix.org/
http://moinakg.wordpress.com/
_______________________________________________
belenix-discuss mailing list
http://mail.opensolaris.org/mailman/listinfo/belenix-discuss
http://groups.google.com/group/belenix-discuss

Reply via email to