From b14adb2b155f43d9e13f2ad46c0b0d365576155e Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Multiple fixes suggested by rpmlint. --- bzip2/mingw32-bzip2.spec | 27 +++++++++++++++------------ cairo/mingw32-cairo.spec | 11 +++++++---- gcc/mingw32-gcc.spec | 6 +++--- gtk-vnc/mingw32-gtk-vnc.spec | 4 +++- libsigc++20/mingw32-libsigc++20.spec | 15 ++++++++------- pango/mingw32-pango.spec | 2 +- runtime/mingw32-runtime.spec | 2 +- 7 files changed, 38 insertions(+), 29 deletions(-) diff --git a/bzip2/mingw32-bzip2.spec b/bzip2/mingw32-bzip2.spec index 787b345..2ced21f 100644 --- a/bzip2/mingw32-bzip2.spec +++ b/bzip2/mingw32-bzip2.spec @@ -11,7 +11,7 @@ Name: mingw32-bzip2 Version: 1.0.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: MinGW port of bzip2 file compression utility License: BSD @@ -64,22 +64,22 @@ cross-compiling Windows software in Fedora. %build make -f Makefile-libbz2_so \ - CC="%{_mingw32_cc}" \ - AR="%{_mingw32_ar}" \ - RANLIB="%{_mingw32_ranlib}" \ - CFLAGS="%{_mingw32_cflags} -D_FILE_OFFSET_BITS=64" \ - %{?_smp_mflags} all + CC="%{_mingw32_cc}" \ + AR="%{_mingw32_ar}" \ + RANLIB="%{_mingw32_ranlib}" \ + CFLAGS="%{_mingw32_cflags} -D_FILE_OFFSET_BITS=64" \ + %{?_smp_mflags} all rm -f *.o make CC="%{_mingw32_cc}" \ - AR="%{_mingw32_ar}" \ - RANLIB="%{_mingw32_ranlib}" \ - CFLAGS="%{_mingw32_cflags} -D_FILE_OFFSET_BITS=64" \ - %{?_smp_mflags} \ + AR="%{_mingw32_ar}" \ + RANLIB="%{_mingw32_ranlib}" \ + CFLAGS="%{_mingw32_cflags} -D_FILE_OFFSET_BITS=64" \ + %{?_smp_mflags} \ %if %{run_tests} - all + all %else - libbz2.a bzip2 bzip2recover + libbz2.a bzip2 bzip2recover %endif @@ -135,6 +135,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Oct 29 2008 Richard Jones - 1.0.5-3 +- Fix mixed spaces/tabs in specfile. + * Fri Oct 10 2008 Richard Jones - 1.0.5-2 - Allow the tests to be disabled selectively. diff --git a/cairo/mingw32-cairo.spec b/cairo/mingw32-cairo.spec index 92511cb..89bd664 100644 --- a/cairo/mingw32-cairo.spec +++ b/cairo/mingw32-cairo.spec @@ -6,12 +6,12 @@ Name: mingw32-cairo Version: 1.8.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: MinGW Windows Cairo library -License: LGPLv2 or MPLv1.1 -URL: http://cairographics.org -Source0: http://cairographics.org/snapshots/cairo-%{version}.tar.gz +License: LGPLv2 or MPLv1.1 +URL: http://cairographics.org +Source0: http://cairographics.org/snapshots/cairo-%{version}.tar.gz Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -71,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Oct 29 2008 Richard W.M. Jones - 1.8.0-2 +- Fix mixed spaces/tabs in specfile. + * Fri Oct 24 2008 Richard W.M. Jones - 1.8.0-1 - New upstream version 1.8.0. diff --git a/gcc/mingw32-gcc.spec b/gcc/mingw32-gcc.spec index 67fbeeb..48a9eca 100644 --- a/gcc/mingw32-gcc.spec +++ b/gcc/mingw32-gcc.spec @@ -167,11 +167,11 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Thu Sep 4 2008 Richard W.M. Jones - 4.3.1-7 +* Thu Sep 4 2008 Richard W.M. Jones - 4.3.2-7 - Rename mingw -> mingw32. -* Thu Sep 4 2008 Richard W.M. Jones - 4.3.1-6 +* Thu Sep 4 2008 Richard W.M. Jones - 4.3.2-6 - Use RPM macros from mingw-filesystem. -* Mon Jul 7 2008 Richard W.M. Jones - 4.3.1-3 +* Mon Jul 7 2008 Richard W.M. Jones - 4.3.2-3 - Initial RPM release, largely based on earlier work from several sources. diff --git a/gtk-vnc/mingw32-gtk-vnc.spec b/gtk-vnc/mingw32-gtk-vnc.spec index 8c2f03e..75c0bea 100644 --- a/gtk-vnc/mingw32-gtk-vnc.spec +++ b/gtk-vnc/mingw32-gtk-vnc.spec @@ -37,7 +37,8 @@ BuildRequires: pkgconfig %description -# description +gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines +allowing it to be completely asynchronous while remaining single threaded. %prep @@ -85,6 +86,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Fri Oct 10 2008 Richard W.M. Jones - 0.3.7-3 - Missing BRs discovered by mock. +- Added description section. * Thu Oct 9 2008 Richard W.M. Jones - 0.3.7-2 - Initial RPM release. diff --git a/libsigc++20/mingw32-libsigc++20.spec b/libsigc++20/mingw32-libsigc++20.spec index 771aa54..5113ec6 100644 --- a/libsigc++20/mingw32-libsigc++20.spec +++ b/libsigc++20/mingw32-libsigc++20.spec @@ -26,13 +26,14 @@ BuildRequires: m4 %description -This library implements a full callback system for use in widget libraries, -abstract interfaces, and general programming. Originally part of the Gtk-- -widget set, %name is now a separate library to provide for more general -use. It is the most complete library of its kind with the ability to connect -an abstract callback to a class method, function, or function object. It -contains adaptor classes for connection of dissimilar callbacks and has an -ease of use unmatched by other C++ callback libraries. +This library implements a full callback system for use in widget +libraries, abstract interfaces, and general programming. Originally +part of the Gtk-- widget set, %name is now a separate library to +provide for more general use. It is the most complete library of its +kind with the ability to connect an abstract callback to a class +method, function, or function object. It contains adaptor classes for +connection of dissimilar callbacks and has an ease of use unmatched by +other C++ callback libraries. Package GTK-- (gtkmm), which is a C++ binding to the GTK+ library, starting with version 1.1.2, uses %name. diff --git a/pango/mingw32-pango.spec b/pango/mingw32-pango.spec index ba5a44b..00741f7 100644 --- a/pango/mingw32-pango.spec +++ b/pango/mingw32-pango.spec @@ -106,7 +106,7 @@ rm -rf $RPM_BUILD_ROOT - Rename mingw -> mingw32. * Tue Sep 23 2008 Daniel P. Berrange - 1.21.6-5 -- Remove use of wine in %post +- Remove use of wine in %-post. * Thu Sep 11 2008 Daniel P. Berrange - 1.21.6-4 - Add dep on pkgconfig diff --git a/runtime/mingw32-runtime.spec b/runtime/mingw32-runtime.spec index a1d9a94..4d9ad97 100644 --- a/runtime/mingw32-runtime.spec +++ b/runtime/mingw32-runtime.spec @@ -17,7 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch0: mingw32-runtime-3.15.1-useconds_t.patch -BuildArch: noarch +BuildArch: noarch BuildRequires: mingw32-filesystem >= 26 BuildRequires: mingw32-binutils -- 1.8.3.1