[libgee/f16] spec cleanup (cherry picked from commit ee17ac9ee99e1c6ba15015241aa21a193471131c)

Michel Alexandre Salim salimma at fedoraproject.org
Sat Sep 10 18:16:01 UTC 2011


commit 55023fd3326f8573542baa5092a0a73e958d3960
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Sat Sep 10 20:10:33 2011 +0200

    spec cleanup
    (cherry picked from commit ee17ac9ee99e1c6ba15015241aa21a193471131c)

 libgee.spec |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libgee.spec b/libgee.spec
index 028f7fb..07eae29 100644
--- a/libgee.spec
+++ b/libgee.spec
@@ -6,11 +6,11 @@ Summary:        GObject collection library
 Group:          System Environment/Libraries
 License:        LGPLv2+
 URL:            http://live.gnome.org/Libgee
-#VCS:		git:git://git.gnome.org/libgee
+#VCS:           git:git://git.gnome.org/libgee
 Source0:        http://download.gnome.org/sources/libgee/0.6/libgee-%{version}.tar.bz2
 
 BuildRequires:  glib2-devel
-BuildRequires:	gobject-introspection-devel
+BuildRequires:  gobject-introspection-devel
 # Bootstrap requirements
 BuildRequires:  autoconf automake libtool
 BuildRequires:  vala
@@ -43,14 +43,12 @@ efficient sort algorithms, simple, bi-directional or index-based
 mutable iterators depending on the collection type.
 
 libgee is written in Vala and can be used like any GObject-based C library.
-It's planned to provide bindings for further languages.
 
 
 %package        devel
 Summary:        Development files for %{name}
 Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
-Requires:       pkgconfig
 
 %description    devel
 The %{name}-devel package contains libraries and header files for
@@ -59,6 +57,10 @@ developing applications that use %{name}.
 
 %prep
 %setup -q
+# ChangeLog not UTF8
+iconv -f iso88591 -t utf8 ChangeLog -o ChangeLog.new
+touch -r ChangeLog ChangeLog.new
+mv ChangeLog.new ChangeLog
 
 
 %build
@@ -76,7 +78,6 @@ make check
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
@@ -87,7 +88,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README
 %{_libdir}/*.so.*
 %dir %{_libdir}/girepository-1.0


More information about the scm-commits mailing list