diff --git a/obs-bundled-gems.spec b/obs-bundled-gems.spec index 9b0e4b6..eb49f97 100644 --- a/obs-bundled-gems.spec +++ b/obs-bundled-gems.spec @@ -19,7 +19,7 @@ %global rack_version 2.0.8 Name: obs-bundled-gems Version: 2.10.1 -Release: 3 +Release: 4 Summary: The Open Build Service -- Bundled Gems License: GPL-2.0-only OR GPL-3.0-only URL: http://www.openbuildservice.org @@ -38,7 +38,7 @@ denpendent gems, and add them to spec file. Summary: Holding dependencies required to run the OBS frontend Requires: build >= 20170315 Requires: memcached >= 1.4 -Requires: mariadb +Requires: mariadb-server Requires: obs-bundled-gems = %{version} Requires: sphinx >= 2.1.8 Requires: perl(GD) @@ -117,8 +117,8 @@ for bin in %{buildroot}%_libdir/obs-api/ruby/*/bin/*; do sed -i -e 's,/usr/bin/env ruby.ruby2.5,/usr/bin/ruby.ruby2.5,' $bin done -# remove exec bit from all other files still containing /usr/bin/env - mostly helper scripts -find %{buildroot} -type f -print0 | xargs -0 grep -l /usr/bin/env | while read file; do +# remove exec bit from all other files still containing /usr/bin/env except ruby/2.5.0/bin - mostly helper scripts +find %{buildroot} -type f -print0 | xargs -0 grep -l /usr/bin/env | grep -v ruby/2.5.0/bin| while read file; do chmod a-x $file done @@ -132,6 +132,9 @@ done %doc README %changelog +* Wed Dec 01 2021 lingsheng - 2.10.1-4 +- Fix exec permission in ruby/2.5.0/bin, change require to mariadb-server + * Mon Jun 28 2021 wangyue - 2.10.1-3 - Fix obs-bundled-gems compilation failed.