Accepting request 886476 from home:susnux:branches:X11:Unity
- Update to version 0.5.5 OBS-URL: https://build.opensuse.org/request/show/886476 OBS-URL: https://build.opensuse.org/package/show/X11:Unity/bamf?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
6e11493f05
commit
8672b3e042
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5bb87a5bf46ab1fc9a229a851c0ee4f610d943716a7c83d318f6a8f50d76beb3
|
||||
size 638756
|
@@ -1,7 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iHUEABEIAB0WIQTLueyV72w0rmtoTs3LpU4kV0XU6gUCW+NqEQAKCRDLpU4kV0XU
|
||||
6hI/AQCETR0A8BxqF5MMGqLVdELKO2eSPbY0HWvzqgXOvE5ekQD/auul2S3fDwBA
|
||||
Ira4PQYJL5zCnKFEzrHr43+EVouhMv4=
|
||||
=c2Nw
|
||||
-----END PGP SIGNATURE-----
|
3
bamf-0.5.5.tar.xz
Normal file
3
bamf-0.5.5.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:10e642adf5169d46e32b113346bebdad437cddd1ddbd45d16c640cf60cabf5da
|
||||
size 164924
|
16
bamf-0.5.5.tar.xz.asc
Normal file
16
bamf-0.5.5.tar.xz.asc
Normal file
@@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEE1MUB2kjreXoIF1CTlEnC9QmWY18FAmAHKAIACgkQlEnC9QmW
|
||||
Y19UKQ//a4ZGwZe785rmhrAfpwdFUE4VO4mMElEkmrdMtFUmKC1klcsf+7wylt6h
|
||||
uhi1fhPmfMo9WKg4k5xT2l9RGAf/mUCEOIJdRg2XC+ZEWGIRwf/QVTfbszQTBF/6
|
||||
Qt50/m7DSF8TTp9YqDEfyPoII68KhrsYEGbB6ceTk20wFBbn/LbmXmr2qglprbKt
|
||||
aM4VO9PmkbjYzMawEijE/nfbknhjk2vLsKq0qwJ3AUMpidK5m3uAj+2/nuqjPutt
|
||||
t84zR07V+vNP1kxxiIvv8pW3twIY03FG1kmBJdh7G29cv/Md9Lj0QMORXogbJXeF
|
||||
OUD/7NoUb+dqI765xp3lKpA0HqwUcOx98YbFizuocb2Cf88q0UcQjJygXaAVTN58
|
||||
QM9zt+Tl9XXWjmgvVNrKPleYzshVELs4BQOug5HOOWlwlLMZ5ZyPQZvtvokAdhUL
|
||||
yACJ4HxFdAtblEYGqBFEacqXUMQsaDiLVjhLQ5M3aNTyX/jhEQBulXDtTUOySXbZ
|
||||
+2j0xJhVRDWI9alMn+aL9lNhNbLxxMOzC5FCWrHBOPxZfY7Grrsx1Y0uSM05To/y
|
||||
OHWkyQKD3DT3nELysQsTBn7PxAXcrYo2HvLpRba+NWw7mN9fUtl8xE5Rajetqq8u
|
||||
Ur8hP4C1bgtuNJVwCdWQPdWlBd/wV6OEt21QeYgfcKnTnkh7IME=
|
||||
=Kyxm
|
||||
-----END PGP SIGNATURE-----
|
@@ -1,47 +0,0 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -113,11 +113,11 @@ GTK_DOC_CHECK(1.0)
|
||||
# gtester2xunit checks #
|
||||
###########################
|
||||
|
||||
-AC_PATH_PROG([PYTHON],[python])
|
||||
+AC_PATH_PROG([PYTHON], [python3])
|
||||
AC_MSG_CHECKING(for gtester2xunit dependencies)
|
||||
-if !($PYTHON -c "import libxslt, libxml2" 2> /dev/null); then
|
||||
+if !($PYTHON -c "import lxml" 2> /dev/null); then
|
||||
AC_MSG_RESULT([no])
|
||||
- AC_MSG_ERROR([You need to install python-libxslt1 and python-libxml2]);
|
||||
+ AC_MSG_ERROR([You need to install python3-lxml]);
|
||||
fi
|
||||
AC_MSG_RESULT([yes])
|
||||
|
||||
--- a/tests/gtester2xunit.py
|
||||
+++ b/tests/gtester2xunit.py
|
||||
@@ -1,18 +1,17 @@
|
||||
-#! /usr/bin/python
|
||||
-from argparse import ArgumentParser
|
||||
-import libxslt
|
||||
-import libxml2
|
||||
-import sys
|
||||
+#!/usr/bin/python3
|
||||
import os
|
||||
+import sys
|
||||
+from argparse import ArgumentParser
|
||||
+from lxml import etree
|
||||
|
||||
XSL_TRANSFORM='/usr/share/gtester2xunit/gtester.xsl'
|
||||
|
||||
def transform_file(input_filename, output_filename, xsl_file):
|
||||
- gtester = libxml2.parseFile(xsl_file)
|
||||
- style = libxslt.parseStylesheetDoc(gtester)
|
||||
- doc = libxml2.parseFile(input_filename)
|
||||
- result = style.applyStylesheet(doc, None)
|
||||
- result.saveFormatFile(filename=output_filename, format=True)
|
||||
+ gtester = etree.parse(xsl_file)
|
||||
+ style = etree.XSLT(gtester)
|
||||
+ doc = etree.parse(input_filename)
|
||||
+ result = style(doc)
|
||||
+ result.write(output_filename, pretty_print=True)
|
||||
|
||||
|
||||
def get_output_filename(input_filename):
|
10
bamf.changes
10
bamf.changes
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 18 14:52:17 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||
|
||||
- Update to version 0.5.5:
|
||||
* bamf-tab: Fix spelling
|
||||
* bamf-view: avoid overriding the `timeout` variables after
|
||||
setting them
|
||||
* Run gtester2xunit.py with Python3, port libxml2/libxslt to
|
||||
lxml module, this obsoletes bamf-fix-gtester2xunit.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 9 20:40:24 UTC 2019 - Alexei Sorokin <sor.alexei@meowr.ru>
|
||||
|
||||
|
12
bamf.spec
12
bamf.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package bamf
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -20,16 +20,14 @@
|
||||
%define _binver 3
|
||||
%define _version 0.5
|
||||
Name: bamf
|
||||
Version: 0.5.4
|
||||
Version: 0.5.5
|
||||
Release: 0
|
||||
Summary: Window matching library
|
||||
License: GPL-3.0-only AND LGPL-3.0-only
|
||||
URL: https://launchpad.net/bamf
|
||||
Source: https://launchpad.net/bamf/%{_version}/%{version}/+download/bamf-%{version}.tar.gz
|
||||
Source2: https://launchpad.net/bamf/%{_version}/%{version}/+download/bamf-%{version}.tar.gz.asc
|
||||
Source: https://launchpad.net/bamf/%{_version}/%{version}/+download/bamf-%{version}.tar.xz
|
||||
Source2: https://launchpad.net/bamf/%{_version}/%{version}/+download/bamf-%{version}.tar.xz.asc
|
||||
Source3: %{name}.keyring
|
||||
# PATCH-FIX-OPENSUSE bamf-fix-gtester2xunit.patch -- Make gtester2xunit requirements easier to meet.
|
||||
Patch0: bamf-fix-gtester2xunit.patch
|
||||
BuildRequires: gnome-common
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3
|
||||
@@ -92,7 +90,7 @@ bamf matches application windows to desktop files.
|
||||
This package contains files that are needed to build applications.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%autosetup
|
||||
|
||||
sed -i '/^CFLAGS=/s/-Werror //' configure.ac
|
||||
|
||||
|
Reference in New Issue
Block a user