1.5.0-1
This commit is contained in:
parent
3ee1f91dee
commit
4cc2dd8ca8
4 changed files with 23 additions and 6 deletions
|
|
@ -1 +1 @@
|
|||
highline-1.4.0.tgz
|
||||
highline-1.5.0.tgz
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
rubygem-highline-1_4_0-2_fc10:HEAD:rubygem-highline-1.4.0-2.fc10.src.rpm:1222904553
|
||||
rubygem-highline-1_5_0-1_fc10:HEAD:rubygem-highline-1.5.0-1.fc10.src.rpm:1237204240
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
Summary: HighLine is a high-level command-line IO library
|
||||
Name: rubygem-%{gemname}
|
||||
Version: 1.4.0
|
||||
Release: 3%{?dist}
|
||||
Version: 1.5.0
|
||||
Release: 1%{?dist}
|
||||
Group: Development/Languages
|
||||
License: GPLv2+ or Ruby
|
||||
URL: http://highline.rubyforge.org
|
||||
|
|
@ -45,8 +45,21 @@ mkdir -p %{buildroot}%{gemdir}
|
|||
gem install --local --install-dir %{buildroot}%{gemdir} \
|
||||
--force --rdoc pkg/%{gemname}-%{version}.gem
|
||||
|
||||
cd %{buildroot}%{gemdir}/gems/%{gemname}-%{version}/
|
||||
find test/ examples/ lib/ -name '*.rb' -exec chmod ugo+x {} \;
|
||||
# Remove backup files
|
||||
find %{buildroot}/%{geminstdir} -type f -name "*~" -delete
|
||||
|
||||
# Delete zero-length files
|
||||
find %{buildroot}/%{geminstdir} -type f -size 0c -exec rm -rvf {} \;
|
||||
|
||||
# Fix anything executable that does not have a shebang
|
||||
for file in `find %{buildroot}/%{geminstdir} -type f -perm /a+x`; do
|
||||
[ -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 644 $file
|
||||
done
|
||||
|
||||
# Find files with a shebang that do not have executable permissions
|
||||
for file in `find %{buildroot}/%{geminstdir} -type f ! -perm /a+x -name "*.rb"`; do
|
||||
[ ! -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 755 $file
|
||||
done
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
|
@ -65,6 +78,9 @@ rm -rf %{buildroot}
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Mar 16 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 1.5.0-1
|
||||
- New upstream version
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
0e80123ec36cfb59a3c9d264324d62ef highline-1.4.0.tgz
|
||||
b60d5199a9e19a9ac6d20a141cef98e5 highline-1.5.0.tgz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue