Commit Graph

343 Commits

Author SHA1 Message Date
Petr Stodulka
00a8980c58 add test by linkchecker for broken links in doc files
Links in docfiles are now automatically checked for correct paths
by linkchecker. The test is available only for Fedora 25+ system,
because the utility is not available for RHEL.
2017-07-25 16:28:45 -04:00
Todd Zullinger
00daf46570 Quiet a few more rpmlint complaints
A few more hidden files have crept into the files installed under
contrib.  Remove any .gitattributes, .gitignore, or .perlcriticrc files
found.
2017-07-25 16:28:44 -04:00
Todd Zullinger
57c799c234 Remove git-archimport from git command list
We have not supported git-archimport in many years and have removed the
files from the documentation.  Removing it from the command list ensures
that git will not generate a link to the command in the documentation.
This avoids leaving a broken link in the html docs.
2017-07-25 16:28:44 -04:00
Todd Zullinger
c13069e1fa Leave git-subtree.html in %_pkgdocdir to avoid broken links
The link to git.html in git-subtree.html expects to find git.html in the
main docdir.  Shipping git-subtree.html in contrib/subtree breaks this
link.
2017-07-25 16:28:44 -04:00
Petr Stodulka
c0de2acb92 Keep documentation files under %{_pkgdocdir} (#1357438)
Move documentation files from all subpackages into the %{_pkgdocdir}
directory, so links inside doc and man files are correct
  Resolves: #1357438

- excluded *py[co] files from doc/* subdirectories, as these files
  are not expected to be executed (thanks tmz)
2017-07-25 16:28:44 -04:00
Gwyn Ciesla
568aad0c32 2.13.3 2017-07-13 07:49:01 -05:00
Todd Zullinger
8c3e8ca7b2 Skip grep tests which fail intermittently on s390x
The grep tests succeed and fail intermittently on s390x.  Until that
arch is more established and works (or fails) consistently, skip these
tests rather than let s390x hold back ever other arch.
2017-06-25 11:52:00 -04:00
Todd Zullinger
38b835a543 Update to 2.13.2 2017-06-25 00:31:18 -04:00
Jitka Plesnikova
086b7a290d Perl 5.26 re-rebuild of bootstrapped packages 2017-06-07 16:42:33 +02:00
Todd Zullinger
b9d21c3c0e Update to 2.13.1
Upstream maintenance release.

Release notes: https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.13.1.txt
2017-06-05 00:18:13 -04:00
Jitka Plesnikova
1ae87e345a Perl 5.26 rebuild 2017-06-05 00:46:18 +02:00
Todd Zullinger
e15c234c87 Use default, collision-detecting SHA1 implementation
Upstream changed the default SHA1 implementation in 2.13.0 to one which
detects collisions¹.  It may be slightly slower than BLK_SHA1 in some
cases, but the added safety it provides in the face of the SHAttered²
attack should be worth the cost.

We overrode the default SHA1 implementation in b796934 (Update to
git-1.6.5.rc2 - Enable Linus' block-sha1 implementation.)  The main
reason was to avoid linking against openssl's libcrypto for most
binaries, which saved a measurable amount of space.  Using the new
DC_SHA1 default provides the same benefit.

¹ https://github.com/git/git/commit/e6b07da278
² https://shattered.io/
2017-05-20 12:13:47 -04:00
Todd Zullinger
96b2923f07 Update to 2.13.0 (resolves CVE-2017-8386) 2017-05-09 21:48:34 -04:00
Gwyn Ciesla
c0e7801e58 2.12.2 2017-03-29 10:20:49 -05:00
Gwyn Ciesla
4a094073ee 2.12.1 2017-03-21 09:08:43 -05:00
Jon Ciesla
29bd122462 2.12.0 2017-02-27 09:40:44 -06:00
Petr Stodulka
ae64f14a33 fix bogus date 2017-02-17 18:23:32 +01:00
Petr Stodulka
babb8edc26 Drop credential-gnome-keyring, but keep support for older OSs
Since the libsecret replaces the libgnome-keyring,
the libgnome-keyring is not necessary to keep it in the git package.
In addition, gnome-keyring is deprecated and according to people
from GNOME, they do not expect that anyone would want to use the old
library when libsecret is installed. So drop credentials for
libgnome-keyring.

However, I keep that credential in spec for older systems where it
has been originally, but it is split into the separate rpm, so at
least it will not be required by the git package. It can be removed
later.
2017-02-17 18:21:21 +01:00
Petr Stodulka
da382eea6e Use %{_localstatedir} macro instead of %{_var}
Usually in Fedora this change will not change paths in current
packages, because both macros has same value now (/var). However,
the first one is "more recommended", because some build environments
redefine path in this macro for own purposes, in contrast with
%{_var} which is usually kept as it is.
2017-02-17 18:21:21 +01:00
Petr Stodulka
6517883454 Fix definition of the desktop_vendor_tag macro
The macro should be set to 0 even for RHEL-6 system. Previously
it was set to 1 for RHEL-6.
2017-02-17 18:21:21 +01:00
Petr Stodulka
8fbeb92b39 Fix requirements of packages
- missing libcurl requirement for git-core
- git-email & git-cvs should require 'perl(Git)' according
  to guidelines
- perl-generators are required during build only for Fedora 21+
2017-02-17 18:21:21 +01:00
Petr Stodulka
ad1da77a0b Remove non-ASCII characters from texts 2017-02-17 18:21:21 +01:00
Todd Zullinger
32280c1880 Fix a number of macro-in-comment warnings from rpmlint 2017-02-17 18:21:21 +01:00
Todd Zullinger
7ed4a36058 Clean up contrib/{credential,subtree} to avoid cruft in git-core-doc 2017-02-17 18:21:21 +01:00
Todd Zullinger
4d0be1a231 Fix typo in git-core summary (funcionality -> functionality)
Noticed by rpmlint.
2017-02-17 18:21:21 +01:00
Todd Zullinger
51d2701b11 Fix version of emacs-git and emacs-git-el provides
A provides using '<=' doesn't make much sense.  Indeed, rpmlint
complains about it:

$ rpmlint git
...
git.x86_64: W: self-obsoletion emacs-git <= 2.4.5 obsoletes emacs-git <= 2.4.5
git.x86_64: W: self-obsoletion emacs-git-el <= 2.4.5 obsoletes emacs-git-el <= 2.4.5
2017-02-17 18:21:21 +01:00
Todd Zullinger
3164faa3d6 Use %{_mandir} in git/git-core file list filters
The escaped forward slashes in '\/man\/' stood out as unnecessary.
Replace the string with the %{_mandir} macro for a stricter match.
2017-02-17 18:21:21 +01:00
Todd Zullinger
3041eeb9aa Run git test suite
Per https://fedoraproject.org/wiki/Packaging:Guidelines#Test_Suites run
the tests in %check.
2017-02-17 18:21:21 +01:00
Todd Zullinger
01e0c73c8a Enable libsecret credential helper
From the upstream commit message which added the helper¹:

    This is based on the existing gnome-keyring helper, but instead of
    libgnome-keyring (which was specific to GNOME and is deprecated), it
    uses libsecret which can support other implementations of XDG Secret
    Service API.

¹ 87d1353 (contrib: add credential helper for libsecret, 2016-10-09)
2017-02-17 18:21:21 +01:00
Todd Zullinger
8849588b49 Move gnome-keyring credential helper from git-core to git
We can avoid pulling in libgnome-keyring for git-core installs.
Presumably, those who want a minimal git install won't miss a
credentials helper which is only useful with a graphical desktop.

It is also worth noting that libgnome-keyring is deprecated in favor of
libsecret.  A credential helper based on libsecret is included in git
2.11.0 but is not shipped in our packages (yet).
2017-02-17 18:21:21 +01:00
Todd Zullinger
513cd389a5 Remove rsync requirement from git-core
Nothing in git-core requires rsync.  Upstream, only git-archimport.perl
still requires rsync, which we have not provided since 3f0dc97 (Drop
git-arch on fedora >= 16, 2011-07-26).
2017-02-17 18:21:14 +01:00
Fedora Release Engineering
8efd801b05 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 10:59:24 +00:00
Jon Ciesla
c6b850b847 2.11.1 2017-02-03 07:49:15 -06:00
Jon Ciesla
1c71dc1833 2.11.0 2016-11-30 12:12:54 -06:00
Jon Ciesla
781d911ea8 2.10.2 2016-10-31 08:59:33 -05:00
Jon Ciesla
2f2b6cc62f 2.10.1 2016-10-04 10:02:17 -05:00
Todd Zullinger
ddd981b2f3 Update to 2.10.0
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.10.0.txt
2016-09-03 13:35:10 -04:00
Jon Ciesla
24278ab333 2.9.3 2016-08-15 08:51:43 -05:00
Jon Ciesla
31aba69924 2.9.2 2016-07-15 23:23:57 -05:00
Jon Ciesla
0042522977 2.9.1 2016-07-12 08:48:48 -05:00
Petr Písař
e99ee5b2e5 Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:50:19 +02:00
Jon Ciesla
3119e08ee4 2.9.0 2016-06-14 10:05:22 -05:00
Jon Ciesla
f9560e8034 2.8.4 2016-06-08 12:38:36 -05:00
Jitka Plesnikova
6f5b14254a Perl 5.24 rebuild 2016-05-20 11:52:18 +02:00
Todd Zullinger
184b9f323d Update to 2.8.3
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.8.3.txt
2016-05-19 15:50:40 -04:00
Jitka Plesnikova
20f7e3b90f Perl 5.24 re-rebuild of bootstrapped packages 2016-05-19 12:21:55 +02:00
Todd Zullinger
72c240de2a Define __global_ldflags on EL < 7 (#1337137)
Building on EL was unintentionally broken by 58fa169 (Set LDFLAGS for
hardened builds (#1289728), 2016-04-11).

Thanks to Dimitry Andric for reporting this issue.
2016-05-18 14:49:56 -04:00
Todd Zullinger
2ca467acc0 Use perl(MOD::NAME) format for perl-DBD-SQLite and perl-Digest-MD5 deps
This form handles changing package names better.  If a module is moved
into or out of core perl, for example, the requirement can still be
found if it uses perl(MOD::NAME).

This was brought up in 1337137.
2016-05-18 14:49:56 -04:00
Jitka Plesnikova
942eb47ddb Perl 5.24 re-rebuild of bootstrapped packages 2016-05-18 18:27:47 +02:00
Jitka Plesnikova
c320052f0b Perl 5.24 rebuild 2016-05-15 08:52:31 +02:00