[packages/catcodec] - up to 1.0.5

baggins baggins at pld-linux.org
Sun May 16 18:30:14 CEST 2021


commit fe4b0a8d1530f17b8b550c981187924638d698f0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun May 16 18:29:58 2021 +0200

    - up to 1.0.5

 catcodec-flags.patch | 9 ---------
 catcodec.spec        | 8 ++++----
 2 files changed, 4 insertions(+), 13 deletions(-)
---
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"
 
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/%)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/catcodec.git/commitdiff/fe4b0a8d1530f17b8b550c981187924638d698f0



More information about the pld-cvs-commit mailing list