Bug 622293 - Review Request: erlang-erlydtl - Django Templates for Erlang
Summary: Review Request: erlang-erlydtl - Django Templates for Erlang
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review (Show other bugs)
(Show other bugs)
Version: rawhide
Hardware: All Linux
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-08-08 18:40 UTC by Ilia Cheishvili
Modified: 2010-09-14 04:57 UTC (History)
4 users (show)

Fixed In Version: erlang-erlydtl-0.6.0-1.fc14
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-09-14 04:57:04 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
lemenkov: fedora-review+
kevin: fedora-cvs+

Attachments (Terms of Use)

Description Ilia Cheishvili 2010-08-08 18:40:53 UTC
Spec URL: http://github.com/icheishvili/rpms/raw/master/erlang-erlydtl.spec
SRPM URL: http://github.com/icheishvili/rpms/raw/master/erlang-erlydtl-0.6.0-1.fc13.src.rpm
Hi, I just packaged erlang-erlydtl, something that I find useful and was hoping could make its way into Extras.

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.

Comment 1 Peter Lemenkov 2010-08-09 13:42:43 UTC
I'll review it.
Ilia, what's your FAS name?

Comment 2 Peter Lemenkov 2010-08-09 13:50:00 UTC

* Since Erlang R14A is available in F-14/Rawhide, could you, please, add this patch?


* Unowned directory - %{_libdir}/erlang/lib/erlydtl-%{version}. Please add the following line to the %files section:

%dir %{_libdir}/erlang/lib/erlydtl-%{version}

Comment 3 Ilia Cheishvili 2010-08-09 20:26:45 UTC
Hi Peter,

Thanks for reviewing.  My FAS name is icheishvili.

I backported the patch for R14A compatibility and have included it in the updated SPEC file, as well owned the directory that you pointed out was unowned.

Find the new links here:



Comment 4 Peter Lemenkov 2010-08-15 11:08:18 UTC
Few more notes:

* Please, add the following line to the head of your spec to suppress bogus debuginfo generation

%global debug_package %{nil}

* Please, add "%check" section with "make test" in it

You may find it useful to take a look at the following spec-file for the real-world examples:


* Consider adding virtual "Provides: ErlyDTL = %{version}-%{release}" (for those who will (accidentally) install it with "yum install ErlyDTL". This is NOT a blocker - feel free to add or reject this proposal. In fact its just a matter of taste, however if you decide to add this (or some else) Provides it won't be easy to remove them in the future.

* You don't using parallel make - either enable it with "make %{?_smp_mflags}" or add comment if the package cannot be built with parallel make.

*Some files in /examples/ directory have executable permissions. You need to drop these privileges at %prep section. Just add a line there with something like this:

find examples/ -type f -executable -exec chmod -x {} \;

Comment 5 Ilia Cheishvili 2010-08-16 18:26:04 UTC
I have implemented everything that you suggested.  Find the new SPEC file and SRC RPM here:



Comment 6 Peter Lemenkov 2010-08-16 19:22:52 UTC
Ok, good. I don't see any other issues so far so here is my


+/- rpmlint is NOT silent (fortunately almost all of its messages can be safely ignored in this particular case)

Sulaco ~/rpmbuild/SPECS: rpmlint ../RPMS/ppc/erlang-erlydtl-0.6.0-1.fc12.ppc.rpm 
erlang-erlydtl.ppc: W: summary-ended-with-dot C Erlang implementation of the Django Template Language.
erlang-erlydtl.ppc: W: spelling-error %description -l en_US bytecode -> byte code, byte-code, byte
erlang-erlydtl.ppc: E: no-binary
erlang-erlydtl.ppc: W: only-non-binary-in-usr-lib
1 packages and 0 specfiles checked; 1 errors, 3 warnings.
Sulaco ~/rpmbuild/SPECS:

Please, take care of 'summary-ended-with-dot' arning - just remove trailing dot from summary. Spelling error is just a false positive. The rest two entries are just because of erlang-rlated package's structure - it must be installed into %_libdir no matter of whether it is arch-specific or noarch.

+ The package is named according to the Package Naming Guidelines.
+ The spec file name matches the base package %{name}, in the format %{name}.spec .
+ The package meets the Packaging Guidelines .
+ The package is licensed with a Fedora approved license and meets the Licensing Guidelines .
+ The License field in the package spec file matches the actual license (MIT) .
0 The source package doesn't include the text of the license(s) in its own file
+ The spec file is written in American English.
+ The spec file for the package is legible.
+ The sources used to build the package matches the upstream source, as provided in the spec URL:

Sulaco ~/rpmbuild/SOURCES: sha256sum erlydtl-0.6.0.tar.gz*
4d6ceeaef064281f0de51f4f4bd6c1662a3217642bf2dd96b80adc5063e85e34  erlydtl-0.6.0.tar.gz
4d6ceeaef064281f0de51f4f4bd6c1662a3217642bf2dd96b80adc5063e85e34  erlydtl-0.6.0.tar.gz.1
Sulaco ~/rpmbuild/SOURCES:

+ The package successfully compiles and builds into binary rpms on at least one primary architecture:


+ All build dependencies are listed in BuildRequires.
0 No need to handle locales.
0 No shared library files
+ The package does NOT bundle copies of system libraries.
0 The package is NOT designed to be relocatable
+ The package owns all directories that it creates.
+ The package does not list a file more than once in the spec file's %files listings.
+ Permissions on files are set properly.
+ The package consistently uses macros.
+ The package contains code, or permissible content.
0 No extremely large documentation files
+ Everything the package includes as %doc does not affect the runtime of the application.
0 No C/C++ header files.
0 No static libraries.
0 The package does NOT contain library files with a suffix (e.g. libfoo.so.1.1)
0 No devel sub-package.
+ The packages does NOT contain any .la libtool archives,
0 Not a GUI application
+ The package does not own files or directories already owned by other packages.
+ All filenames in the package are valid UTF-8.


Comment 7 Peter Lemenkov 2010-08-16 19:26:47 UTC
Ilia, please, request membership in the "Fedora Packager CVS Commit Group (packager)" to allow me to sponsor you :)

Comment 8 Ilia Cheishvili 2010-08-16 22:21:02 UTC
Hey Peter,

I'm a bit unsure of what to do.  When applying to the group, it says "Please do not apply to this group. Your sponsor will add you after you've completed http://fedoraproject.org/wiki/Join_the_package_collection_maintainers".  Should I go ahead and apply anyway?

Comment 9 Jason Tibbitts 2010-08-17 00:46:30 UTC
Peter should simply add you to the group (by typing your FAS account name into the "add user" box).  Hopefully soon the new code which prevents folks from even trying to sign up to the group will go into effect.

Comment 10 Peter Lemenkov 2010-08-17 11:19:20 UTC
Done! I just sponsored Ilia.

Ilia, now you should proceed with Fedora SCM Request:


Comment 11 Ilia Cheishvili 2010-08-17 22:28:50 UTC
New Package SCM Request
Package Name: erlang-erlydtl
Short Description: Erlang implementation of the Django Template Language
Owners: icheishvili
Branches: f14

Comment 12 Kevin Fenzi 2010-08-18 21:17:32 UTC
Git done (by process-git-requests).

Comment 13 Fedora Update System 2010-08-19 16:43:43 UTC
erlang-erlydtl-0.6.0-1.fc14 has been submitted as an update for Fedora 14.

Comment 14 Fedora Update System 2010-08-20 18:41:43 UTC
erlang-erlydtl-0.6.0-1.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update erlang-erlydtl'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/erlang-erlydtl-0.6.0-1.fc14

Comment 15 Fedora Update System 2010-09-14 04:56:59 UTC
erlang-erlydtl-0.6.0-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.