Commit Graph

322 Commits

Author SHA1 Message Date
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
Todd Zullinger
116ecc2e5d Update to 2.8.2 2016-04-29 19:03:35 -04:00
Todd Zullinger
a35a98f0cf Fix most recent %changelog entry formatting
I updated my vim spec file plugin which improves %changelog generation
and didn't notice that my 'spec_chglog_format' config (which included a
trailing '-') caused a duplicate '-'.
2016-04-11 21:39:55 -04:00
Todd Zullinger
58fa1693f7 Set LDFLAGS for hardened builds (#1289728)
Without LDFLAGS the git exectuables were not being linked with the
desired settings for hardened builds.
2016-04-11 13:28:46 -04:00
Paolo Bonzini
40aebfdc03 Install git-credentials-netrc (#1303358) 2016-04-06 11:59:30 -04:00
Jon Ciesla
75fe565d2a 2.8.1 2016-04-05 08:44:06 -04:00
1b7f6045f2 Update to 2.8.0
- Use license macro for COPYING
2016-03-29 20:27:54 -04:00
Todd Zullinger
f5bc9a8383 Check upstream GPG signatures in %prep
Many years ago, the GPG signature file was included in the source list¹.
A compromise at kernel.org caused the tarballs to move to googlecode.com
for a number of releases and the signatures were not provided in an
easily downloaded format².  When the source location was moved back to
kernel.org, the signature file had already been removed from the spec
file and was not re-added³.

There is an effort underway to make GPG signature verification a
requirement when upstream provides signatures⁴.  Regardless of whether
this becomes a requirement in the packaging guidelines, verification of
upstream signatures makes good sense.  It also makes the process easier
for git package maintainers, who are (or should be ;) doing this
manually for each upstream git release.

While adding the signatures to the source list, all non-upstream source
files were moved to Source10 and above.  This should make it easier to
add new upstream source files in the future, avoiding the need for
tedious (and error-prone) renumbering of existing sources.

Remove the unused entry for Patch14 also.

¹ ea3f253 Include gpg signature for tarball in SRPM (2011-08-26)
² c57f383 Update to 1.7.9.1 (2012-02-15)
³ b741f45 Change source URLs, as googlecode doesn't have up-to-date
           tarballs (2014-06-10)
⁴ https://fedorahosted.org/fpc/ticket/610
  https://fedoraproject.org/wiki/PackagingDrafts:GPGSignatures
  https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/2TBK4LLNRH73QJQSXWFPCQYHGTSJ3C7P/
2016-03-27 21:31:56 -04:00
Todd Zullinger
a823c54d04 Use https for URL / Source as well as smaller tar.xz files
Using https URL's for source files provides a little more security for
those downloading the code.  Packagers, of course, should be verifying
the GPG signature files before pushing new releases to Fedora's source
cache¹.

While we're changing the source URL's, we might as well use the smaller
tar.xz files which upstream provides.  (This requires minor adjustments
to the unpacking of prebuilt html and man tarballs; tar on el5 does not
know how to automatically filter via xz.)

¹ Replace .xz with .sign for the signatures, which are made against the
uncompressed tarballs.
2016-03-27 17:05:37 -04:00
Konrad Scherer
63f895c570 Improve el5 and el6 support (bug 1320210)
Workaround missing git subtree documentation in prebuilt docs, dropping
a redundant listing of Documentation/docbook-xsl.css,

Only add git-cvsserver binary once if the core dir matches the
bin dir as it does on el5.

Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>
2016-03-27 16:09:09 -04:00
Todd Zullinger
185b89b8d4 Conditionalize bash-completion pkg-config usage for EL <= 6
Using pkg-config for the bash-completion path isn't an option on older
EL systems.  To allow rebuilding of current git on those systems, the
bash-completion pkg-config bits are conditionalized similar to other
areas where Fedora and older EL differ.
2016-03-27 15:28:48 -04:00
David Woodhouse
caed48f0ed Update to 2.7.4 (CVE-2016-2315 CVE-2016-2324) 2016-03-18 01:24:52 +00:00
Jon Ciesla
0c34dab4c9 2.7.3 2016-03-14 09:46:46 -04:00
Jon Ciesla
e94a7fd739 2.7.2 2016-02-23 08:01:47 -06:00
Jon Ciesla
5325c4e4e9 2.7.1 2016-02-06 21:07:52 -06:00
Petr Stodulka
f427188b0c remove all '.gitignore' files from packages 2016-02-04 16:23:20 +01:00
Dennis Gilmore
4291a717b1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 21:55:30 +00:00
Jon Ciesla
8c329d52ad 2.7.0 2016-01-05 07:43:09 -06:00
Jon Ciesla
8e1923e29c 2.6.4. 2015-12-09 07:26:41 -06:00
Petr Stodulka
0301fd8dd6 found 2 perl scripts in git-core, move them to git package
Resolves: #1284688
2015-11-27 23:00:59 +01:00
Jon Ciesla
7d4a2e0e59 2.6.3 2015-11-06 07:03:04 -06:00
Petr Stodulka
33a437b21a provides failback for the macro _pkgdocdir (#1277550) 2015-11-03 17:18:44 +01:00