rpms/rubygem-columnize/F-12 import.log, NONE, 1.1 rubygem-columnize.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jeroen van Meeuwen
kanarip at fedoraproject.org
Tue Dec 22 00:53:31 UTC 2009
- Previous message: rpms/rubygem-columnize/F-11 import.log, NONE, 1.1 rubygem-columnize.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/rubygem-columnize/devel import.log, NONE, 1.1 rubygem-columnize.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kanarip
Update of /cvs/pkgs/rpms/rubygem-columnize/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3127/F-12
Modified Files:
.cvsignore sources
Added Files:
import.log rubygem-columnize.spec
Log Message:
0.3.1-3
--- NEW FILE import.log ---
rubygem-columnize-0_3_1-3_fc12:F-12:rubygem-columnize-0.3.1-3.fc12.src.rpm:1261443170
--- NEW FILE rubygem-columnize.spec ---
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gemname columnize
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
Summary: Sorts an array in column order
Name: rubygem-%{gemname}
Version: 0.3.1
Release: 3%{?dist}
Group: Development/Languages
License: GPLv2
URL: http://rubyforge.org/projects/rocky-hacks/
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ruby(abi) = 1.8
Requires: rubygems
BuildRequires: rubygems
BuildRequires: rubygem(rake)
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}
%description
Sorts an array in column order
%prep
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
gem install --local --install-dir %{buildroot}%{gemdir} \
--force --rdoc %{SOURCE0}
# Remove backup files
find %{buildroot}/%{geminstdir} -type f -name "*~" -delete
# Fix shebangs
find %{buildroot}/%{geminstdir} -type f -exec sed -r -e 's"^#!(.*)/usr/bin/env ruby"#!/usr/bin/ruby"' {} \;
# 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
# Find files that have non-standard-executable-perm
find %{buildroot}/%{geminstdir} -type f -perm /g+wx -exec chmod -v g-w {} \;
# Find files that are not readable
find %{buildroot}/%{geminstdir} -type f ! -perm /go+r -exec chmod -v go+r {} \;
# Remove these hidden files
rm -rf %{buildroot}/%{geminstdir}/.project
rm -rf %{buildroot}/%{geminstdir}/.loadpath
%check
pushd %{buildroot}/%{geminstdir}
rake test
popd
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
%doc %{gemdir}/doc/%{gemname}-%{version}
%dir %{geminstdir}
%doc %{geminstdir}/AUTHORS
%doc %{geminstdir}/COPYING
%doc %{geminstdir}/ChangeLog
%doc %{geminstdir}/NEWS
%doc %{geminstdir}/README
%doc %{geminstdir}/Rakefile
%doc %{geminstdir}/VERSION
%{geminstdir}/lib/
%{geminstdir}/test/
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%changelog
* Mon Dec 14 2009 Jeroen van Meeuwen <j.van.meeuwen at ogd.nl> - 0.3.1-3
- Enable %%check
* Wed Oct 21 2009 Jeroen van Meeuwen <j.van.meeuwen at ogd.nl> - 0.3.1-2
- Fix license
* Wed Oct 14 2009 Jeroen van Meeuwen <j.van.meeuwen at ogd.nl> - 0.3.1-1
- First package
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-columnize/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 21 Dec 2009 19:47:12 -0000 1.1
+++ .cvsignore 22 Dec 2009 00:53:31 -0000 1.2
@@ -0,0 +1 @@
+columnize-0.3.1.gem
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-columnize/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 21 Dec 2009 19:47:12 -0000 1.1
+++ sources 22 Dec 2009 00:53:31 -0000 1.2
@@ -0,0 +1 @@
+be4ceeabac3b467229427a786cbfea8d columnize-0.3.1.gem
- Previous message: rpms/rubygem-columnize/F-11 import.log, NONE, 1.1 rubygem-columnize.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/rubygem-columnize/devel import.log, NONE, 1.1 rubygem-columnize.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list