Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
f469da66cc
|
|||
|
096a7e5973
|
|||
|
ee1ef02bf8
|
3
.gitattributes
vendored
3
.gitattributes
vendored
@@ -1,4 +1,4 @@
|
||||
## Default LFS
|
||||
*.changes merge=merge-changes
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp 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
|
||||
*.png 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
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
23
cpanspec.yml
23
cpanspec.yml
@@ -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
|
||||
@@ -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
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
- Remove unused file:
|
||||
* cpanspec.yml
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 19 06:21:46 UTC 2017 - coolo@suse.com
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,27 +16,24 @@
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name Text-Diff
|
||||
Name: perl-Text-Diff
|
||||
Version: 1.450.0
|
||||
Version: 1.45
|
||||
Release: 0
|
||||
# 1.45 -> normalize -> 1.450.0
|
||||
%define cpan_version 1.45
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
%define cpan_name Text-Diff
|
||||
Summary: Perform diffs on files and record sets
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Algorithm::Diff) >= 1.190
|
||||
Requires: perl(Algorithm::Diff) >= 1.190
|
||||
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
|
||||
BuildRequires: perl(Algorithm::Diff) >= 1.19
|
||||
Requires: perl(Algorithm::Diff) >= 1.19
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -65,14 +62,14 @@ If you pass a filename, but the file can't be read, then 'diff()' will
|
||||
'croak'.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
@@ -80,6 +77,7 @@ make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user