SHA256
1
0
forked from pool/gimp-gap

Accepting request 1123931 from graphics

- Fix build with RPM 4.19: unnumbered patches are no longer
  supported.

- switch to https source url

- Remove obsolete translation-update-upstream support
  (jsc#SLE-21105).

OBS-URL: https://build.opensuse.org/request/show/1123931
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp-gap?expand=0&rev=25
This commit is contained in:
Ana Guerrero 2023-11-08 21:17:36 +00:00 committed by Git OBS Bridge
parent 8e3be3b9f6
commit 480b1a789a
3 changed files with 20 additions and 8 deletions

View File

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Nov 6 16:09:33 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix build with RPM 4.19: unnumbered patches are no longer
supported.
-------------------------------------------------------------------
Thu May 19 09:18:27 UTC 2022 - Marcus Meissner <meissner@suse.com>
- switch to https source url
-------------------------------------------------------------------
Mon Sep 20 17:34:28 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>
- Remove obsolete translation-update-upstream support
(jsc#SLE-21105).
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 6 18:48:30 UTC 2012 - dimstar@opensuse.org Wed Jun 6 18:48:30 UTC 2012 - dimstar@opensuse.org

View File

@ -26,7 +26,6 @@ BuildRequires: automake
BuildRequires: gimp-devel >= 2.6.0 BuildRequires: gimp-devel >= 2.6.0
BuildRequires: intltool BuildRequires: intltool
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: translation-update-upstream
%if 0%{?BUILD_ORIG} %if 0%{?BUILD_ORIG}
%if ! 0%{?BUILD_ORIG_ADDON} %if ! 0%{?BUILD_ORIG_ADDON}
Provides: %{name}-orig = %{version} Provides: %{name}-orig = %{version}
@ -42,13 +41,13 @@ Summary: GIMP Animation Package
License: GPL-2.0 License: GPL-2.0
Group: Productivity/Multimedia/Video/Editors and Convertors Group: Productivity/Multimedia/Video/Editors and Convertors
%if 0%{?BUILD_ORIG} %if 0%{?BUILD_ORIG}
Source: ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.6/gap/%{name}-%{version}.tar.bz2 Source: https://ftp.gimp.org/pub/gimp/plug-ins/v2.6/gap/%{name}-%{version}.tar.bz2
%else %else
# WARNING: This is not a comment, but the real command to repack souce: # WARNING: This is not a comment, but the real command to repack souce:
#%(bash %{_sourcedir}/%{name}-patch-source.sh %{name}-%{version}.tar.bz2) #%(bash %{_sourcedir}/%{name}-patch-source.sh %{name}-%{version}.tar.bz2)
Source: %{name}-%{version}-patched.tar.bz2 Source: %{name}-%{version}-patched.tar.bz2
%endif %endif
Patch: %{name}-patched.patch Patch0: %{name}-patched.patch
# PATCH-FIX-OPENSUSE gimp-gap-no-strict-aliasing.patch sbrabec@suse.cz -- Disables strict aliasing for part of the code. # PATCH-FIX-OPENSUSE gimp-gap-no-strict-aliasing.patch sbrabec@suse.cz -- Disables strict aliasing for part of the code.
Patch1: %{name}-no-strict-aliasing.patch Patch1: %{name}-no-strict-aliasing.patch
# PATCH-FIX-UPSTREAM gimp-gap-warnings.patch bgo585343 sbrabec@suse.cz -- Fix of serious warnings. # PATCH-FIX-UPSTREAM gimp-gap-warnings.patch bgo585343 sbrabec@suse.cz -- Fix of serious warnings.
@ -95,9 +94,8 @@ sequences of single frames.
%setup -q %setup -q
chmod -x ChangeLog chmod -x ChangeLog
%if ! 0%{?BUILD_ORIG} %if ! 0%{?BUILD_ORIG}
%patch %patch0
%endif %endif
translation-update-upstream
%if 0%{?BUILD_ORIG} %if 0%{?BUILD_ORIG}
%patch1 %patch1
%endif %endif