| Last change
 on this file since 1129 was             1086, checked in by dmik, 9 years ago | 
        
          | 
spec: os2-rpm: Release version 0-1.
 | 
        
          | 
              
Property                 svn:eol-style
 set to                 native | 
        
          | File size:
            1.3 KB | 
      
      
| Line |  | 
|---|
| 1 | # OS/2 specific rpm configuration file. | 
|---|
| 2 |  | 
|---|
| 3 | %_rpmconfigdir_os2 @RPMCONFIGDIR_OS2@ | 
|---|
| 4 |  | 
|---|
| 5 | # Path to script that installs legacy runtime libraries. | 
|---|
| 6 | %__legacy_runtime_install_post \ | 
|---|
| 7 | %{_rpmconfigdir_os2}/find-legacy-runtime.sh install "%{_target_cpu}" "%{_builddir}/%{?buildsubdir}"\ | 
|---|
| 8 | %{nil} | 
|---|
| 9 |  | 
|---|
| 10 | # Template for legacy runtime sub-packages. | 
|---|
| 11 | %legacy_runtime_packages \ | 
|---|
| 12 | %global __legacy_runtime_packages 1\ | 
|---|
| 13 | %{expand:%(%{_rpmconfigdir_os2}/find-legacy-runtime.sh package "%{name}" "%{_sourcedir}" "%{_target_cpu}" "%{buildroot}")}\ | 
|---|
| 14 | %{nil} | 
|---|
| 15 |  | 
|---|
| 16 | # List of debug files generated by brp-strip-os2 with %exclude prepended (to be | 
|---|
| 17 | # used with -f option in %files to automatically exclude them from packages). | 
|---|
| 18 | %debug_package_exclude_files "%{_builddir}/%{?buildsubdir}/exclude-debugfiles.list" | 
|---|
| 19 |  | 
|---|
| 20 | # Only run what we really need in post-install on OS/2. | 
|---|
| 21 | %__os_install_post \ | 
|---|
| 22 | %{_rpmconfigdir}/brp-compress "./@unixroot"\ | 
|---|
| 23 | %{_rpmconfigdir_os2}/brp-strip-os2 "%{_builddir}/%{?buildsubdir}" %{?_strip_no_compress:--no-compress} %{!?__debug_package:--no-debuginfo} %{?_strip_opts}\ | 
|---|
| 24 | %{?__legacy_runtime_packages:%{__legacy_runtime_install_post}}\ | 
|---|
| 25 | %{?__debug_package:%{__sed} -e 's/^/%exclude /' "%{_builddir}/%{?buildsubdir}/debugfiles.list" > %{debug_package_exclude_files}}\ | 
|---|
| 26 | %{nil} | 
|---|
| 27 |  | 
|---|
| 28 | # Disable using find-debuginfo.sh, brp-strip-os2 does the job. | 
|---|
| 29 | %__debug_install_post %{nil} | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.