Accepting request 793222 from GNOME:Next

New upstream rel

OBS-URL: https://build.opensuse.org/request/show/793222
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/shared-mime-info?expand=0&rev=82
This commit is contained in:
Bjørn Lie 2020-04-14 10:17:51 +00:00 committed by Git OBS Bridge
parent d2f19ac866
commit 8cc4e7fceb
6 changed files with 54 additions and 34 deletions

View File

@ -1,16 +0,0 @@
<services>
<service name="obs_scm" mode="disabled">
<param name="url">https://gitlab.freedesktop.org/xdg/shared-mime-info.git</param>
<param name="scm">git</param>
<param name="version">1.12</param>
<param name="revision">Release-1-12</param>
</service>
<service mode="disabled" name="set_version" />
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d70db55dde9024f54575ac985c86b8639837c774fadc7e57269f1078b91df71
size 28580877

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f482b027437c99e53b81037a9843fccd549243fd52145d016e9c7174a4f5db90
size 772708

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Sat Apr 11 17:07:32 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.15:
+ Add Kindle 8 eBook format.
+ Fix some HTML files being detected as XML.
- Changes from version 1.14:
+ Add mime-type for QCOW images.
+ Fix matching SVG files in some circumstances (again).
- Changes from version 1.13.1:
+ Fix matching SVG files in some circumstances.
- Changes from version 1.13:
+ Add code of conduct document.
+ Use itstool and gettext to generate translations.
+ Add content-tree type for OSTree USB repositories.
+ Add match for MPEG-4 v1 videos.
+ Adjust a lot of user readable mime-type descriptions.
+ Fix WOFF/WOFF2 mime-types.
+ Prefer text/html to XHTML for *.html files.
+ Better magic for text/html files.
+ Fix SVG magic for files embedded in HTML.
+ Add *.sgd as a glob for Mega Drive ROMs.
+ Specification: Mention that sub-class-of can be aliases.
+ Tools: Enable Large File Support in update-mime-database.
+ Test suite:
- Make test suite failures fatal.
- Add test for duplicate mime-types.
- Fix WarpScript test.
- Generate the specification in the CI, to avoid it becoming
syntactically invalid.
- Stop using source service, it leads to a undetected build cycle.
- Following this: Drop libtool BuildRequires and stop passing
autogen.sh to bootstrap, we are now using upstream release
tarballs.
- Add itstool BuildRequires: New dependency.
- Disable t-u-u, currently breaks the build.
- Stop passing --disable-default-make-check to configure, no longer
needed, nor recognized.
-------------------------------------------------------------------
Sat Jan 25 14:19:37 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,5 +0,0 @@
name: shared-mime-info
version: 1.12
mtime: 1547738010
commit: 41a9a684249cd47aef4d65f81180ee69aa358d71

View File

@ -1,7 +1,7 @@
#
# spec file for package shared-mime-info
#
# Copyright (c) 2019 SUSE LLC.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,22 +16,25 @@
#
%define commitid b27eb88e4155d8fccb8bb3cd12025d5b
Name: shared-mime-info
Version: 1.12
Version: 1.15
Release: 0
Summary: Shared MIME Database
License: GPL-2.0-or-later
Group: System/X11/Utilities
URL: https://gitlab.freedesktop.org/xdg/shared-mime-info/
Source0: %{name}-%{version}.tar.xz
URL: https://gitlab.freedesktop.org/xdg/shared-mime-info
Source0: %{url}/uploads/%{commitid}/%{name}-%{version}.tar.xz
Source1: macros.shared-mime-info
BuildRequires: glib2-devel
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: itstool
BuildRequires: libxml2-devel
# needed for xmllint
BuildRequires: libxml2-tools
BuildRequires: translation-update-upstream
#BuildRequires: translation-update-upstream
# libgio-2_0-0 Requires: shared-mime-info, but this can't exist yet. We explicitly ignore this dependency here.
#!BuildIgnore: shared-mime-info
# needed by update-mime-database
@ -50,12 +53,11 @@ This package contains:
%prep
%autosetup -p1
translation-update-upstream
# Broken as of 1.15
#translation-update-upstream
%build
NOCONFIGURE=1 ./autogen.sh
%configure \
--disable-default-make-check \
%{nil}
%make_build
@ -66,7 +68,7 @@ NOCONFIGURE=1 ./autogen.sh
install -D -m644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.shared-mime-info
%check
make %{?_smp_mflags} check
%make_build check
%filetriggerin -- %{_datadir}/mime
export PKGSYSTEM_ENABLE_FSYNC=0