commit go-mustache.go for openSUSE:Factory
Hello community, here is the log from the commit of package go-mustache.go for openSUSE:Factory checked in at 2015-03-23 12:18:41 Comparing /work/SRC/openSUSE:Factory/go-mustache.go (Old) and /work/SRC/openSUSE:Factory/.go-mustache.go.new (New) Package is go-mustache.go Changes: --- /work/SRC/openSUSE:Factory/go-mustache.go/go-mustache.go.changes 2013-08-13 15:47:11.0 +0200 +++ /work/SRC/openSUSE:Factory/.go-mustache.go.new/go-mustache.go.changes 2015-03-23 12:18:42.0 +0100 @@ -1,0 +2,8 @@ +Sat Mar 21 08:31:39 UTC 2015 - i...@marguerite.su + +- update version 0.0.0+git20141121.af524a1 +- import path changed to github.com/hoisie/mustache +- remove go_disable_brp_strip_static_archive usage +- drop patch: opensuse-build-fix.patch, upstream fixed + +--- Old: mustache.go-0.0.0+git20120208.tar.bz2 opensuse-build-fix.patch New: _service mustache-0.0.0+git20141121.af524a1.tar.xz Other differences: -- ++ go-mustache.go.spec ++ --- /var/tmp/diff_new_pack.fyQseP/_old 2015-03-23 12:18:43.0 +0100 +++ /var/tmp/diff_new_pack.fyQseP/_new 2015-03-23 12:18:43.0 +0100 @@ -1,8 +1,8 @@ # # spec file for package go-mustache.go # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. -# Copyright (c), 2010, Sascha Peilicke sasc...@gmx.de +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2010 Sascha Peilicke sasc...@gmx.de # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,24 +17,20 @@ # - Name: go-mustache.go -Version:0.0.0+git20120208 -Release:1 +Version:0.0.0+git20141121.af524a1 +Release:0 Summary:The mustache template language in Go -Group: Development/Languages/Other License:MIT -Url:http://github.com/hoisie/mustache.go -Source0:mustache.go-%{version}.tar.bz2 -Patch0: opensuse-build-fix.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Group: Development/Languages/Other +Url:http://github.com/hoisie/mustache +Source: mustache-%{version}.tar.xz BuildRequires: go-devel -ExclusiveArch: %ix86 x86_64 %arm -%if 0%{?suse_version} = 1100 -Recommends: go-mustache.go-doc -%endif +BuildRequires: xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build %{go_provides} %{go_requires} +%{go_recommends} %description mustache.go is an implementation of the mustache template language in Go. It @@ -42,25 +38,16 @@ mustache.go is fast, it parses templates efficiently and stores them in a tree-like structure which allows for fast execution. -%package doc -Summary:API documenation -Group: Documentation/Other -Requires: %{name} = %{version} - -%description doc -API, examples and documentation. +%godoc_package %prep -%setup -q -n mustache.go -%patch0 -p1 +%setup -q -n mustache-%{version} %build -%goprep github.com/hoisie/mustache.go -%gobuild / +%goprep github.com/hoisie/mustache +%gobuild %install -%{go_disable_brp_strip_static_archive} - %goinstall %godoc ++ _service ++ services service name=tar_scm mode=localonly param name=urlhttps://github.com/hoisie/mustache.git/param param name=scmgit/param param name=exclude.git/param param name=versionformat0.0.0+git%cd.%h/param param name=revisionmaster/param /service service name=recompress mode=localonly param name=filemustache-*.tar/param param name=compressionxz/param /service service name=set_version mode=localonly param name=basenamemustache/param /service /services -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit go-mustache.go for openSUSE:Factory
Hello community, here is the log from the commit of package go-mustache.go for openSUSE:Factory checked in at 2013-08-13 15:47:10 Comparing /work/SRC/openSUSE:Factory/go-mustache.go (Old) and /work/SRC/openSUSE:Factory/.go-mustache.go.new (New) Package is go-mustache.go Changes: --- /work/SRC/openSUSE:Factory/go-mustache.go/go-mustache.go.changes 2012-06-12 07:23:45.0 +0200 +++ /work/SRC/openSUSE:Factory/.go-mustache.go.new/go-mustache.go.changes 2013-08-13 15:47:11.0 +0200 @@ -1,0 +2,5 @@ +Tue Aug 6 00:47:17 CEST 2013 - r...@suse.de + +- use ExclusiveArch to limit build to the same architectures as go + +--- Other differences: -- ++ go-mustache.go.spec ++ --- /var/tmp/diff_new_pack.Xd53Ig/_old 2013-08-13 15:47:12.0 +0200 +++ /var/tmp/diff_new_pack.Xd53Ig/_new 2013-08-13 15:47:12.0 +0200 @@ -29,10 +29,12 @@ Patch0: opensuse-build-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: go-devel +ExclusiveArch: %ix86 x86_64 %arm +%if 0%{?suse_version} = 1100 Recommends: go-mustache.go-doc +%endif %{go_provides} %{go_requires} -%{go_disable_brp_strip_static_archive} %description mustache.go is an implementation of the mustache template language in Go. It @@ -57,6 +59,8 @@ %gobuild / %install +%{go_disable_brp_strip_static_archive} + %goinstall %godoc -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit go-mustache.go for openSUSE:Factory
Hello community, here is the log from the commit of package go-mustache.go for openSUSE:Factory checked in at 2012-06-12 07:23:42 Comparing /work/SRC/openSUSE:Factory/go-mustache.go (Old) and /work/SRC/openSUSE:Factory/.go-mustache.go.new (New) Package is go-mustache.go, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/go-mustache.go/go-mustache.go.changes 2012-03-08 19:43:34.0 +0100 +++ /work/SRC/openSUSE:Factory/.go-mustache.go.new/go-mustache.go.changes 2012-06-12 07:23:45.0 +0200 @@ -1,0 +2,6 @@ +Mon Jun 11 17:29:14 UTC 2012 - gra...@andtech.eu + +- Update spec with new patch locations for package +- Add documentation sub package + +--- Other differences: -- ++ go-mustache.go.spec ++ --- /var/tmp/diff_new_pack.aPrqeg/_old 2012-06-12 07:23:47.0 +0200 +++ /var/tmp/diff_new_pack.aPrqeg/_new 2012-06-12 07:23:47.0 +0200 @@ -29,6 +29,7 @@ Patch0: opensuse-build-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: go-devel +Recommends: go-mustache.go-doc %{go_provides} %{go_requires} %{go_disable_brp_strip_static_archive} @@ -39,6 +40,14 @@ mustache.go is fast, it parses templates efficiently and stores them in a tree-like structure which allows for fast execution. +%package doc +Summary:API documenation +Group: Documentation/Other +Requires: %{name} = %{version} + +%description doc +API, examples and documentation. + %prep %setup -q -n mustache.go %patch0 -p1 @@ -49,10 +58,15 @@ %install %goinstall +%godoc %files %defattr(-,root,root,-) %doc LICENSE Readme.md -%{go_sitearch}/* +%{go_contribdir}/* + +%files doc +%defattr(-,root,root,-) +%{go_contribsrcdir}/* %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit go-mustache.go for openSUSE:Factory
Hello community, here is the log from the commit of package go-mustache.go for openSUSE:Factory checked in at 2012-03-08 19:43:31 Comparing /work/SRC/openSUSE:Factory/go-mustache.go (Old) and /work/SRC/openSUSE:Factory/.go-mustache.go.new (New) Package is go-mustache.go, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/go-mustache.go/go-mustache.go.changes 2012-02-14 11:24:45.0 +0100 +++ /work/SRC/openSUSE:Factory/.go-mustache.go.new/go-mustache.go.changes 2012-03-08 19:43:34.0 +0100 @@ -1,0 +2,5 @@ +Wed Mar 7 21:28:54 UTC 2012 - gra...@andtech.eu + +- update spec for new Go rpm macros + +--- Other differences: -- ++ go-mustache.go.spec ++ --- /var/tmp/diff_new_pack.QzJ6bI/_old 2012-03-08 19:43:35.0 +0100 +++ /var/tmp/diff_new_pack.QzJ6bI/_new 2012-03-08 19:43:35.0 +0100 @@ -44,9 +44,11 @@ %patch0 -p1 %build +%goprep github.com/hoisie/mustache.go +%gobuild / %install -%goinstall github.com/hoisie/mustache.go/ +%goinstall %files %defattr(-,root,root,-) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit go-mustache.go for openSUSE:Factory
Hello community, here is the log from the commit of package go-mustache.go for openSUSE:Factory checked in at 2012-02-14 11:24:43 Comparing /work/SRC/openSUSE:Factory/go-mustache.go (Old) and /work/SRC/openSUSE:Factory/.go-mustache.go.new (New) Package is go-mustache.go, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/go-mustache.go/go-mustache.go.changes 2011-09-23 02:01:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.go-mustache.go.new/go-mustache.go.changes 2012-02-14 11:24:45.0 +0100 @@ -1,0 +2,5 @@ +Thu Feb 9 12:45:53 UTC 2012 - gra...@andtech.eu + +- gofixes for latest weekly (2012-02-07) + +--- Old: mustache.go-0.0.0+git20110813.tar.bz2 New: mustache.go-0.0.0+git20120208.tar.bz2 opensuse-build-fix.patch Other differences: -- ++ go-mustache.go.spec ++ --- /var/tmp/diff_new_pack.uWqb4a/_old 2012-02-14 11:24:46.0 +0100 +++ /var/tmp/diff_new_pack.uWqb4a/_new 2012-02-14 11:24:46.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package go-mustache.go # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c), 2010, Sascha Peilicke sasc...@gmx.de # # All modifications and additions to the file contributed by third parties @@ -19,13 +19,14 @@ Name: go-mustache.go -Version:0.0.0+git20110813 +Version:0.0.0+git20120208 Release:1 Summary:The mustache template language in Go Group: Development/Languages/Other License:MIT Url:http://github.com/hoisie/mustache.go Source0:mustache.go-%{version}.tar.bz2 +Patch0: opensuse-build-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: go-devel %{go_provides} @@ -40,11 +41,12 @@ %prep %setup -q -n mustache.go +%patch0 -p1 %build %install -%{go_make_install} +%goinstall github.com/hoisie/mustache.go/ %files %defattr(-,root,root,-) ++ mustache.go-0.0.0+git20110813.tar.bz2 - mustache.go-0.0.0+git20120208.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mustache.go/Makefile new/mustache.go/Makefile --- old/mustache.go/Makefile2011-08-13 12:11:15.0 +0200 +++ new/mustache.go/Makefile2012-02-09 13:21:10.0 +0100 @@ -1,6 +1,7 @@ include $(GOROOT)/src/Make.inc -TARG=mustache +TARG=github.com/hoisie/mustache.go + GOFILES=\ mustache.go\ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mustache.go/Readme.md new/mustache.go/Readme.md --- old/mustache.go/Readme.md 2011-08-13 12:11:15.0 +0200 +++ new/mustache.go/Readme.md 2012-02-09 13:21:10.0 +0100 @@ -8,9 +8,11 @@ Also check out some [example mustache files](http://github.com/defunkt/mustache/tree/master/examples/) -## Usage +## Installation +To install mustache.go, simply run `goinstall github.com/hoisie/mustache.go`. To use it in a program, use `import github.com/hoisie/mustache.go` -There are only four methods in this package: +## Usage +There are four main methods in this package: func Render(data string, context ...interface{}) string @@ -20,6 +22,7 @@ func ParseFile(filename string) (*template, os.Error) +There are also two additional methods for using layouts (explained below). The Render method takes a string and a data source, which is generally a map or struct, and returns the output string. If the template file contains an error, the return value is a description of the error. There's a similar method, RenderFile, which takes a filename as an argument and uses that for the template contents. @@ -29,7 +32,7 @@ If you're planning to render the same template multiple times, you do it efficiently by compiling the template first: -tmpl,_ := mustache.Parse(hello {{c}}) +tmpl,_ := mustache.ParseString(hello {{c}}) var buf bytes.Buffer; for i := 0; i 10; i++ { tmpl.Render (map[string]string { c:world}, buf) @@ -40,7 +43,64 @@ ## Escaping mustache.go follows the official mustache HTML escaping rules. That is, if you enclose a variable with two curly brackets, `{{var}}`, the contents are HTML-escaped. For instance, strings like `5 2` are converted to `5 gt; 2`. To use raw characters, use three curly brackets `{{{var}}}`. - + +## Layouts + +It is a common pattern to include a template file as a wrapper for other templates. The wrapper may include a header and a footer, for instance. Mustache.go supports this pattern with the following two methods: + +func
commit go-mustache.go for openSUSE:Factory
Hello community, here is the log from the commit of package go-mustache.go for openSUSE:Factory checked in at Thu Aug 18 00:03:23 CEST 2011. New Changes file: --- /dev/null 2010-08-26 16:28:41.0 +0200 +++ go-mustache.go/go-mustache.go.changes 2011-08-15 11:10:49.0 +0200 @@ -0,0 +1,72 @@ +--- +Mon Aug 15 09:09:04 UTC 2011 - sasc...@suse.de + +- Update license to MIT (from BSD), fixes bnc#712213 + +--- +Sat Aug 13 10:13:31 UTC 2011 - sasc...@gmx.de + +- Update to 13/08/2011 git version: + * Updates for Go r59 + * Properly handle the case where struct pointers are nil + * Double-bracket variables, {{var}}, are now HTML-escaping by default, +and triple-bracket vars, {{{var}}}, are raw + * Remove workaround for relection table bug since it's been fixed + +--- +Wed Jun 8 15:30:56 UTC 2011 - sasc...@suse.de + +- Use new %go_disable_brp_strip_static_archive macro + +--- +Fri May 20 13:01:03 UTC 2011 - sasc...@suse.de + +- Use Go RPM macros instead of custom ones +- Use proper package versioning scheme (needs reinstall) +- Drop provides/obsoletes of old package, needs reinstall anyway + +--- +Thu May 19 14:45:17 UTC 2011 - sasc...@suse.de + +- Remove rpmlintrc, not needed anymore + +--- +Thu May 19 12:10:08 UTC 2011 - sasc...@suse.de + +- Simpler build + +--- +Thu May 19 06:47:54 UTC 2011 - sasc...@suse.de + +- Disable brp-strip-static-archive also on RHEL and CentOS + +--- +Wed May 18 14:50:28 UTC 2011 - sasc...@suse.de + +- Disable tests also for RHEL, CentOS and Mandriva + +--- +Wed May 18 13:28:35 UTC 2011 - sasc...@suse.de + +- Don't require 'go' +- Disable brp-strip-static-archive on Fedora, breaks build +- Provide devel and devel-static packages +- Remove devel-file-in-non-devel-package rpmlint filter + +--- +Wed May 18 12:53:13 UTC 2011 - sasc...@suse.de + +- Update to 18/05/2011 mercurial version +- Run tests + +--- +Mon Mar 21 15:22:50 UTC 2011 - sasc...@suse.de + +- Removed authors from description +- Removed pkg_version macro, use %%{version} directly + +--- +Tue Nov 9 18:37:55 UTC 2010 - sasc...@gmx.de + +- Initial commit + calling whatdependson for head-i586 New: go-mustache.go.changes go-mustache.go.spec mustache.go-0.0.0+git20110813.tar.bz2 Other differences: -- ++ go-mustache.go.spec ++ # # spec file for package go-mustache.go # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c), 2010, Sascha Peilicke sasc...@gmx.de # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An Open Source License is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: go-mustache.go Version:0.0.0+git20110813 Release:1 Summary:The mustache template language in Go Group: Development/Languages/Other License:MIT Url:http://github.com/hoisie/mustache.go Source0:mustache.go-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: go-devel %{go_provides} %{go_requires} %{go_disable_brp_strip_static_archive} %description mustache.go is an implementation of the mustache template language in Go. It is better suited for website templates than Go's native pkg/template. mustache.go is fast, it parses templates efficiently and stores them in a tree-like structure which allows for fast execution. %prep %setup -q -n mustache.go %build %install %{go_make_install} %files %defattr(-,root,root,-) %doc LICENSE Readme.md %{go_sitearch}/* %changelog Remember to have fun... -- To unsubscribe, e-mail: