diff --git a/.cvsignore b/.cvsignore index 73bd72f..740f13d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -transmission-1.50.tar.bz2 +transmission-1.51.tar.bz2 diff --git a/sources b/sources index 3f37bf6..77de363 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9342004249f09d5e8f87f9bd1476fa53 transmission-1.50.tar.bz2 +b93439fbd0040ad6eb448f70a48355f5 transmission-1.51.tar.bz2 diff --git a/transmission-1.50-copt.patch b/transmission-1.50-copt.patch deleted file mode 100644 index 70577bf..0000000 --- a/transmission-1.50-copt.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- transmission-1.50/configure~ 2009-02-13 17:43:45.000000000 +0100 -+++ transmission-1.50/configure 2009-02-20 12:07:14.000000000 +0100 -@@ -20147,8 +20147,6 @@ - - if test 0 = "0"; then - supported_build=yes -- CFLAGS="$CFLAGS -g -O3 -funroll-loops " -- CXXFLAGS="$CXXFLAGS -g -O3 -funroll-loops " - - cat >>confdefs.h <<\_ACEOF - #define TR_STABLE_RELEASE 1 -@@ -20156,8 +20154,6 @@ - - else - supported_build=no -- CFLAGS="$CFLAGS -g -O0" -- CXXFLAGS="$CXXFLAGS -g -O0" - if test 0 = "X"; then - - cat >>confdefs.h <<\_ACEOF -@@ -21539,11 +21535,6 @@ - ;; - esac - --if test "x$GCC" = "xyes" ; then -- CFLAGS="-std=gnu99 -ggdb3 -Wall -Wextra -Wredundant-decls -Wpointer-arith -Wformat-security -W -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Winit-self -Wundef -Wnested-externs -Wmissing-format-attribute" -- CXXFLAGS="-Wall -Wformat-security -W" --fi -- - { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 - $as_echo_n "checking for ANSI C header files... " >&6; } - if test "${ac_cv_header_stdc+set}" = set; then diff --git a/transmission-1.51-copt.patch b/transmission-1.51-copt.patch new file mode 100644 index 0000000..d150e76 --- /dev/null +++ b/transmission-1.51-copt.patch @@ -0,0 +1,35 @@ +--- transmission-1.51/configure~ 2009-02-27 17:48:09.000000000 +0100 ++++ transmission-1.51/configure 2009-02-28 09:38:58.000000000 +0100 +@@ -20147,10 +20147,6 @@ + + if test 0 = "0"; then + supported_build=yes +- if test "x$GCC" = "xyes" ; then +- CFLAGS="$CFLAGS -g -O3 -funroll-loops " +- CXXFLAGS="$CXXFLAGS -g -O3 -funroll-loops " +- fi + + cat >>confdefs.h <<\_ACEOF + #define TR_STABLE_RELEASE 1 +@@ -20158,10 +20154,6 @@ + + else + supported_build=no +- if test "x$GCC" = "xyes" ; then +- CFLAGS="$CFLAGS -g -O0" +- CXXFLAGS="$CXXFLAGS -g -O0" +- fi + if test 0 = "X"; then + + cat >>confdefs.h <<\_ACEOF +@@ -21543,10 +21535,6 @@ + ;; + esac + +-if test "x$GCC" = "xyes" ; then +- CFLAGS="$CFLAGS -std=gnu99 -ggdb3 -Wall -Wextra -Wredundant-decls -Wpointer-arith -Wformat-security -W -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Winit-self -Wundef -Wnested-externs -Wmissing-format-attribute" +-fi +- + { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 + $as_echo_n "checking for ANSI C header files... " >&6; } + if test "${ac_cv_header_stdc+set}" = set; then diff --git a/transmission-1.50-libevent.patch b/transmission-1.51-libevent.patch similarity index 95% rename from transmission-1.50-libevent.patch rename to transmission-1.51-libevent.patch index a3f48f3..911410b 100644 --- a/transmission-1.50-libevent.patch +++ b/transmission-1.51-libevent.patch @@ -75,19 +75,6 @@ diff -r -u transmission-1.50.orig/daemon/Makefile.in transmission-1.50/daemon/Ma $(INTLLIBS) \ $(LIBCURL_LIBS) \ $(ZLIB_LIBS) \ -diff -r -u transmission-1.50.orig/daemon/remote.c transmission-1.50/daemon/remote.c ---- transmission-1.50.orig/daemon/remote.c 2009-02-13 17:41:10.000000000 +0100 -+++ transmission-1.50/daemon/remote.c 2009-02-20 11:21:36.000000000 +0100 -@@ -21,7 +21,7 @@ - #include /* getcwd */ - #endif - --#include -+#include - - #define CURL_DISABLE_TYPECHECK /* otherwise -Wunreachable-code goes insane */ - #include -diff -r -u transmission-1.50.orig/gtk/Makefile.in transmission-1.50/gtk/Makefile.in --- transmission-1.50.orig/gtk/Makefile.in 2009-02-13 17:43:48.000000000 +0100 +++ transmission-1.50/gtk/Makefile.in 2009-02-20 11:22:10.000000000 +0100 @@ -72,7 +72,6 @@ @@ -200,3 +187,14 @@ diff -r -u transmission-1.50.orig/third-party/Makefile.in transmission-1.50/thir libnatpmp \ miniupnp +--- transmission-1.51/daemon/remote.c~ 2009-02-27 17:46:36.000000000 +0100 ++++ transmission-1.51/daemon/remote.c 2009-02-28 09:40:41.000000000 +0100 +@@ -21,7 +21,7 @@ + #include /* getcwd */ + #endif + +-#include ++#include + + #define CURL_DISABLE_TYPECHECK /* otherwise -Wunreachable-code goes insane */ + #include diff --git a/transmission.spec b/transmission.spec index 98ea854..6b7b828 100644 --- a/transmission.spec +++ b/transmission.spec @@ -1,7 +1,7 @@ Name: transmission -Version: 1.50 -Release: 2%{?dist} +Version: 1.51 +Release: 1%{?dist} Summary: A lightweight GTK+ BitTorrent client Group: Applications/Internet @@ -9,7 +9,7 @@ Group: Applications/Internet License: MIT and GPLv2 URL: http://www.transmissionbt.com/ Source0: http://download.m0k.org/transmission/files/transmission-%{version}.tar.bz2 -Patch2: transmission-1.50-copt.patch +Patch2: transmission-1.51-copt.patch Patch3: transmission-1.50-libevent.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -57,10 +57,14 @@ rm -rf $RPM_BUILD_ROOT %post +touch --no-create %{_datadir}/icons/hicolor || : +%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : update-desktop-database > /dev/null 2>&1 || : %postun +touch --no-create %{_datadir}/icons/hicolor || : +%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : update-desktop-database > /dev/null 2>&1 || : @@ -76,6 +80,10 @@ update-desktop-database > /dev/null 2>&1 || : %changelog +* Sat Feb 28 2009 Denis Leroy - 1.51-1 +- Update to upstream 1.51 +- Added icon cache scriplets (#487824) + * Wed Feb 25 2009 Fedora Release Engineering - 1.50-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild