[packages/ruby-ansi] Up to 1.5.0
arekm
arekm at pld-linux.org
Wed Mar 18 12:24:30 CET 2026
commit dee9526f396cf9149d18fe51ae1b4d0e2a0920d2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Mar 18 12:23:30 2026 +0100
Up to 1.5.0
ruby-ansi.spec | 20 ++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)
---
diff --git a/ruby-ansi.spec b/ruby-ansi.spec
index 1037550..49e9718 100644
--- a/ruby-ansi.spec
+++ b/ruby-ansi.spec
@@ -1,13 +1,13 @@
%define pkgname ansi
Summary: ANSI at your fingertips!
Name: ruby-%{pkgname}
-Version: 1.3.0
-Release: 2
-License: Apache v2.0
+Version: 1.5.0
+Release: 1
+License: BSD-2-Clause
Group: Development/Languages
Source0: https://github.com/rubyworks/ansi/archive/%{version}.tar.gz
-# Source0-md5: b84f33a9b496c60d855e206d67bdbd74
-URL: http://rubyworks.github.io/ansi/
+# Source0-md5: 2db291af75f20cdbaf2d19ed7d37fa46
+URL: https://rubyworks.github.io/ansi/
BuildRequires: rpm-rubyprov
BuildRequires: rpmbuild(macros) >= 1.656
BuildArch: noarch
@@ -22,25 +22,17 @@ available for the Ruby programming language.
%prep
%setup -q -n %{pkgname}-%{version}
-# swap symlink to file as we are packaging only lib/*
-test -L lib/ansi.yml
-mv -f .ruby lib/ansi.yml
-ln -s lib/ansi.yml .ruby
-
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}}
cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
-# wtf is this?
-rm $RPM_BUILD_ROOT%{ruby_vendorlibdir}/ansi.rbz
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README.rdoc HISTORY.rdoc NOTICE.rdoc
+%doc README.md NOTICE.md
%{ruby_vendorlibdir}/%{pkgname}.rb
%{ruby_vendorlibdir}/%{pkgname}
# used by ansi/version.rb to figure out version
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-ansi.git/commitdiff/dee9526f396cf9149d18fe51ae1b4d0e2a0920d2
More information about the pld-cvs-commit
mailing list