summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Dreyer <ktdreyer@ktdreyer.com>2015-03-24 14:00:47 -0600
committerKen Dreyer <ktdreyer@ktdreyer.com>2015-03-24 14:00:50 -0600
commitf7ae4e41c494a2c04b1554bd999c63a6f3e628e1 (patch)
tree33e169c20e8b4556d88bd10180102cbb7177d5a7
parent474a26616c041204c48ae1d156a4a334b7f0742b (diff)
downloadsvn2git-f7ae4e41c494a2c04b1554bd999c63a6f3e628e1.tar.gz
svn2git-f7ae4e41c494a2c04b1554bd999c63a6f3e628e1.tar.xz
svn2git-f7ae4e41c494a2c04b1554bd999c63a6f3e628e1.zip
drop F19 conditionals and use %license macro
- Drop Fedora 19 conditionals - Use %license macro
-rw-r--r--svn2git.spec13
1 files changed, 9 insertions, 4 deletions
diff --git a/svn2git.spec b/svn2git.spec
index ad3e07c..1109216 100644
--- a/svn2git.spec
+++ b/svn2git.spec
@@ -2,14 +2,14 @@
Name: %{gem_name}
Version: 2.3.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A tool for migrating SVN projects to Git
Group: Development/Languages
License: MIT
URL: https://github.com/nirvdrum/svn2git
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
Requires: git-svn
-%if 0%{?fc19} || 0%{?fc20} || 0%{?el7}
+%if 0%{?fc20} || 0%{?el7}
Requires: ruby(release)
Requires: ruby(rubygems)
Requires: rubygem(open4)
@@ -19,7 +19,7 @@ BuildRequires: rubygems-devel
BuildRequires: rubygem(minitest)
BuildRequires: rubygem(open4)
BuildArch: noarch
-%if 0%{?fc19} || 0%{?fc20} || 0%{?el7}
+%if 0%{?fc20} || 0%{?el7}
Provides: rubygem(%{gem_name}) = %{version}
%endif
@@ -83,8 +83,9 @@ pushd .%{gem_instdir}
popd
%files
+%{!?_licensedir:%global license %%doc}
%dir %{gem_instdir}
-%doc %{gem_instdir}/MIT-LICENSE
+%license %{gem_instdir}/MIT-LICENSE
%doc %{gem_instdir}/README.markdown
%{_bindir}/svn2git
%{gem_instdir}/bin
@@ -98,6 +99,10 @@ popd
%exclude %{gem_instdir}/test
%changelog
+* Tue Mar 24 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 2.3.2-2
+- Drop Fedora 19 conditionals
+- Use %%license macro
+
* Fri Jan 02 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 2.3.2-1
- Update to latest upstream version
- Rename to svn2git (RHBZ #1015253)