Changeset 1556


Ignore:
Timestamp:
Jan 15, 2019, 8:49:10 AM (7 years ago)
Author:
Silvan Scherrer
Message:

spec: git: Release version 2.11.0-4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/git.spec

    r1477 r1556  
    1515%global use_systemd         0
    1616
     17# only used for thew os/2 build, as we lack some components
     18%global remove_nonworking   1
     19
    1720Name:           git
    1821Version:        2.11.0
    19 Release:        3%{?dist}
     22Release:        4%{?dist}
    2023Summary:        Fast Version Control System
    2124License:        GPLv2
     
    3639#BuildRequires:  emacs
    3740BuildRequires:  expat-devel
     41BuildRequires:  findutils
    3842BuildRequires:  gettext-devel
    3943BuildRequires:  %{libcurl_devel}
     
    5054Requires:       git-core = %{version}-%{release}
    5155Requires:       git-core-doc = %{version}-%{release}
    52 #Requires:       perl(Error)
     56Requires:       perl(Error)
    5357%if ! %{defined perl_bootstrap}
    5458# TODO Doesn't exist on OS/2 yet.
     
    7680%endif
    7781Requires:       git = %{version}-%{release}
     82%if ! %{remove_nonworking}
    7883Requires:       git-cvs = %{version}-%{release}
    7984Requires:       git-email = %{version}-%{release}
    8085Requires:       git-gui = %{version}-%{release}
    8186Requires:       git-svn = %{version}-%{release}
     87%endif
    8288Requires:       git-p4 = %{version}-%{release}
     89%if ! %{remove_nonworking}
    8390Requires:       gitk = %{version}-%{release}
     91%endif
    8492Requires:       perl-Git = %{version}-%{release}
    8593%if ! %{defined perl_bootstrap}
     
    137145The git dÊmon for supporting git:// access to git repositories
    138146
    139 %if 0
     147%if ! %{remove_nonworking}
    140148%package -n gitweb
    141149Summary:        Simple web interface to git repositories
     
    161169%{summary}.
    162170
     171%if ! %{remove_nonworking}
    163172%package svn
    164173Summary:        Git tools for importing Subversion repositories
     
    196205%description email
    197206Git tools for sending email.
    198 
    199 %if 0
     207%endif
     208
     209%if ! %{remove_nonworking}
    200210
    201211%package gui
     
    249259Perl interface to Git.
    250260
    251 %if 0
     261%if ! %{remove_nonworking}
    252262
    253263%package -n emacs-git
     
    325335%endif
    326336
    327 %if 0
     337%if ! %{remove_nonworking}
    328338make -C contrib/emacs
    329339%endif
     
    346356%endif
    347357
    348 %if 0
     358%if ! %{remove_nonworking}
    349359
    350360%global elispdir %{_emacs_sitelispdir}/git
     
    368378rm -f %{buildroot}%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}/git-subtree.html
    369379
    370 %if 0
     380%if ! %{remove_nonworking}
    371381mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d
    372382install -pm 0644 %{SOURCE12} %{buildroot}%{_sysconfdir}/httpd/conf.d/git.conf
     
    377387%endif
    378388
     389#remove svn, cvs and some more non working stuff
     390%if %{remove_nonworking}
     391rm -rf %{buildroot}%{_bindir}/git-cvsserver
     392rm -rf %{buildroot}%{gitcoredir}/git-cvsexportcommit
     393rm -rf %{buildroot}%{gitcoredir}/git-cvsimport
     394rm -rf %{buildroot}%{gitcoredir}/git-cvsserver
     395rm -rf %{buildroot}%{gitcoredir}/git-remote-testsvn.exe
     396rm -rf %{buildroot}%{gitcoredir}/git-send-email
     397rm -rf %{buildroot}%{gitcoredir}/git-svn
     398%endif
     399
    379400find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
    380401find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
     
    385406
    386407exclude_re="archimport|email|git-citool|git-cvs|git-daemon|git-gui|git-remote-bzr|git-remote-hg|gitk|p4|svn"
    387 (find %{buildroot}%{_bindir} %{buildroot}%{_libexecdir} -type f | grep -vE "$exclude_re" | sed -e s@^%{buildroot}@@) > bin-man-doc-files
     408(find %{buildroot}%{_bindir} %{buildroot}%{_libexecdir} -type f -o -type l | grep -vE "$exclude_re" | sed -e s@^%{buildroot}@@) > bin-man-doc-files
    388409(find %{buildroot}%{_bindir} %{buildroot}%{_libexecdir} -mindepth 1 -type d | grep -vE "$exclude_re" | sed -e 's@^%{buildroot}@%dir @') >> bin-man-doc-files
    389410(find %{buildroot}%{perl_vendorlib} -type f | sed -e s@^%{buildroot}@@) > perl-git-files
     
    527548%{!?_without_docs: %doc Documentation/*p4*.html }
    528549
     550%if ! %{remove_nonworking}
    529551%files svn
    530552%defattr(-,root,root)
     
    550572%{!?_without_docs: %{_mandir}/man1/*email*.1*}
    551573%{!?_without_docs: %doc Documentation/*email*.html }
    552 
    553 %if 0
    554574
    555575%files gui
     
    583603%{!?_without_docs: %{_mandir}/man3/*Git*SVN*.3pm*}
    584604
    585 %if 0
     605%if ! %{remove_nonworking}
    586606
    587607%files -n emacs-git
     
    610630%endif
    611631%{gitcoredir}/git-daemon*
     632%exclude %{gitcoredir}/*.dbg
    612633%{_var}/lib/git
    613634%{!?_without_docs: %{_mandir}/man1/*daemon*.1*}
    614635%{!?_without_docs: %doc Documentation/*daemon*.html}
    615636
    616 %if 0
     637%if ! %{remove_nonworking}
    617638%files -n gitweb
    618639%defattr(-,root,root)
     
    627648
    628649%changelog
     650* Mon Jan 14 2019 Silvan Scherrer <silvan.scherrer@aroa.ch> 2.11.0-4
     651- build with latest tools to overcome a dbg file creation issue (ticket #193)
     652- fix git-all rpm (rpm ticket #327)
     653
    629654* Mon Jun 4 2018 Dmitriy Kuminov <coding@dmik.org> 2.11.0-3
    630655- Make updated file locking fully work on OS/2 (no more chmod errors).
Note: See TracChangeset for help on using the changeset viewer.