bump to v2.0.1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable tizen_3.0 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0.m2 tizen_3.0_ivi tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170104.142555 accepted/tizen/3.0.m2/tv/20170104.143249 accepted/tizen/3.0.m2/wearable/20170104.143631 accepted/tizen/3.0/common/20161114.110603 accepted/tizen/3.0/ivi/20161011.044007 accepted/tizen/3.0/mobile/20161015.033004 accepted/tizen/3.0/tv/20161016.004421 accepted/tizen/3.0/wearable/20161015.082610 accepted/tizen/common/20141208.171254 accepted/tizen/ivi/20141218.015806 accepted/tizen/ivi/20141225.103457 accepted/tizen/ivi/20160218.024658 accepted/tizen/mobile/20141216.073808 accepted/tizen/tv/20141210.132622 accepted/tizen/tv/20150122.091208 accepted/tizen/wearable/20141215.053811 submit/tizen/20141208.103115 submit/tizen_3.0.m2/20170104.093752 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000002 submit/tizen_3.0_mobile/20161015.000002 submit/tizen_3.0_tv/20161015.000002 submit/tizen_3.0_wearable/20161015.000002 submit/tizen_ivi/20141225.222222 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000005 submit/tizen_tv/20150120.000001 submit/tizen_wearable/20141210.200127 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
authorNicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
Tue, 18 Nov 2014 11:05:37 +0000 (12:05 +0100)
committerNicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
Mon, 8 Dec 2014 10:29:33 +0000 (11:29 +0100)
Change-Id: I4b0e6a3a13f35f6bb19143edc2f336650f5fa07e
Signed-off-by: Nicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
packaging/git.spec

index a4562a4..b5e00eb 100644 (file)
@@ -1,12 +1,12 @@
 %define gitexecdir %{_libexecdir}/git
 
 Name:           git
-Version:        1.8.1.3
+Version:        2.0.1
 Release:        0
 License:        GPL-2.0
 Summary:        Fast, scalable, distributed revision control system
 Url:            http://git-scm.com
-Group:          Development/Tools
+Group:          Platform Development/Utilities
 Source:         %{name}-%{version}.tar.gz
 Source1001:    git.manifest
 BuildRequires:  asciidoc
@@ -34,7 +34,7 @@ CVS, and GNU arch.
 
 %package core
 Summary:        Core git tools
-Group:          Development/Tools
+Group:          Platform Development/Utilities
 Requires:       less
 Requires:       openssh
 Requires:       perl-Error
@@ -50,7 +50,7 @@ These are the core tools with minimal dependencies.
 
 %package svn
 Summary:        Git tools for importing Subversion repositories
-Group:          Development/Tools
+Group:          Platform Development/Utilities
 Requires:       git-core = %{version}
 Requires:       subversion
 Requires:       subversion-perl
@@ -61,7 +61,7 @@ system.
 
 %package cvs
 Summary:        Git tools for importing CVS repositories
-Group:          Development/Tools
+Group:          Platform Development/Utilities
 Requires:       cvs
 Requires:       cvsps
 Requires:       git-core = %{version}
@@ -72,7 +72,7 @@ Tools for importing CVS repositories to the Git version control system.
 
 %package arch
 Summary:        Git tools for importing Arch repositories
-Group:          Development/Tools
+Group:          Platform Development/Utilities
 Requires:       git-core = %{version}
 # Requires:       tla
 
@@ -82,7 +82,7 @@ system.
 
 %package email
 Summary:        Git tools for sending email
-Group:          Development/Tools
+Group:          Platform Development/Utilities
 Requires:       git-core = %{version}
 # For sending mails over secure SMTP:
 Recommends:     perl-Authen-SASL
@@ -93,7 +93,7 @@ Email interface for the GIT version control system.
 
 %package daemon
 Summary:        Simple Server for Git Repositories
-Group:          Development/Tools
+Group:          Platform Development/Utilities
 Requires(pre):  /usr/sbin/useradd
 Requires:       git-core = %{version}
 
@@ -103,7 +103,7 @@ read only access to repositories in /srv/git/ that contain the
 'git-daemon-export-ok' file.
 %package -n gitk
 Summary:        Git revision tree visualiser
-Group:          Development/Tools
+Group:          Platform Development/Utilities
 Requires:       git-core = %{version}
 Requires:       tk >= 8.4
 Supplements:    packageand(git-core:tk)
@@ -118,7 +118,7 @@ found in the package git-gui.
 
 %package gui
 Summary:        Grapical tool for common git operations
-Group:          Development/Tools
+Group:          Platform Development/Utilities
 Requires:       git-core = %{version}
 Requires:       tk >= 8.4
 Supplements:    packageand(git-core:tk)
@@ -135,7 +135,7 @@ menu actions to start a gitk session from within git-gui.
 
 %package web
 Summary:        Git Web Interface
-Group:          Development/Tools
+Group:          Platform Development/Utilities
 Requires:       git-core = %{version}
 Supplements:    packageand(git-core:apache2)
 
@@ -145,19 +145,12 @@ CGI script that allows browsing git repositories via web interface.
 The apache2 configuration contained in this package installs a virtual
 directory /git/ that calls the cgi script.
 
-%package remote-helpers
-Summary:        Python package for remote helper scripts
-Group:          Development/Tools
-Requires:       git-core = %{version}
-Requires:       python
-
-%description remote-helpers
-This package contains the building blocks for remote helpers written in Python.
 
 %prep
 %setup -q
 cp %{SOURCE1001} .
 
+
 %build
 cat > .make <<'EOF'
 #!/bin/bash
@@ -181,11 +174,12 @@ chmod 755 .make
 %check
 make %{?_smp_mflags} test
 
+
 %install
 ./.make install install-doc
 ###
-(find %{buildroot}%{_bindir} -type f | grep -vE "archimport|svn|cvs|email|gitk|daemon|gui" | sed -e s@^%{buildroot}@@)                   > bin-man-doc-files
-(find %{buildroot}%{gitexecdir} -mindepth 1 | grep -vE "archimport|svn|cvs|email|gitk|daemon|gui" | sed -e s@^%{buildroot}@@)               >> bin-man-doc-files
+(find %{buildroot}%{_bindir} -type f | grep -vE "archimport|svn|cvs|email|gitk|daemon|gui" | sed -e s@^%{buildroot}@@)                         > bin-man-doc-files
+(find %{buildroot}%{gitexecdir} -mindepth 1 | grep -vE "archimport|svn|cvs|email|gitk|daemon|gui" | sed -e s@^%{buildroot}@@)          >> bin-man-doc-files
 (find %{buildroot}%{_mandir} %{buildroot}/Documentation -type f | grep -vE "archimport|svn|git-cvs|email|gitk|daemon|gui" | sed -e s@^%{buildroot}@@ -e 's/$/*/' ) >> bin-man-doc-files
 ( pushd perl
   perl Makefile.PL
@@ -194,9 +188,7 @@ make %{?_smp_mflags} test
 rm -rf %{buildroot}/usr/lib/perl5/site_perl
 %perl_process_packlist
 find %{buildroot}/%{_mandir} -type f -print0 | xargs -0 chmod 644
-find %{buildroot}/%python_sitelib/ -type f -name *.pyc -print0 | xargs -0 rm
 install -m 644 -D contrib/completion/git-completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/git.sh
-sed -i  "s#$RPM_BUILD_ROOT##g" %{buildroot}/%{gitexecdir}/git-remote-testgit
 %find_lang %{name}
 cat %{name}.lang >>bin-man-doc-files
 # use symlinks instead of hardlinks in sub-commands
@@ -206,7 +198,7 @@ rm -rf %{buildroot}/%{_datadir}/gitweb
 rm -rf %{buildroot}/Documentation/*.html
 rm -rf %{buildroot}/Documentation/*.txt
 
-%fdupes -s %{buildroot}
+%fdupes -s %{buildroot}/%{_prefix}
 
 
 %files
@@ -251,10 +243,6 @@ rm -rf %{buildroot}/Documentation/*.txt
 %{_datadir}/git-gui
 %{_mandir}/man1/*gui*.1*
 
-%files remote-helpers
-%manifest %{name}.manifest
-%python_sitelib/*
-
 %files core -f bin-man-doc-files
 %manifest %{name}.manifest
 %license COPYING
@@ -265,6 +253,4 @@ rm -rf %{buildroot}/Documentation/*.txt
 %{perl_vendorlib}/Git/
 %{perl_vendorlib}/Git/*.pm
 %{perl_vendorarch}/auto/Git/
-%attr(0644, root, root) %{_sysconfdir}/bash_completion.d/git.sh
-
-%changelog
+%attr(0644, root, root) %config %{_sysconfdir}/bash_completion.d/git.sh