diff options
author | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-12 15:17:20 +0900 |
---|---|---|
committer | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-12 15:17:20 +0900 |
commit | 7df2385c2f6c93f96e00bc87f2086066cae89ecc (patch) | |
tree | 79d5c20a494622eb084de831a2a51530cd421e33 /packaging/rpm-macros.patch | |
parent | b7a3bffb8e0341b7e4ef69def268bca3a7f279ff (diff) | |
download | rpm-tizen_2.1.tar.gz rpm-tizen_2.1.tar.bz2 rpm-tizen_2.1.zip |
Tizen 2.1 basesubmit/tizen_2.2/20130710.072219submit/tizen_2.1/20130423.104200accepted/tizen_2.1/20130423.1513382.2_release2.2.1_release2.1b_releasetizen_2.2tizen_2.1
Diffstat (limited to 'packaging/rpm-macros.patch')
-rw-r--r-- | packaging/rpm-macros.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/packaging/rpm-macros.patch b/packaging/rpm-macros.patch new file mode 100644 index 0000000..8f3e1a2 --- /dev/null +++ b/packaging/rpm-macros.patch @@ -0,0 +1,57 @@ +Index: rpm-4.9.0/configure.ac +=================================================================== +--- rpm-4.9.0.orig/configure.ac ++++ rpm-4.9.0/configure.ac +@@ -831,6 +831,7 @@ unknown|pc|ibm|redhat|pld|mandrake|conec + test -f /etc/redhat-release && RPMCANONVENDOR=redhat + test -f /etc/SuSE-release && RPMCANONVENDOR=suse + test -f /etc/pld-release && RPMCANONVENDOR=pld ++ test -f /etc/tizen-release && RPMCANONVENDOR=tizen + test -f /etc/mandrake-release && RPMCANONVENDOR=mandrake + test -f /etc/conectiva-release && RPMCANONVENDOR=conectiva + test -f /etc/lvr-release && RPMCANONVENDOR=lvr +Index: rpm-4.9.0/platform.in +=================================================================== +--- rpm-4.9.0.orig/platform.in ++++ rpm-4.9.0/platform.in +@@ -76,6 +76,26 @@ + @redhat@#%defattr(-,root,root,-)\ + @redhat@#%{nil} + ++@tizen@#--------------------------------------------------------------------- ++@tizen@# Expanded at end of %prep ++@tizen@# ++@tizen@%__id_u @__ID_U@ ++@tizen@%__chown_Rhf @__CHOWN_RHF@ ++@tizen@%__chgrp_Rhf @__CHGRP_RHF@ ++@tizen@%_fixperms %{__chmod} -Rf @FIXPERMS@ ++@tizen@%__os_install_post \ ++@tizen@ %{_rpmconfigdir}/brp-compress \ ++@tizen@ %{_rpmconfigdir}/brp-strip %{__strip} \ ++@tizen@ %{_rpmconfigdir}/brp-strip-static-archive %{__strip} \ ++@tizen@ %{_rpmconfigdir}/brp-strip-comment-note %{__strip} %{__objdump} \ ++@tizen@ %{_rpmconfigdir}/tizen/find-docs.sh %{buildroot}\ ++@tizen@%{nil} ++@tizen@#--------------------------------------------------------------------- ++@tizen@# Always use %defattr(-,root,root) in %files (added in rpm-4.0.4) ++@tizen@# ++@tizen@#%files(n:f:) %%files%{?-f: -f %{-f*}}%{?-n: -n %{-n*}} %{?1}\ ++@tizen@#%defattr(-,root,root,-)\ ++@tizen@#%{nil} + + @apple@#--------------------------------------------------------------------- + @apple@# Apple Darwin vendor specific macros +Index: rpm-4.9.0/installplatform +=================================================================== +--- rpm-4.9.0.orig/installplatform ++++ rpm-4.9.0/installplatform +@@ -126,6 +126,9 @@ for SUBST in $SUBSTS ; do + redhat) + VENDORSED='-e s,^@redhat@,,' + ;; ++ tizen) ++ VENDORSED='-e s,^@tizen@,,' ++ ;; + apple) + VENDORSED='-e s,^@apple@,,' + ;; |