Remove duplicated installation of %SOURCE1
This commit is contained in:
parent
94c1e87281
commit
977fbbad9f
@ -58,14 +58,12 @@ find $RPM_BUILD_ROOT%{_datadir}/mime -type d \
|
|||||||
find $RPM_BUILD_ROOT%{_datadir}/mime -type f -not -path "*/packages/*" \
|
find $RPM_BUILD_ROOT%{_datadir}/mime -type f -not -path "*/packages/*" \
|
||||||
| sed -e "s|^$RPM_BUILD_ROOT|%%ghost |" >> %{name}.files
|
| sed -e "s|^$RPM_BUILD_ROOT|%%ghost |" >> %{name}.files
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
|
|
||||||
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/mimeapps.list
|
|
||||||
|
|
||||||
# Support fallback/generic mimeapps.list (currently based on an old version of
|
# Support fallback/generic mimeapps.list (currently based on an old version of
|
||||||
# gnome-mimeapps.list), see:
|
# gnome-mimeapps.list), see:
|
||||||
# https://lists.fedoraproject.org/pipermail/devel/2015-July/212403.html
|
# https://lists.fedoraproject.org/pipermail/devel/2015-July/212403.html
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1243049
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1243049
|
||||||
cp %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/applications/mimeapps.list
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
|
||||||
|
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/mimeapps.list
|
||||||
|
|
||||||
## remove bogus translation files
|
## remove bogus translation files
|
||||||
## translations are already in the xml file installed
|
## translations are already in the xml file installed
|
||||||
|
Loading…
Reference in New Issue
Block a user