[Tizen-submit] 20865: Changes to Tizen:Mobile/rpm

noreply at tizen.org noreply at tizen.org
Tue Feb 4 19:20:50 GMT 2014


Hi,
Patrick McCarty have made the following changes to rpm in project Tizen:Mobile. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #20865

  submit:       Tizen:Mobile:build/rpm(cleanup) -> Tizen:Mobile


Message:
Submitter: Patrick McCarty <patrick.mccarty at linux.intel.com>
Comments: Add three new rpm macros to use in packages depending on kernel or kernel-devel
Git project: platform/upstream/rpm
Tag: submit/tizen/20140204.192312
Commit: 900e279b9481a75ede028707fe5a0a2bb2801a8f Update changelog

State:   new        2014-02-04T19:22:42 tizenrobot
Comment: <no comment>
changes files:
--------------
--- rpm.changes
+++ rpm.changes
@@ -0,0 +1,5 @@
+* Wed Jan 29 2014 Patrick McCarty <patrick.mccarty at linux.intel.com> 940f59b
+- Add three new RPM macros to use in packages with build dependencies on a
+  platform's kernel and/or kernel-devel package. The macros are
+  '%kernel_devel_uname_r', '%kernel_release', and '%kernel_name'.
+

spec files:
-----------
--- python-rpm.spec
+++ python-rpm.spec
@@ -1,5 +1,5 @@
 Name:           python-rpm
-VCS:            platform/upstream/rpm#b70c8566e820f220eb934fbb4de4c9bd87a80aa0
+VCS:            platform/upstream/rpm#900e279b9481a75ede028707fe5a0a2bb2801a8f
 Version:        4.11.0.1
 Release:        0
 Summary:        Python Bindings for Manipulating RPM Packages
--- rpm.spec
+++ rpm.spec
@@ -1,7 +1,7 @@
 %define rpmhome /usr/lib/rpm
 
 Name:           rpm
-VCS:            platform/upstream/rpm#b70c8566e820f220eb934fbb4de4c9bd87a80aa0
+VCS:            platform/upstream/rpm#900e279b9481a75ede028707fe5a0a2bb2801a8f
 Summary:        The RPM Package Manager
 License:        GPL-2.0+
 Group:          Base/Package Management

other changes:
--------------

++++++ 26389a6-to-82f4df7.diff.gz
--- 26389a6-to-82f4df7.diff.gz
+++ 26389a6-to-82f4df7.diff.gz
@@ -1,5 +1,5 @@
 From: jenkins <None>
-Date: Mon, 20 Jan 2014 02:18:41 -0800
+Date: Tue, 4 Feb 2014 11:20:30 -0800
 Subject: Raw diff 26389a6..82f4df7
 
 Raw diff between commit '26389a6' and

++++++ rpm-tizen_macros
--- rpm-tizen_macros
+++ rpm-tizen_macros
@@ -13,6 +13,11 @@
 %rb_arch                %(echo %{_host_cpu}-linux | sed -e "s/i686/i586/" -e "s/armv5tel/armv4l/" -e "s/hppa2.0/hppa/")
 %rb_ver                 %(/usr/bin/ruby -e 'puts VERSION.sub(/\\\.\\\d$/, "")')
 
+# external kernel module helper macro(s)
+%kernel_devel_uname_r %(/bin/rpm -q --provides $(/bin/rpm -q --whatprovides kernel-devel-uname-r) | sed -ne 's,kernel-devel-uname-r = ,, p')
+%kernel_release %(/bin/rpm -q --queryformat '%{RPMTAG_VERSION}-%{RPMTAG_RELEASE}' $(/bin/rpm -q --whatprovides kernel))
+%kernel_name    %(/bin/rpm -q --queryformat '%{RPMTAG_NAME}' $(/bin/rpm -q --whatprovides kernel))
+
 # this script calls all scripts in /usr/lib/rpm/brp-tizen.d
 %__os_install_post  \
 	/usr/lib/rpm/brp-compress \


More information about the Tizen-submit mailing list