[PATCH] spec: Adjust README name
- From
Todd Zullinger <tmz@pobox.com>
- Date
- Apr 2, 2016, 16:14 UTC
- Message-ID
- <20160402161428.GC13271@zaya.teonanacatl.net>
- In-Reply-To
- <CAHHSH-JrPiXnkdpU0cP6KE46hUr3-ZiSjW5FDMpV2HGmSou8kA@mail.gmail.com>
The README file moved to README.md in ad21f5 (README: use markdown syntax, 2016-02-25).
Reported-by: マッチョコ太郎 <mebius1080p@gmail.com> Signed-off-by: Todd Zullinger <tmz@pobox.com>
---
Hi,
マッチョコ太郎 wrote:
Show 13 quoted lines
> hi > I downloaded tarball (tar.gz) from git web site and tried to make rpm file. > But, when I run command "$rpmbuild -tb --clean git-2.8.0.tar.gz", > error message is displayed and rpm file creation stopped. > The error message is looks like this: > cp -pr README ~/rpmbuild/BUILDROOT/git-2.8.0-1.el7.centos.x86_64/usr/share/doc/git-2.8.0 > cp: cannot stat 'README': No such file or directory > > It looks like README file does not exist on expected directory. > > Im using Centos 7.2. > I hope this bug will fix soon. > thank you
I haven't tested this, but I think it should resolve the README issue in the spec file. Confirmation from folks who regularly build from this git spec file would be most welcome.
You could also rebuild the Fedora git packages for CentOS¹. We try to maintain compatibility as long as possible. The Fedora git package currently builds as far back as CentOS 5. I am pretty sure that it requires the EPEL repo to be enabled, but that might also be true of the git.spec included in here.
¹ https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/source/tree/Packages/g/git-2.8.0-1.fc25.src.rpm
git.spec.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/git.spec.in b/git.spec.in index d61d537..260022e 100644 --- a/git.spec.in +++ b/git.spec.in @@ -146,7 +146,7 @@ rm -rf $RPM_BUILD_ROOT %files -f bin-man-doc-files %defattr(-,root,root) %{_datadir}/git-core/ -%doc README COPYING Documentation/*.txt +%doc README.md COPYING Documentation/*.txt %{!?_without_docs: %doc Documentation/*.html Documentation/howto} %{!?_without_docs: %doc Documentation/technical} %{_sysconfdir}/bash_completion.d @@ -214,6 +214,9 @@ rm -rf $RPM_BUILD_ROOT # No files for you! %changelog +* Sat Apr 02 2016 Todd Zullinger <tmz@pobox.com> +- Adjust README name + * Sun Sep 18 2011 Jakub Narebski <jnareb@gmail.com> - Add gitweb manpages to 'gitweb' subpackage
-- 2.4.11 -- Todd ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ambition is a poor excuse for not having enough sense to be lazy.