[rubygem-unicode-display_width] Update rubygem-unicode-display_width to 0.1.1-9 Resolves: #998469 - replace rm with exclude Resolves

Miroslav Suchý msuchy at fedoraproject.org
Tue Nov 26 07:28:54 UTC 2013


commit 4159e5d830857622c456ea9e5564624879b08c73
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Tue Nov 26 08:28:42 2013 +0100

    Update rubygem-unicode-display_width to 0.1.1-9
    Resolves: #998469 - replace rm with exclude
    Resolves: #998469 - require rubygems in main package
    Resolves: #998469 - use full URL in SOURCE0
    Resolves: #998469 - use https for URL

 .gitignore                         |    1 +
 rubygem-unicode-display_width.spec |  106 ++++++++++++++++++++++++++++++++++++
 sources                            |    1 +
 3 files changed, 108 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7b4e975 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/unicode-display_width-0.1.1.gem
diff --git a/rubygem-unicode-display_width.spec b/rubygem-unicode-display_width.spec
new file mode 100644
index 0000000..299a370
--- /dev/null
+++ b/rubygem-unicode-display_width.spec
@@ -0,0 +1,106 @@
+%{?scl:%scl_package rubygem-%{gem_name}}
+%{!?scl:%global pkg_name %{name}}
+
+%global gem_name unicode-display_width
+
+Summary: Support for east_asian_width string widths
+Name: %{?scl_prefix}rubygem-%{gem_name}
+
+Version: 0.1.1
+Release: 9%{dist}
+Group: Development/Languages
+License: MIT
+URL: https://github.com/janlelis/unicode-display_width
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+%if 0%{?fedora} > 18
+Requires: %{?scl_prefix}ruby(release)
+%else
+Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+%endif
+Requires: %{?scl_prefix}ruby(rubygems)
+BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix}rubygems
+BuildArch: noarch
+Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+
+%global gembuilddir %{buildroot}%{gem_dir}
+
+%description
+This gem adds String#display_size to get the display size of a string using
+EastAsianWidth.txt.
+
+%package doc
+BuildArch:  noarch
+Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+Summary:    Documentation for rubygem-%{gem_name}
+
+%description doc
+This package contains documentation for rubygem-%{gem_name}.
+
+%prep
+%{?scl:scl enable %{scl} "}
+gem unpack %{SOURCE0}
+%{?scl:"}
+%setup -n %{gem_name}-%{version} -T -D -q
+%{?scl:scl enable %{scl} "}
+gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+%{?scl:"}
+
+%build
+# Create the gem as gem install only works on a gem file
+%{?scl:scl enable %{scl} "}
+gem build %{gem_name}.gemspec
+%{?scl:"}
+
+%{?scl:scl enable %{scl} "}
+%gem_install
+%{?scl:"}
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -pa .%{gem_dir}/* \
+        %{buildroot}%{gem_dir}/
+
+%files
+%dir %{gem_instdir}
+%{gem_libdir}
+%doc %{gem_instdir}/LICENSE.txt
+%doc %{gem_instdir}/README.rdoc
+%{gem_instdir}/data
+%exclude %{gem_cache}
+%exclude %{gem_instdir}/.yardoc
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%{gem_instdir}/Rakefile
+%{gem_instdir}/.gemspec
+
+%changelog
+* Mon Nov 25 2013 Miroslav Suchý <msuchy at redhat.com> 0.1.1-9
+- 998469 - replace rm with exclude
+- 998469 - require rubygems in main package
+- 998469 - use full URL in SOURCE0
+- 998469 - use https for URL
+
+* Fri Sep 13 2013 Miroslav Suchý <msuchy at redhat.com> 0.1.1-8
+- generate gem again during buildtime
+
+* Mon Aug 19 2013 Miroslav Suchý <msuchy at redhat.com> 0.1.1-7
+- change group
+- summary should not end with dot
+
+* Thu Jul 04 2013 Dominic Cleal <dcleal at redhat.com> 0.1.1-6
+- change ruby(abi) to ruby(release) for F19+ (dcleal at redhat.com)
+- delete all zero sized tito.props (msuchy at redhat.com)
+- with recent tito you do not need SCL meta package (msuchy at redhat.com)
+
+* Thu Mar 14 2013 Miroslav Suchý <msuchy at redhat.com> 0.1.1-4
+- new package built with tito
+
+* Mon Sep 10 2012 Miroslav Suchý <msuchy at redhat.com> 0.1.1-3
+- remove yardoc (msuchy at redhat.com)
+
+* Mon Sep 10 2012 Miroslav Suchý <msuchy at redhat.com> 0.1.1-2
+- new package built with tito
+
diff --git a/sources b/sources
index e69de29..3204a07 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+89945d56dd45db1d37c65f6799652c2d  unicode-display_width-0.1.1.gem


More information about the scm-commits mailing list