fedora-python / pyp2rpm

Tool to convert a package from PyPI to RPM SPECFILE or to generate SRPM.
MIT License
128 stars 39 forks source link

update pld template #64

Closed glensc closed 8 years ago

glensc commented 8 years ago

does much better job than previous template.

btw, i added some local macros as they are pld specific, and was wondering why some of the macros are defined in sourcecode pyp2rpm/filters.py and the others in pyp2rpm/templates/macros.spec?

mcyprian commented 8 years ago

Filters and macros are not the same thing. It is described properly in the Jinja documentation.