]> git.pld-linux.org Git - packages/gem2rpm.git/commitdiff
rename to gem2rpm
authorElan Ruusamäe <glen@delfi.ee>
Wed, 3 Apr 2013 22:19:41 +0000 (01:19 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 3 Apr 2013 22:19:41 +0000 (01:19 +0300)
gem2rpm.spec [moved from ruby-gem2rpm.spec with 81% similarity]

similarity index 81%
rename from ruby-gem2rpm.spec
rename to gem2rpm.spec
index 16d297e81ed18c6a0bc0f7a5ce40c0f2b018efa4..4cd6cdb504997262a2860a8d7a795c5af63da4da 100644 (file)
@@ -1,18 +1,18 @@
-%define                module  gem2rpm
 Summary:       Generate rpm specfiles from gems
-Name:          ruby-%{module}
+Name:          gem2rpm
 Version:       0.8.1
-Release:       1
+Release:       0.1
 License:       GPL v2+
 Group:         Development/Languages
-URL:           https://github.com/lutter/gem2rpm/
-Source0:       http://rubygems.org/gems/%{module}-%{version}.gem
+Source0:       http://rubygems.org/gems/%{name}-%{version}.gem
 # Source0-md5: d3c9416f225ae944fd195e69e122d46e
 # git clone https://github.com/lutter/gem2rpm.git && cd gem2rpm && git checkout v0.8.1
 # tar czvf gem2rpm-0.8.1-tests.tgz test/
-Source1:       %{module}-%{version}-tests.tgz
+Source1:       %{name}-%{version}-tests.tgz
 # Source1-md5: d7d8bc231dc405bbce00f570c89f530e
-BuildRequires: ruby
+URL:           https://github.com/lutter/gem2rpm/
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
 Requires:      ruby
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -31,9 +31,7 @@ Requires:     %{name} = %{version}-%{release}
 Documentation for %{name}.
 
 %prep
-%setup -qc
-%{__tar} xf %{SOURCE0} -O data.tar.gz | %{__tar} xz
-find -newer README  -o -print | xargs touch --reference %{SOURCE0}
+%setup -q
 
 %build
 %if %{with tests}
This page took 0.07291 seconds and 4 git commands to generate.