diff --git a/.gitignore b/.gitignore index 87b96a1..81dd4f6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /libdmtx-0.7.2.tar.bz2 /libdmtx-0.7.4.tar.bz2 +/libdmtx-0.7.5.tar.gz diff --git a/libdmtx.spec b/libdmtx.spec index 70b8045..65299df 100644 --- a/libdmtx.spec +++ b/libdmtx.spec @@ -1,12 +1,23 @@ Name: libdmtx -Version: 0.7.4 -Release: 4%{?dist} +Version: 0.7.5 +Release: 1%{?dist} Summary: Library for working with Data Matrix 2D bar-codes Group: System Environment/Libraries License: BSD -URL: http://www.libdmtx.org/ -Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 +# http://www.libdmtx.org/ doesn't work any more +# outdated info is still at http://libdmtx.sourceforge.net/ +URL: https://github.com/dmtx +Source0: https://github.com/dmtx/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +# https://github.com/dmtx/libdmtx/pull/13 +Patch0: libdmtx-0.7.5-c99.patch +# https://github.com/dmtx/libdmtx/pull/14 +Patch1: libdmtx-0.7.5-size_t.patch +# https://github.com/dmtx/libdmtx/pull/12 +Patch2: libdmtx-0.7.5-math.patch + +BuildRequires: gcc +BuildRequires: libtool # obsolete language bindings we can't provide any more Obsoletes: php-libdmtx < 0.7.4 @@ -38,7 +49,9 @@ developing applications that use %{name}. %prep -%autosetup +%autosetup -p1 + +./autogen.sh %build @@ -80,6 +93,9 @@ popd %changelog +* Fri Apr 06 2018 Dan HorĂ¡k - 0.7.5-1 +- updated to 0.7.5 + * Wed Feb 07 2018 Fedora Release Engineering - 0.7.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 117124a..4a0252f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libdmtx-0.7.4.tar.bz2) = 13066ecefb3da3746c6f1e872ae7493bb3902fb891ef6d96f65a90ca444107662fcad4a7fae3463ab2f6503f0962d248a5dcd754a6eb0b5c624ae68100b9c056 +SHA512 (libdmtx-0.7.5.tar.gz) = c4bccc9eff4a93b6bb417ed23ed46e82cc98b650a94be40479d192af8537ee02a16700fbbd8f2271035ff8b804c40ab6461825d94bd80a3081d3a4b3988ea22a