| |
@@ -2,10 +2,9 @@
|
| |
%global gem_name hitimes
|
| |
|
| |
Name: rubygem-%{gem_name}
|
| |
- Version: 1.2.6
|
| |
- Release: 5%{?dist}
|
| |
+ Version: 1.3.0
|
| |
+ Release: 1%{?dist}
|
| |
Summary: A fast, high resolution timer library for recording performance metrics
|
| |
- Group: Development/Languages
|
| |
License: ISC
|
| |
URL: http://github.com/copiousfreetime/hitimes
|
| |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
| |
@@ -13,6 +12,7 @@
|
| |
BuildRequires: rubygems-devel
|
| |
BuildRequires: ruby-devel
|
| |
BuildRequires: rubygem(minitest)
|
| |
+ BuildRequires: gcc
|
| |
|
| |
%description
|
| |
Hitimes is a fast, high resolution timer library for recording performance
|
| |
@@ -25,7 +25,6 @@
|
| |
|
| |
%package doc
|
| |
Summary: Documentation for %{name}
|
| |
- Group: Documentation
|
| |
Requires: %{name} = %{version}-%{release}
|
| |
BuildArch: noarch
|
| |
|
| |
@@ -33,15 +32,10 @@
|
| |
Documentation for %{name}.
|
| |
|
| |
%prep
|
| |
- gem unpack %{SOURCE0}
|
| |
-
|
| |
- %setup -q -D -T -n %{gem_name}-%{version}
|
| |
-
|
| |
- gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
| |
+ %setup -q -n %{gem_name}-%{version}
|
| |
|
| |
%build
|
| |
- gem build %{gem_name}.gemspec
|
| |
-
|
| |
+ gem build ../%{gem_name}-%{version}.gemspec
|
| |
%gem_install
|
| |
|
| |
%install
|
| |
@@ -83,6 +77,9 @@
|
| |
%{gem_instdir}/examples/
|
| |
|
| |
%changelog
|
| |
+ * Sat Jul 21 2018 Pavel Valena <pvalena@redhat.com> - 1.3.0-1
|
| |
+ - Update to hitimes 1.3.0.
|
| |
+
|
| |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-5
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
| |
|
| |
Also add
gcc
to BuildRequires.* https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
Scratch-Build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=28762667
Checks: