Skip to content

Commit 5a663e6

Browse files
committed
Fixup RPM for renamed news file.
1 parent 9daa4bf commit 5a663e6

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

Rakefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ require "fileutils"
44
include FileUtils
55
require "tmpdir"
66
require "rspec/core/rake_task"
7-
require "rubocop/rake_task"
7+
begin
8+
require "rubocop/rake_task"
9+
rescue LoadError
10+
nil
11+
end
812
require "packaging"
913

1014
Packaging.configuration do |conf|
@@ -64,4 +68,4 @@ namespace :doc do
6468
end
6569
end
6670

67-
RuboCop::RakeTask.new
71+
RuboCop::RakeTask.new if Object.const_defined? :RuboCop

package/rubygem-ruby-dbus.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Pure Ruby module for interaction with D-Bus IPC system.
5656

5757
%install
5858
%gem_install \
59-
--doc-files="COPYING NEWS README.md" \
59+
--doc-files="COPYING NEWS.md README.md" \
6060
-f
6161

6262
# MANUAL

0 commit comments

Comments
 (0)