[libgda/f18] Minor spec file cleanup

Kalev Lember kalev at fedoraproject.org
Mon Oct 22 21:26:02 UTC 2012


commit 2d0bccf9cf310d5917e34c76ad6040611b9da197
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Mon Oct 22 23:00:12 2012 +0200

    Minor spec file cleanup

 libgda.spec |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/libgda.spec b/libgda.spec
index d87e2a0..0880663 100644
--- a/libgda.spec
+++ b/libgda.spec
@@ -14,7 +14,7 @@ Summary:        Library for writing gnome database programs
 
 License:        LGPLv2+
 URL:            http://www.gnome-db.org/
-Source:         http://ftp.gnome.org/pub/GNOME/sources/%{name}/5.0/%{name}-%{version}.tar.xz
+Source:         http://ftp.gnome.org/pub/GNOME/sources/%{name}/5.1/%{name}-%{version}.tar.xz
 
 BuildRequires:    pkgconfig >= 0.8
 BuildRequires:    glib2-devel >= 2.28.0
@@ -197,7 +197,6 @@ export LD_LIBRARY_PATH=/usr/lib/jvm/java/jre/lib/%{archinstall}/server:$LD_LIBRA
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
 make install DESTDIR=%{buildroot}
 find %{buildroot} -name '*.la' -exec rm -f {} ';'
 rm %{buildroot}/%{_sysconfdir}/%{name}-%{apiver}/sales_test.db
@@ -245,7 +244,6 @@ if which scrollkeeper-update >/dev/null 2>&1; then scrollkeeper-update; fi
 %exclude %{_libdir}/pkgconfig/%{name}-ui-%{apiver}.pc
 
 %files ui
-%doc
 %{_libdir}/%{name}-ui-%{apiver}.so.*
 %{_libdir}/%{name}-%{apiver}/plugins/*.xml
 %{_datadir}/%{name}-%{apiver}/pixmaps
@@ -256,7 +254,6 @@ if which scrollkeeper-update >/dev/null 2>&1; then scrollkeeper-update; fi
 %{_datadir}/%{name}-%{apiver}/language-specs/gda-sql.lang
 
 %files ui-devel
-%doc
 %{_includedir}/%{name}-%{apiver}/%{name}-ui
 %{_libdir}/%{name}-ui-%{apiver}.so
 %{_bindir}/gdaui-demo-%{apiver}
@@ -278,7 +275,6 @@ if which scrollkeeper-update >/dev/null 2>&1; then scrollkeeper-update; fi
 %{_datadir}/icons/hicolor/*
 
 %files sqlite
-%defattr(-,root,root,-)
 %{_libdir}/%{name}-%{apiver}/providers/%{name}-sqlite.so
 %{_datadir}/%{name}-%{apiver}/sqlite_specs*.xml
 


More information about the scm-commits mailing list