public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ruediger Landmann <r.landmann@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-String-Similarity] epel10.2: New package
Date: Wed, 09 Sep 2026 08:50:59 GMT [thread overview]
Message-ID: <178894385917.1.15442087580722088875.rpms-perl-String-Similarity-52118ecc2da9@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-String-Similarity
Branch : epel10.2
Commit : 52118ecc2da97b48779e25ff71543de43dc0b21b
Author : Ruediger Landmann <r.landmann@redhat.com>
Date : 2011-01-21T08:29:36+10:00
Stats : +54/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/perl-String-Similarity/c/52118ecc2da97b48779e25ff71543de43dc0b21b?branch=epel10.2
Log:
New package
---
diff --git a/.gitignore b/.gitignore
index e69de29..bc97d53 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/String-Similarity-1.04.tar.gz
diff --git a/perl-String-Similarity.spec b/perl-String-Similarity.spec
new file mode 100644
index 0000000..234c1bb
--- /dev/null
+++ b/perl-String-Similarity.spec
@@ -0,0 +1,52 @@
+Name: perl-String-Similarity
+Version: 1.04
+Release: 2%{?dist}
+Summary: Calculates the similarity of two strings
+License: GPLv2+
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/String-Similarity/
+Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/String-Similarity-%{version}.tar.gz
+BuildRequires: perl(ExtUtils::MakeMaker)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+The similarity function calculates the similarity index of its two arguments.
+A value of 0 means that the strings are entirely different. A value of 1
+means that the strings are identical. Everything else lies between 0 and 1
+and describes the amount of similarity between the strings.
+
+%prep
+%setup -q -n String-Similarity-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes COPYING README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/String*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Jan 19 2011 Rüdiger Landmann <r.landmann@redhat.com> 1.04-2
+- Correct license
+- remove unnecessary cleaning of build root from spec file
+
+* Mon Jan 17 2011 Rüdiger Landmann <r.landmann@redhat.com> 1.04-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..54f1a27 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+84936c1d393e92680a5d58039dcb9fd9 String-Similarity-1.04.tar.gz
reply other threads:[~2026-09-09 8:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178894385917.1.15442087580722088875.rpms-perl-String-Similarity-52118ecc2da9@fedoraproject.org \
--to=r.landmann@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox