[golang-github-kr-pty/f19: 4/4] pkg archives no longer installed

Lokesh Mandvekar lsm5 at fedoraproject.org
Sun Sep 22 07:09:48 UTC 2013


commit afd3e6b69f864d2aaa71623222838cde5c74aea0
Author: Lokesh Mandvekar <lsm5 at redhat.com>
Date:   Sun Sep 22 02:09:24 2013 -0500

    pkg archives no longer installed
    
    Signed-off-by: Lokesh Mandvekar <lsm5 at redhat.com>

 golang-github-kr-pty.spec |   83 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/golang-github-kr-pty.spec b/golang-github-kr-pty.spec
new file mode 100644
index 0000000..b358b76
--- /dev/null
+++ b/golang-github-kr-pty.spec
@@ -0,0 +1,83 @@
+%global import_path     github.com/kr/pty
+%global gopath          %{_datadir}/gocode
+%global commit          27435c699baee43a12e025d8cfde2ee3cbe0ceb6
+%global shortcommit     %(c=%{commit}; echo ${c:0:7})
+
+Name:           golang-github-kr-pty
+Version:        0
+Release:        0.10.git%{shortcommit}%{?dist}
+Summary:        PTY interface for Go
+License:        MIT
+URL:            http://godoc.org/%{import_path}
+Source0:        https://%{import_path}/archive/%{commit}/pty-%{shortcommit}.tar.gz
+BuildArch:      noarch
+
+%description
+Pty is a Go package for using UNIX pseudo-terminals.
+
+%package devel
+Requires:       golang
+Summary:        PTY interface for Go
+Provides:       golang("%{import_path}") = %{version}-%{release}
+
+%description devel
+Pty is a Go package for using UNIX pseudo-terminals.
+
+This package contains library source intended for building other packages
+which use kr/pty.
+
+%prep
+%setup -n pty-%{commit}
+
+%build
+
+%install
+install -d %{buildroot}/%{gopath}/src/%{import_path}
+cp -av *.go %{buildroot}/%{gopath}/src/%{import_path}
+
+%files devel
+%defattr(-,root,root,-)
+%doc License README.md
+%dir %attr(755,root,root) %{gopath}
+%dir %attr(755,root,root) %{gopath}/src
+%dir %attr(755,root,root) %{gopath}/src/github.com
+%dir %attr(755,root,root) %{gopath}/src/github.com/kr
+%dir %attr(755,root,root) %{gopath}/src/github.com/kr/pty
+%{gopath}/src/%{import_path}/*.go
+
+
+%changelog
+* Sun Sep 22 2013 Matthew Miller <mattdm at fedoraproject.org> 0-0.10.git27435c6
+- install just the source code for devel package
+
+* Tue Sep 17 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.9.git27435c6
+- version format changed
+- docdir unversioned
+
+* Mon Sep 16 2013 Lokesh Mandvekar <lsm5 at redhat.com> git27435c6-8
+- No debuginfo generated, was empty to begin with
+- package owns all directories in import_path
+
+* Mon Sep 16 2013 Lokesh Mandvekar <lsm5 at redhat.com> git27435c6-7
+- only devel package generated
+- Provides moved to devel package
+- docdir modified
+
+* Wed Sep 11 2013 Lokesh Mandvekar <lsm5 at redhat.com> git27435c6-6
+- rm from install section removed
+
+* Tue Sep 10 2013 Lokesh Mandvekar <lsm5 at redhat.com> git27435c6-5
+- cleanup in prep and build as per guidelines
+
+* Tue Sep 10 2013 Lokesh Mandvekar <lsm5 at redhat.com> git27435c6-4
+- Build under all circumstances
+- Go pkg archives handled (thanks to Vincent Batts (vbatts at redhat.com)
+
+* Thu Aug 29 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0.0.1-3
+- Devel package generated
+
+* Wed Aug 28 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0.0.1-2
+- Fixed permissions
+
+* Mon Aug 26 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0.0.1-1
+- Initial fedora package


More information about the scm-commits mailing list