diff --git a/.gitignore b/.gitignore index ca1893c..e6e375d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/libsixel-1.10.3.tar.gz +/libsixel-*.tar.gz diff --git a/libsixel.spec b/libsixel.spec index ed8eaa2..e7155aa 100644 --- a/libsixel.spec +++ b/libsixel.spec @@ -1,12 +1,11 @@ Name: libsixel -Version: 1.10.3 +Version: 1.10.5 Release: %autorelease Summary: SIXEL encoding and decoding License: MIT URL: https://github.com/libsixel/libsixel -Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz -Patch0: meson.patch +Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: meson @@ -32,7 +31,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %{summary}. %prep -%autosetup -n %{name}-%{version} -p1 +%autosetup -p1 %build %meson -Dtests=enabled @@ -40,7 +39,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %install %meson_install -rm %{buildroot}/%{_libdir}/libsixel.a %check %meson_test diff --git a/meson.patch b/meson.patch deleted file mode 100644 index c961379..0000000 --- a/meson.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- a/meson.build -+++ b/meson.build -@@ -101,17 +101,17 @@ - python2_installation = pymod.find_installation('python2', required: get_option('python2')) - - if get_option('libcurl').enabled() and curl_found.found() -- conf_data.set('HAVE_LIBCURL', true) -+ conf_data.set('HAVE_LIBCURL', 1) - libsixel_deps += [curl_found] - endif - --if get_option('jpeg').enabled() and jpeg_found -- conf_data.set('HAVE_JPEG', true) -+if get_option('jpeg').enabled() and jpeg_found.found() -+ conf_data.set('HAVE_JPEG', 1) - libsixel_deps += [jpeg_found] - endif - --if get_option('png').enabled() and png_found -- conf_data.set('HAVE_PNG', true) -+if get_option('png').enabled() and png_found.found() -+ conf_data.set('HAVE_PNG', 1) - libsixel_deps += [png_found] - endif - diff --git a/sources b/sources index 9819c65..a5729d4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libsixel-1.10.3.tar.gz) = ef16f9ccecec8289728ec84ce9f24145648f8a38184c1ec3df8ead3499c6cf7d3e0a0c738f8bfcb1093e16ee8ae7ce5e46d3890707c8104752ce4ab7eb3bc7ac +SHA512 (libsixel-1.10.5.tar.gz) = 94fc972ee304885936d5d8fbc3dadc5feadebf1ab262bb49c9ae9b1eed19c528ed823f4d31c17326340f06a5b7ee28a1817be15ae55c3e9d0c4437cd36b3e49d