Skip to content

Commit 70cc8d2

Browse files
committed
Fix %files section to not claim ownership of bindir and mandir
Addresses: #50 basho/riak_cs#554 The %files section had to general a case for both (s)bindir and mandir, specifying the actual directory rather than the contents of the directory. This change simply changes those two lines to be the `<dir>/*` style as recommended in the [fedora package maintainers documentation](http://fedoraproject.org/wiki/How_to_create_an_RPM_package#.25files_section)
1 parent 93b0159 commit 70cc8d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

priv/templates/rpm/specfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ chmod 0755 %{_libdir}/{{package_install_name}}/lib/env.sh
126126
%{_libdir}/*
127127
%dir %{_sysconfdir}/{{package_install_name}}
128128
%config(noreplace) %{_sysconfdir}/{{package_install_name}}/*
129-
%{_{{bin_or_sbin}}dir}
129+
%{_{{bin_or_sbin}}dir}/*
130130
%{_localstatedir}/lib/{{package_install_name}}
131131
%{_localstatedir}/log/{{package_install_name}}
132132
%{_localstatedir}/run/{{package_install_name}}
133133
%{_sysconfdir}/init.d/{{package_install_name}}
134-
%{_mandir}/man1
134+
%{_mandir}/man1/*
135135

136136
%clean
137137
rm -rf %{buildroot}

0 commit comments

Comments
 (0)