[erlang-erlydtl/f15/master] updated erlang-erlydtl to latest scm snapshot
icheishvili
icheishvili at fedoraproject.org
Mon Mar 7 05:34:01 UTC 2011
commit 7f57652ff9103a0a1ecc4b174ae042c0d82a0ed4
Author: Ilia Cheishvili <ilia.cheishvili at gmail.com>
Date: Sun Mar 6 22:33:54 2011 -0700
updated erlang-erlydtl to latest scm snapshot
.gitignore | 2 ++
erlang-erlydtl.spec | 30 ++++++++++++++++++------------
sources | 2 +-
3 files changed, 21 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6829165..d775a21 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
/erlydtl-0.6.0.tar.gz
+/evanmiller-erlydtl-889155f.tar.gz
+/erlang-erlydtl-0.6.0-tests.patch
diff --git a/erlang-erlydtl.spec b/erlang-erlydtl.spec
index 576afa8..866aa3e 100644
--- a/erlang-erlydtl.spec
+++ b/erlang-erlydtl.spec
@@ -1,16 +1,22 @@
%global debug_package %{nil}
+%global git_short_hash 889155f
+%global short_name erlydtl
+%global github_username evanmiller
-Name: erlang-erlydtl
+Name: erlang-%{short_name}
Version: 0.6.0
-Release: 2%{?dist}
-Summary: Erlang implementation of the Django Template Language.
+Release: 1.20110306git%{git_short_hash}%{?dist}
+Summary: Erlang implementation of the Django Template Language
Group: Development/Libraries
License: MIT
-URL: http://code.google.com/p/erlydtl/
-Source0: http://erlydtl.googlecode.com/files/erlydtl-0.6.0.tar.gz
+URL: https://github.com/%{github_username}/%{short_name}
+# The tarball comes from here:
+# http://github.com/%{github_username}/%{short_name}/tarball/master
+# GitHub has layers of redirection and renames that make this a troublesome
+# URL to include directly.
+Source0: %{github_username}-%{short_name}-%{git_short_hash}.tar.gz
Patch0: erlang-erlydtl-0.6.0-tests.patch
-Patch1: erlang-erlydtl-0.6.0-r14a.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: ErlyDTL = %{version}-%{release}
@@ -21,14 +27,13 @@ Requires: erlang
ErlyDTL is an Erlang implementation of the Django Template Language. The
erlydtl module compiles Django Template source code into Erlang bytecode. The
compiled template has a "render" function that takes a list of variables and
-returns a fully rendered document
+returns a fully rendered document.
%prep
-%setup -q -n erlydtl-%{version}
+%setup -q -n %{github_username}-%{short_name}-%{git_short_hash}
find examples/ -type f -executable -exec chmod -x {} \;
%patch0 -p0
-%patch1 -p0
%build
make %{?_smp_mflags}
@@ -53,13 +58,14 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%dir %{_libdir}/erlang/lib/erlydtl-%{version}
%{_libdir}/erlang/lib/erlydtl-%{version}/*
-%doc README
+%doc README_I18N
+%doc README.markdown
%doc examples
%changelog
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+* Sun Mar 06 2011 Ilia Cheishvili <ilia.cheishvili at gmail.com> - 0.6.0-1.20110306git889155f
+- Update to latest git snapshot
* Sun Aug 1 2010 Ilia Cheishvili <ilia.cheishvili at gmail.com> - 0.6.0-1
- Initial Package
diff --git a/sources b/sources
index 0a544a1..5896d68 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-beec89c1e7478bd655ff908640050cfe erlydtl-0.6.0.tar.gz
+0850f44321dc3f83ca2b77783c6cedfc erlang-erlydtl-0.6.0-tests.patch
More information about the scm-commits
mailing list