Skip to content

Commit

Permalink
spec: install debuginfor downloader for opensuse
Browse files Browse the repository at this point in the history
Related to #181

Signed-off-by: Jakub Filak <jfilak@redhat.com>
  • Loading branch information
Jakub Filak committed Sep 27, 2013
1 parent 3ccb28f commit c4758d4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions libreport.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,15 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man5/report_rhel.conf.5
rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_AnacondaRHEL.xml
%endif

%if 0%{?suse_version}
rm $RPM_BUILD_ROOT/%{python_sitearch}/reportclient/debuginfo.*

for f in `ls $RPM_BUILD_ROOT/%{python_sitearch}/reportclient/opensuse_debuginfo.*`
do
mv $f `echo $f | sed 's/opensuse_//'`
done
%endif

%clean
rm -rf $RPM_BUILD_ROOT

Expand Down

0 comments on commit c4758d4

Please sign in to comment.