7
0

3 Commits

4 changed files with 23 additions and 47 deletions

3
.gitattributes vendored
View File

@@ -1,4 +1,4 @@
## Default LFS *.changes merge=merge-changes
*.7z filter=lfs diff=lfs merge=lfs -text *.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text *.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text *.bz2 filter=lfs diff=lfs merge=lfs -text
@@ -12,6 +12,7 @@
*.pdf filter=lfs diff=lfs merge=lfs -text *.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text *.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text *.rpm filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text *.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text *.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text *.tgz filter=lfs diff=lfs merge=lfs -text

View File

@@ -1,23 +0,0 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,8 +1,8 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Sat May 10 23:22:51 UTC 2025 - Tina Müller <tina.mueller@suse.com> Fri Aug 4 10:05:18 UTC 2023 - Victor Zhestkov <vzhestkov@suse.com>
- Normalize CPAN version - Remove unused file:
See https://github.com/openSUSE/cpanspec/issues/47 for details * cpanspec.yml
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 19 06:21:46 UTC 2017 - coolo@suse.com Sat Aug 19 06:21:46 UTC 2017 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Text-Diff # spec file for package perl-Text-Diff
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,27 +16,24 @@
# #
%define cpan_name Text-Diff
Name: perl-Text-Diff Name: perl-Text-Diff
Version: 1.450.0 Version: 1.45
Release: 0 Release: 0
# 1.45 -> normalize -> 1.450.0 %define cpan_name Text-Diff
%define cpan_version 1.45
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perform diffs on files and record sets Summary: Perform diffs on files and record sets
URL: https://metacpan.org/release/%{cpan_name} License: Artistic-1.0 OR GPL-1.0-or-later
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{cpan_version}.tar.gz Group: Development/Libraries/Perl
Source1: cpanspec.yml URL: http://search.cpan.org/dist/Text-Diff/
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
%if "%_vendor" != "debbuild"
ExclusiveArch: do_not_build
%endif
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Algorithm::Diff) >= 1.190 BuildRequires: perl(Algorithm::Diff) >= 1.19
Requires: perl(Algorithm::Diff) >= 1.190 Requires: perl(Algorithm::Diff) >= 1.19
Provides: perl(Text::Diff) = %{version}
Provides: perl(Text::Diff::Base)
Provides: perl(Text::Diff::Config) = 1.440.0
Provides: perl(Text::Diff::Table) = 1.440.0
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -65,14 +62,14 @@ If you pass a filename, but the file can't be read, then 'diff()' will
'croak'. 'croak'.
%prep %prep
%autosetup -n %{cpan_name}-%{cpan_version} -p1 %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
%make_build %{__make} %{?_smp_mflags}
%check %check
make test %{__make} test
%install %install
%perl_make_install %perl_make_install
@@ -80,6 +77,7 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README %doc Changes README
%license LICENSE %license LICENSE