do not install appdata on rhel

f41
David Tardon 11 years ago
parent cf6e5f5580
commit 1088dcdb9f

@ -1412,9 +1412,11 @@ sed -i -e "s#URE_MORE_JAVA_CLASSPATH_URLS.*#& file:///usr/share/java/postgresql-
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/glade3/catalogs mkdir -p $RPM_BUILD_ROOT/%{_datadir}/glade3/catalogs
mv $RPM_BUILD_ROOT/%{baseinstdir}/share/glade/libreoffice-catalog.xml $RPM_BUILD_ROOT/%{_datadir}/glade3/catalogs mv $RPM_BUILD_ROOT/%{baseinstdir}/share/glade/libreoffice-catalog.xml $RPM_BUILD_ROOT/%{_datadir}/glade3/catalogs
%if 0%{?fedora}
# rhbz#1049543 install appdata # rhbz#1049543 install appdata
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/appdata mkdir -p $RPM_BUILD_ROOT/%{_datadir}/appdata
cp -p sysui/desktop/appstream-appdata/*.appdata.xml $RPM_BUILD_ROOT/%{_datadir}/appdata cp -p sysui/desktop/appstream-appdata/*.appdata.xml $RPM_BUILD_ROOT/%{_datadir}/appdata
%endif
export DESTDIR=$RPM_BUILD_ROOT export DESTDIR=$RPM_BUILD_ROOT
make cmd cmd="install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -i %{baseinstdir} -p %{_datadir}/libreoffice/gdb" make cmd cmd="install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -i %{baseinstdir} -p %{_datadir}/libreoffice/gdb"

Loading…
Cancel
Save