[PATCH] spec: Adjust README name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The README file moved to README.md in ad21f5 (README: use markdown
syntax, 2016-02-25).

Reported-by: マッチョコ太郎 <mebius1080p@xxxxxxxxx>
Signed-off-by: Todd Zullinger <tmz@xxxxxxxxx>

---

Hi,

マッチョコ太郎 wrote:
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@xxxxxxxxx>
+- Adjust README name
+
* Sun Sep 18 2011 Jakub Narebski <jnareb@xxxxxxxxx>
- Add gitweb manpages to 'gitweb' subpackage

--
2.4.11

--
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ambition is a poor excuse for not having enough sense to be lazy.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]