Changeset 1830 for branches/fc15-dev


Ignore:
Timestamp:
Apr 30, 2011, 3:41:48 PM (13 years ago)
Author:
achernya
Message:
Make RPMs for Zephyr built by F15 installable.

A change in RPM's Provides and Requries detection means that libraries
need to be executable, or they will not get processed. Until zephyr's
Makefiles are updated to do this correctly, we have to chmod as a
workaround.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fc15-dev/server/fedora/specs/zephyr.spec

    r1807 r1830  
    7171make %{?_smp_mflags}
    7272
    73 
    7473%install
    7574rm -rf $RPM_BUILD_ROOT
     
    8079install -m755 zhm.init \
    8180        $RPM_BUILD_ROOT%{_initddir}/zhm
    82 
     81# Make RPM's Provide: searcher actually search the .so files! A recent
     82# change in how RPM detects Provides automatically means that only
     83# files that are executable get searched. Without this hack, all of
     84# the zephyr client tools are Requires: libzephyr.so.4 which is never
     85# Provides:, leading to uninstallable RPMS. This can be removed when
     86# zephyr starts installing the libraries with mode 755 rather than
     87# 644. (Zephyr #79)
     88chmod a+x $RPM_BUILD_ROOT%{_libdir}/libzephyr.so.*
    8389
    8490%post
Note: See TracChangeset for help on using the changeset viewer.