Add macro %isu_package to generate ISU Package 41/295541/1 accepted/tizen_6.0_base tizen_6.0_base accepted/tizen/6.0/base/20230719.141359 submit/tizen_6.0_base/20230714.032837 submit/tizen_6.0_base/20230714.091612
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Wed, 17 May 2023 11:02:21 +0000 (13:02 +0200)
committerAdam Michalski <a.michalski2@partner.samsung.com>
Mon, 10 Jul 2023 14:15:21 +0000 (14:15 +0000)
commit31fca2ed15c6b734a84b581535bbe38f90ecaab1
treeeb3788882d9a44ff53d82cae9efa0003069b58be
parente4e49b101522f46f0c2b8acd55554866f1bd37bc
Add macro %isu_package to generate ISU Package

The macro makes it easier to prepare a separate configuration for ISU package.
Files from path %{BUILDROOT}/etc/isu/ are packed into a separate rpm
package: %{name}-isu

In addition, pattern occurrences are substituted:

  #NAME#             - %{name}
  #VERSION#          - %{version}
  #ISU_CONFIG_PATH#  - /etc/isu
  #ISU_INSTALL_PATH# - /opt/isu
  #ISU_RUN_PATH#     - /run/isu

Change-Id: Ia60a964165a9a838fb3422ded0410402924c5adf
(cherry picked from commit 0cb94f2a960168fb4cc6eed7acdd19dba633fcd9)
packaging/find-isufiles.sh [new file with mode: 0644]
packaging/rpm-tizen_macros
packaging/rpm.spec