Changeset 1556
- Timestamp:
- Jan 15, 2019, 8:49:10 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/git.spec
r1477 r1556 15 15 %global use_systemd 0 16 16 17 # only used for thew os/2 build, as we lack some components 18 %global remove_nonworking 1 19 17 20 Name: git 18 21 Version: 2.11.0 19 Release: 3%{?dist}22 Release: 4%{?dist} 20 23 Summary: Fast Version Control System 21 24 License: GPLv2 … … 36 39 #BuildRequires: emacs 37 40 BuildRequires: expat-devel 41 BuildRequires: findutils 38 42 BuildRequires: gettext-devel 39 43 BuildRequires: %{libcurl_devel} … … 50 54 Requires: git-core = %{version}-%{release} 51 55 Requires: git-core-doc = %{version}-%{release} 52 #Requires: perl(Error)56 Requires: perl(Error) 53 57 %if ! %{defined perl_bootstrap} 54 58 # TODO Doesn't exist on OS/2 yet. … … 76 80 %endif 77 81 Requires: git = %{version}-%{release} 82 %if ! %{remove_nonworking} 78 83 Requires: git-cvs = %{version}-%{release} 79 84 Requires: git-email = %{version}-%{release} 80 85 Requires: git-gui = %{version}-%{release} 81 86 Requires: git-svn = %{version}-%{release} 87 %endif 82 88 Requires: git-p4 = %{version}-%{release} 89 %if ! %{remove_nonworking} 83 90 Requires: gitk = %{version}-%{release} 91 %endif 84 92 Requires: perl-Git = %{version}-%{release} 85 93 %if ! %{defined perl_bootstrap} … … 137 145 The git dÊmon for supporting git:// access to git repositories 138 146 139 %if 0147 %if ! %{remove_nonworking} 140 148 %package -n gitweb 141 149 Summary: Simple web interface to git repositories … … 161 169 %{summary}. 162 170 171 %if ! %{remove_nonworking} 163 172 %package svn 164 173 Summary: Git tools for importing Subversion repositories … … 196 205 %description email 197 206 Git tools for sending email. 198 199 %if 0 207 %endif 208 209 %if ! %{remove_nonworking} 200 210 201 211 %package gui … … 249 259 Perl interface to Git. 250 260 251 %if 0261 %if ! %{remove_nonworking} 252 262 253 263 %package -n emacs-git … … 325 335 %endif 326 336 327 %if 0337 %if ! %{remove_nonworking} 328 338 make -C contrib/emacs 329 339 %endif … … 346 356 %endif 347 357 348 %if 0358 %if ! %{remove_nonworking} 349 359 350 360 %global elispdir %{_emacs_sitelispdir}/git … … 368 378 rm -f %{buildroot}%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}/git-subtree.html 369 379 370 %if 0380 %if ! %{remove_nonworking} 371 381 mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d 372 382 install -pm 0644 %{SOURCE12} %{buildroot}%{_sysconfdir}/httpd/conf.d/git.conf … … 377 387 %endif 378 388 389 #remove svn, cvs and some more non working stuff 390 %if %{remove_nonworking} 391 rm -rf %{buildroot}%{_bindir}/git-cvsserver 392 rm -rf %{buildroot}%{gitcoredir}/git-cvsexportcommit 393 rm -rf %{buildroot}%{gitcoredir}/git-cvsimport 394 rm -rf %{buildroot}%{gitcoredir}/git-cvsserver 395 rm -rf %{buildroot}%{gitcoredir}/git-remote-testsvn.exe 396 rm -rf %{buildroot}%{gitcoredir}/git-send-email 397 rm -rf %{buildroot}%{gitcoredir}/git-svn 398 %endif 399 379 400 find %{buildroot} -type f -name .packlist -exec rm -f {} ';' 380 401 find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' … … 385 406 386 407 exclude_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-files408 (find %{buildroot}%{_bindir} %{buildroot}%{_libexecdir} -type f -o -type l | grep -vE "$exclude_re" | sed -e s@^%{buildroot}@@) > bin-man-doc-files 388 409 (find %{buildroot}%{_bindir} %{buildroot}%{_libexecdir} -mindepth 1 -type d | grep -vE "$exclude_re" | sed -e 's@^%{buildroot}@%dir @') >> bin-man-doc-files 389 410 (find %{buildroot}%{perl_vendorlib} -type f | sed -e s@^%{buildroot}@@) > perl-git-files … … 527 548 %{!?_without_docs: %doc Documentation/*p4*.html } 528 549 550 %if ! %{remove_nonworking} 529 551 %files svn 530 552 %defattr(-,root,root) … … 550 572 %{!?_without_docs: %{_mandir}/man1/*email*.1*} 551 573 %{!?_without_docs: %doc Documentation/*email*.html } 552 553 %if 0554 574 555 575 %files gui … … 583 603 %{!?_without_docs: %{_mandir}/man3/*Git*SVN*.3pm*} 584 604 585 %if 0605 %if ! %{remove_nonworking} 586 606 587 607 %files -n emacs-git … … 610 630 %endif 611 631 %{gitcoredir}/git-daemon* 632 %exclude %{gitcoredir}/*.dbg 612 633 %{_var}/lib/git 613 634 %{!?_without_docs: %{_mandir}/man1/*daemon*.1*} 614 635 %{!?_without_docs: %doc Documentation/*daemon*.html} 615 636 616 %if 0637 %if ! %{remove_nonworking} 617 638 %files -n gitweb 618 639 %defattr(-,root,root) … … 627 648 628 649 %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 629 654 * Mon Jun 4 2018 Dmitriy Kuminov <coding@dmik.org> 2.11.0-3 630 655 - Make updated file locking fully work on OS/2 (no more chmod errors).
Note:
See TracChangeset
for help on using the changeset viewer.