commit 4ef4f89a8501c1083b41a43dab3a7229dde9ec5dc5158a2ddeb14105542ff1ce Author: OBS User autobuild Date: Thu Jan 28 00:10:43 2010 +0000 Accepting request 30412 from devel:languages:perl Copy from devel:languages:perl/perl-Text-Diff based on submit request 30412 from user anicka OBS-URL: https://build.opensuse.org/request/show/30412 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Text-Diff?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Text-Diff-1.37.tar.bz2 b/Text-Diff-1.37.tar.bz2 new file mode 100644 index 0000000..22dd32c --- /dev/null +++ b/Text-Diff-1.37.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6163858c2d2f4e4ccfd7f1e2b07ae15ccaed361878e7bc5de59f71feb8e74c48 +size 23113 diff --git a/perl-Text-Diff.changes b/perl-Text-Diff.changes new file mode 100644 index 0000000..df14278 --- /dev/null +++ b/perl-Text-Diff.changes @@ -0,0 +1,53 @@ +------------------------------------------------------------------- +Sun Dec 13 12:11:19 UTC 2009 - chris@computersalat.de + +- cleanup spec + * fixed header + * updated desc + * added LICENSE README to doc + * moved changelog to .changes +- fixed build-/deps + * added Data::Dumper + +------------------------------------------------------------------- +Mon Jul 27 23:13:41 CEST 2009 - chris@computersalat.de + +- update to 1.37 + * Switching to a production release + * Switching to a 1.xx version to indicate this + * Added META.yml file +- 1.36_01 Mon 13 Jul 2009 + * Cleaning this up to pass tests + * Adding author tests + +------------------------------------------------------------------- +Sat Jul 25 19:45:25 CEST 2009 - chris@computersalat.de + +- spec mods + * removed ^---------- + * removed ^#--------- + +------------------------------------------------------------------- +Fri Jun 19 01:09:51 CEST 2009 - chris@computersalat.de + +- spec fix for perl-macros + +------------------------------------------------------------------- +Fri Jun 19 01:02:19 CEST 2009 - chris@computersalat.de + +- added perl-macros + o autogen filelist with perl_gen_filelist + +------------------------------------------------------------------- +Fri Jun 12 16:41:29 CEST 2009 - chris@computersalat.de + +- spec mods + o updated header + o some defines + o auto filelist gen to make rpmlint happy + +------------------------------------------------------------------- +Tue Sep 18 17:23:45 UTC 2007 - + +- Initial release 0.35 + diff --git a/perl-Text-Diff.spec b/perl-Text-Diff.spec new file mode 100644 index 0000000..3244b8f --- /dev/null +++ b/perl-Text-Diff.spec @@ -0,0 +1,80 @@ +# +# spec file for package perl-Text-Diff (Version 1.37) +# +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + + +Name: perl-Text-Diff +%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) +Summary: Perform Diffs on Files and Record Sets +Version: 1.37 +Release: 1 +License: GPL/Artistic +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Text-Diff +Source: %{cpan_name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Algorithm::Diff) +BuildRequires: perl(Data::Dumper) +Requires: perl = %{perl_version} +Requires: perl(Algorithm::Diff) +Provides: %{cpan_name} + +%description +"diff()" provides a basic set of services akin to the GNU "diff" +utility. It is not anywhere near as feature complete as GNU "diff", but +it is better integrated with Perl and available on all platforms. It is +often faster than shelling out to a system's "diff" executable for small +files, and generally slower on larger files. + +Relies on Algorithm::Diff for, well, the algorithm. This may not produce +the same exact diff as a system's local "diff" executable, but it will +be a valid diff and comprehensible by "patch". We haven't seen any +differences between Algorithm::Diff's logic and GNU diff's, but we have +not examined them to make sure they are indeed identical. + + Author: + Adam Kennedy + Barrie Slaymaker + + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" +%{__make} + +%check +%{__make} test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%clean +%{__rm} -rf $RPM_BUILD_ROOT + +%files -f %{name}.files +# normally you only need to check for doc files +%defattr(-, root, root) +%doc Changes LICENSE README + +%changelog diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4