valtri pushed to rubygem-nenv (epel7). "Move README.md to the main package, EPEL support."

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 7 18:54:26 UTC 2015


>From 11b6cce8948822e7a09d4c8ca4dcf67ea3295d7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri at civ.zcu.cz>
Date: Tue, 7 Apr 2015 20:42:47 +0200
Subject: Move README.md to the main package, EPEL support.


diff --git a/rubygem-nenv.spec b/rubygem-nenv.spec
index 0a6b6e6..6318a37 100644
--- a/rubygem-nenv.spec
+++ b/rubygem-nenv.spec
@@ -9,7 +9,7 @@
 
 Name:           rubygem-%{gem_name}
 Version:        0.2.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Convenience wrapper for Ruby's ENV
 
 Group:          Development/Languages
@@ -28,6 +28,11 @@ BuildRequires:  rubygem(coveralls)
 BuildRequires:  rubygem(rspec) => 3.1
 BuildRequires:  rubygem(rspec) < 4
 %endif
+%if 0%{?fedora} && 0%{?fedora} <= 20 || 0%{?rhel} && 0%{?rhel} <= 7
+Requires:       ruby(release)
+Requires:       ruby(rubygems)
+Provides:       rubygem(%{gem_name}) = %{version}
+%endif
 
 %description
 Using ENV is like using raw SQL statements in your code. We all know how that
@@ -77,6 +82,7 @@ popd
 %files
 %dir %{gem_instdir}/
 %license %{gem_instdir}/LICENSE.txt
+%doc %{gem_instdir}/README.md
 %{gem_libdir}/
 %{gem_spec}
 %exclude %{gem_instdir}/.gitignore
@@ -85,9 +91,12 @@ popd
 
 %files doc
 %doc %{gem_docdir}/
-%doc %{gem_instdir}/README.md
 
 
 %changelog
+* Tue Apr 07 2015 František Dvořák <valtri at civ.zcu.cz> - 0.2.0-2
+- Move README.md to the main package
+- EPEL support
+
 * Mon Mar 09 2015 František Dvořák <valtri at civ.zcu.cz> - 0.2.0-1
 - Initial package
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/rubygem-nenv.git/commit/?h=epel7&id=11b6cce8948822e7a09d4c8ca4dcf67ea3295d7c


More information about the scm-commits mailing list