From: Jan Rękorajski Date: Sun, 16 May 2021 16:29:58 +0000 (+0200) Subject: - up to 1.0.5 X-Git-Tag: auto/th/catcodec-1.0.5-1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=fe4b0a8d1530f17b8b550c981187924638d698f0;hp=ec663b76e0e2ddaf291280a0e7ea0145b9e3b00e;p=packages%2Fcatcodec.git - up to 1.0.5 --- diff --git a/catcodec-flags.patch b/catcodec-flags.patch index cfda683..fccbbcc 100644 --- a/catcodec-flags.patch +++ b/catcodec-flags.patch @@ -1,14 +1,5 @@ --- catcodec-1.0.1/Makefile~ 2010-08-25 18:39:16.000000000 +0200 +++ catcodec-1.0.1/Makefile 2010-09-02 14:58:19.162337310 +0200 -@@ -21,7 +21,7 @@ - - # Add some default CXXFLAGS only if there aren't dictated from the outside - ifndef CXXFLAGS -- CXXFLAGS = -Wall -Wcast-qual -Wwrite-strings -+ CXXFLAGS = -Wall -Wcast-qual -Wwrite-strings $(OPTFLAGS) - endif - - # Regardless of the warning settings, we really do not want these errors. @@ -39,7 +39,7 @@ $(CATCODEC): $(OBJS:%=objs/%) diff --git a/catcodec.spec b/catcodec.spec index 33a32d0..a139888 100644 --- a/catcodec.spec +++ b/catcodec.spec @@ -1,12 +1,12 @@ Summary: Tool for decode and encode sample catalogues for OpenTTD Summary(pl.UTF-8): Narzędzie do dekodowania oraz enkodowania katalogów dźwiękowych dla OpenTTD Name: catcodec -Version: 1.0.3 +Version: 1.0.5 Release: 1 License: GPL v2+ Group: Applications -Source0: http://cz.binaries.openttd.org/openttd/binaries/extra/catcodec/%{version}/%{name}-%{version}-source.tar.bz2 -# Source0-md5: 31196e261f7216ecea300e8807693401 +Source0: https://cdn.openttd.org/catcodec-releases/%{version}/%{name}-%{version}-source.tar.xz +# Source0-md5: 732af1bbe83ffdde17dc10703896472d Patch0: %{name}-flags.patch URL: http://www.openttd.org/en/download-catcodec BuildRequires: libstdc++-devel @@ -26,7 +26,7 @@ dźwiękowych dla OpenTTD. %build %{__make} \ CXX="%{__cxx}" \ - OPTFLAGS="%{rpmcxxflags}" \ + CXXFLAGS="%{rpmcxxflags}" \ LDFLAGS="%{rpmldflags}" \ VERBOSE="on"