Mercurial > packages > rhel6 > feed2imap
diff feed2imap.spec @ 3:51f7ba1cdf7c default tip
Back out changeset f17c85a9fb8b: Does not work with Ruby 1.9
author | Guido Berhoerster <guido+packaging@berhoerster.name> |
---|---|
date | Wed, 30 Apr 2014 10:37:12 +0200 |
parents | f17c85a9fb8b |
children |
line wrap: on
line diff
--- a/feed2imap.spec Mon Apr 28 17:34:11 2014 +0200 +++ b/feed2imap.spec Wed Apr 30 10:37:12 2014 +0200 @@ -1,14 +1,16 @@ %global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") +%global snapshot 20130109 Name: feed2imap -Version: 1.2.2 -Release: 1%{?dist} +Version: 1.0 +Release: 1.%{snapshot}git%{?dist} Summary: RSS/Atom Feed Aggregator Using an IMAP Server or Maildir for Storage Group: Applications/Internet License: GPLv2+ URL: http://home.gna.org/feed2imap/ -Source0: https://github.com/feed2imap/feed2imap/archive/%{name}_%{version}.tar.gz +# git clone git://github.com/ln/feed2imap.git; tar -cjf feed2imap-$(date +%%Y%%m%%d).tar.bz2 --exclude-vcs feed2imap +Source0: %{name}-%{snapshot}.tar.bz2 # make feed2imap compatible with rubygem versions of ruby-feedparser and rmail Patch0: feed2imap-rubygem-compatibility.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -28,7 +30,7 @@ agent. %prep -%setup -q -n %{name}-%{name}_%{version} +%setup -q -n %{name} %patch0 -p1 %build @@ -59,8 +61,5 @@ %{_mandir}/man1/feed2imap-opmlimport.1* %changelog -* Mon Apr 28 2014 Guido Berhoerster <guido+packaging@berhoerster.name> - 1.2.2-1 -- Update to version 1.2.2 - * Wed Jan 09 2013 Guido Berhoerster <guido+packaging@berhoerster.name> - 1.0-1.20130109 - Initial packaging