From 9c1880f55727eede1b25f4941fbf7a214eac5fbf Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 13 Apr 2021 17:32:12 +0200 Subject: [PATCH] - updated to 1.2.1 - removed obsolete pc patch --- libhandy1-pc.patch | 24 ------------------------ libhandy1.spec | 8 +++----- 2 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 libhandy1-pc.patch diff --git a/libhandy1-pc.patch b/libhandy1-pc.patch deleted file mode 100644 index ab43206..0000000 --- a/libhandy1-pc.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- libhandy-1.2.0/meson.build.orig 2021-03-12 13:10:27.000000000 +0100 -+++ libhandy-1.2.0/meson.build 2021-04-01 20:30:07.815680135 +0200 -@@ -103,13 +103,17 @@ - - # Setup various paths that subdirectory meson.build files need - package_subdir = get_option('package_subdir') # When used as subproject --datadir = get_option('datadir') / package_subdir --libdir = get_option('libdir') / package_subdir --girdir = get_option('datadir') / package_subdir / 'gir-1.0' --typelibdir = get_option('libdir') / package_subdir / 'girepository-1.0' - if package_subdir != '' -+ datadir = get_option('datadir') / package_subdir -+ libdir = get_option('libdir') / package_subdir -+ girdir = get_option('datadir') / package_subdir / 'gir-1.0' -+ typelibdir = get_option('libdir') / package_subdir / 'girepository-1.0' - vapidir = get_option('datadir') / package_subdir / 'vapi' - else -+ datadir = get_option('datadir') -+ libdir = get_option('libdir') -+ girdir = get_option('datadir') / 'gir-1.0' -+ typelibdir = get_option('libdir') / 'girepository-1.0' - vapidir = get_option('datadir') / 'vala' / 'vapi' - endif - diff --git a/libhandy1.spec b/libhandy1.spec index 24a64bd..8dbb2fb 100644 --- a/libhandy1.spec +++ b/libhandy1.spec @@ -7,13 +7,12 @@ Summary: Library with GTK+ widgets for mobile phones Summary(pl.UTF-8): Biblioteka z kontrolkami GTK+ dla telefonów komórkowych Name: libhandy1 -Version: 1.2.0 -Release: 2 +Version: 1.2.1 +Release: 1 License: LGPL v2.1+ Group: Libraries Source0: https://download.gnome.org/sources/libhandy/1.2/libhandy-%{version}.tar.xz -# Source0-md5: 18d868a77fe846b926e09508e3dce288 -Patch0: %{name}-pc.patch +# Source0-md5: 404564f05ff5eafbdd56ed3ffc1c2697 URL: https://gitlab.gnome.org/GNOME/libhandy/ # -std=gnu11 BuildRequires: gcc >= 6:4.7 @@ -97,7 +96,6 @@ API języka VALA do biblioteki libhandy. %prep %setup -q -n libhandy-%{version} -%patch0 -p1 %build %meson build \ -- 2.44.0