[gitg] Spec cleanup
Ignacio Casal Quinteiro
nacho at fedoraproject.org
Wed Mar 26 11:08:52 UTC 2014
commit 16e1956f280c69a20c27b7b17551ff159ac6b267
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date: Tue Mar 25 22:06:28 2014 +0800
Spec cleanup
gitg.spec | 21 ---------------------
1 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/gitg.spec b/gitg.spec
index cf65227..1d44890 100644
--- a/gitg.spec
+++ b/gitg.spec
@@ -3,11 +3,9 @@ Version: 0.2.7
Release: 2%{?dist}
Summary: GTK+ graphical interface for the git revision control system
-Group: Development/Tools
License: GPLv2+
URL: http://trac.novowork.com/gitg
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.2/%{name}-%{version}.tar.xz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
BuildRequires: dbus-devel
@@ -28,12 +26,6 @@ graphical presentation.
%package libs
Summary: Backend Library for gitg
-License: GPLv2+
-Group: Development/Libraries
-
-# FIXME: Provides should be dropped when F15 is EOL
-Provides: gitg-libgitg%{?_isa} = %{version}-%{release}
-Obsoletes: gitg-libgitg < 0.2.2-2
%description libs
libgitg is a GObject based library that provides an easy access to git methods
@@ -41,13 +33,7 @@ through GObject based methods
%package devel
Summary: Development files for %{name}
-License: GPLv2+
-Group: Development/Libraries
-
Requires: %{name} = %{version}-%{release}
-# FIXME: Provides should be dropped when F15 is EOL
-Provides: gitg-libgitg-devel%{?_isa} = %{version}-%{release}
-Obsoletes: gitg-libgitg-devel < 0.2.2-2
%description devel
This package contains development files for %{name}.
@@ -62,7 +48,6 @@ make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
@@ -75,9 +60,6 @@ desktop-file-install \
%find_lang %{name}
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%post
update-desktop-database >&/dev/null || :
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
@@ -99,7 +81,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
%postun libs -p /sbin/ldconfig
%files -f %{name}.lang
-%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README ChangeLog
%{_bindir}/gitg
@@ -114,13 +95,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
%files libs
-%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/libgitg-*.so.*
%files devel
-%defattr(-,root,root,-)
%{_libdir}/libgitg-*.so
%{_libdir}/pkgconfig/libgitg-1.0.pc
More information about the scm-commits
mailing list