[mygui] Clean up a few rpmlint warnings.

Bruno Wolff III bruno at fedoraproject.org
Sat Jan 8 13:28:04 UTC 2011


commit 511e3c829323a33700c923b3ea29b1cb317fab1f
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sat Jan 8 07:26:41 2011 -0600

    Clean up a few rpmlint warnings.

 mygui.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/mygui.spec b/mygui.spec
index db521b3..2b1548a 100644
--- a/mygui.spec
+++ b/mygui.spec
@@ -1,12 +1,12 @@
 Name:           mygui
 Version:        3.0.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Fast, simple and flexible GUI library for Ogre
 Group:          Development/Libraries
 # UnitTests include agg-2.4, which is under a BSD variant (not built or installed here)
 License:        LGPLv3+ 
-URL:            http://my-gui.sourceforge.net/
-Source0:        MyGUI_3.0.1_source.zip
+URL:            http://mygui.info/
+Source0:        http://downloads.sourceforge.net/my-gui/MyGUI_3.0.1_source.zip
 # Helper to run demos, based on A. Torkhov Ogre-Samples shipped with ogre-samples
 Source1:        MyGUI-Demos
 # Another helper for the tools
@@ -26,7 +26,7 @@ Patch3:         mygui-add-findpoco.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  automake, autoconf, libtool, freetype-devel, desktop-file-utils
-BuildRequires:  ois-devel, ogre-devel, doxygen, graphviz, cmake
+BuildRequires:  ois-devel, ogre-devel, doxygen, graphviz, cmake, dos2unix
 %if 0%{?fedora} < 12
 BuildRequires:  e2fsprogs-devel
 %else
@@ -96,7 +96,7 @@ An helper script MyGUI-Tools is provided and installed in %{_bindir}.
 sed -i 's/\r//' COPYING.LESSER
 # Fix non-UTF8 files
 for file in Tools/LayoutEditor/Readme.txt ; do
-   mv $file timestamp && \
+   dos2unix -n $file timestamp && \
    iconv -f ISO-8859-1 -t UTF-8 -o $file timestamp && \
    touch -r timestamp $file && \
    rm timestamp
@@ -252,6 +252,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat Jan 08 2011 Bruno Wolff III <bruno at wolff.to> - 3.0.1-3
+- Clean up a few more rpmlint warnings
+
 * Sat Jan 08 2011 Bruno Wolff III <bruno at wolff.to> - 3.0.1-2
 - Try to fix rpath issue
 


More information about the scm-commits mailing list