Changeset 896
- Timestamp:
- Jun 27, 2010, 11:29:07 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dasscm/trunk/dasscm.spec
r882 r896 46 46 %build 47 47 48 48 49 %install 49 50 mkdir -p $RPM_BUILD_ROOT/usr/bin/ … … 56 57 # install -m 644 subversion-servers.dass-it $RPM_BUILD_ROOT/etc/subversion/servers.dass-it 57 58 #fi 59 if [ -d $RPM_BUILD_ROOT/etc/bash_completion.d/ ]; then 60 %define use_bash_completion 1 61 install -m 644 etc/bash_completion.d/bash_completion_dasscm.sh $RPM_BUILD_ROOT/etc/bash_completion.d/ 62 fi 58 63 59 64 … … 61 66 62 67 %clean 63 rm -rf $RPM_BUILD_ROOT68 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT 64 69 65 70 # TODO: group dasscm: 4199 … … 74 79 %attr(640,root,root) %config(noreplace) /etc/dasscm.conf 75 80 %doc Changes doc/* subversion-servers.dass-it 81 %if 0%{?use_bash_completion} 82 /etc/bash_completion.d/bash_completion_dasscm.sh 83 %else 84 %doc etc/bash_completion.d/bash_completion_dasscm.sh 85 %endif
Note:
See TracChangeset
for help on using the changeset viewer.