Compare commits
	
		
			4 Commits
		
	
	
		
	
	| Author | SHA256 | Date | |
|---|---|---|---|
| c65dcf34e5 | |||
| 78cb45bc2d | |||
| 9f320c30cf | |||
| 0131f8ba2d | 
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | |||||||
|  |  | ||||||
|  | ## Build Results | ||||||
|  |  | ||||||
|  | Current state of perl in openSUSE:Factory is | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  | The current state of perl in the devel project build (devel:languages:perl) | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
							
								
								
									
										35
									
								
								cpanspec.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								cpanspec.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,35 @@ | |||||||
|  | --- | ||||||
|  | description_paragraphs: 2 | ||||||
|  | #description: |- | ||||||
|  | #  override description from CPAN | ||||||
|  | #summary: override summary from CPAN | ||||||
|  | #no_testing: broken upstream | ||||||
|  | #sources: | ||||||
|  | #  - source1 | ||||||
|  | #  - source2 | ||||||
|  | #patches: | ||||||
|  | #  foo.patch: -p1 | ||||||
|  | #  bar.patch: | ||||||
|  | #  baz.patch: PATCH-FIX-OPENSUSE | ||||||
|  | #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_build: |- | ||||||
|  | # rm unused.files | ||||||
|  | #post_install: |- | ||||||
|  | # sed on %{name}.files | ||||||
|  | license: GPL-2.0+ | ||||||
|  | #skip_noarch: 1 | ||||||
|  | #custom_build: |- | ||||||
|  | #./Build build flags=%{?_smp_mflags} --myflag | ||||||
|  | #custom_test: |- | ||||||
|  | #startserver && make test | ||||||
|  | #ignore_requires: Bizarre::Module | ||||||
|  | #skip_doc: regexp_to_skip_for_doc.* | ||||||
|  | #add_doc: files to add to docs | ||||||
|  | #misc: |- | ||||||
|  | #anything else to be added to spec file | ||||||
|  | #follows directly after %files section, so it can contain new blocks or also | ||||||
|  | #changes to %files section | ||||||
| @@ -1,3 +1,9 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Mon Feb 10 21:41:32 UTC 2025 - Tina Müller <tina.mueller@suse.com> | ||||||
|  |  | ||||||
|  | - Normalize CPAN version | ||||||
|  |   See https://github.com/openSUSE/cpanspec/issues/47 for details | ||||||
|  |  | ||||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ||||||
| Mon Nov  5 09:57:26 UTC 2012 - cfarrell@suse.com | Mon Nov  5 09:57:26 UTC 2012 - cfarrell@suse.com | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| # | # | ||||||
| # spec file for package perl-Text-Patch | # spec file for package perl-Text-Patch | ||||||
| # | # | ||||||
| # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. | # Copyright (c) 2025 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 | ||||||
| @@ -12,25 +12,30 @@ | |||||||
| # license that conforms to the Open Source Definition (Version 1.9) | # license that conforms to the Open Source Definition (Version 1.9) | ||||||
| # published by the Open Source Initiative. | # published by the Open Source Initiative. | ||||||
|  |  | ||||||
| # Please submit bugfixes or comments via http://bugs.opensuse.org/ | # Please submit bugfixes or comments via https://bugs.opensuse.org/ | ||||||
| # | # | ||||||
|  |  | ||||||
|  |  | ||||||
| Name:           perl-Text-Patch |  | ||||||
| Version:        1.8 |  | ||||||
| Release:        0 |  | ||||||
| %define cpan_name Text-Patch | %define cpan_name Text-Patch | ||||||
|  | Name:           perl-Text-Patch | ||||||
|  | Version:        1.800.0 | ||||||
|  | Release:        0 | ||||||
|  | # 1.8 -> normalize -> 1.800.0 | ||||||
|  | %define cpan_version 1.8 | ||||||
|  | #Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later) | ||||||
|  | License:        GPL-2.0-or-later | ||||||
| Summary:        Patches text with given patch | Summary:        Patches text with given patch | ||||||
| License:        GPL-2.0+ | URL:            https://metacpan.org/release/%{cpan_name} | ||||||
| Group:          Development/Libraries/Perl | Source0:        https://cpan.metacpan.org/authors/id/C/CA/CADE/%{cpan_name}-%{cpan_version}.tar.gz | ||||||
| Url:            http://search.cpan.org/dist/Text-Patch/ | Source1:        cpanspec.yml | ||||||
| Source:         http://www.cpan.org/authors/id/C/CA/CADE/%{cpan_name}-%{version}.tar.gz | Source100:      README.md | ||||||
| BuildArch:      noarch | BuildArch:      noarch | ||||||
| BuildRoot:      %{_tmppath}/%{name}-%{version}-build |  | ||||||
| BuildRequires:  perl | BuildRequires:  perl | ||||||
| BuildRequires:  perl-macros | BuildRequires:  perl-macros | ||||||
| BuildRequires:  perl(Text::Diff) | BuildRequires:  perl(Text::Diff) | ||||||
| Requires:       perl(Text::Diff) | Requires:       perl(Text::Diff) | ||||||
|  | Provides:       perl(Text::Patch) = %{version} | ||||||
|  | %undefine       __perllib_provides | ||||||
| %{perl_requires} | %{perl_requires} | ||||||
|  |  | ||||||
| %description | %description | ||||||
| @@ -40,49 +45,15 @@ diff, see -u option). | |||||||
|  |  | ||||||
| * patch( $source, $diff, options... ) | * patch( $source, $diff, options... ) | ||||||
|  |  | ||||||
|   First argument is source (original) text. Second is the diff data. Third |  | ||||||
|   argument can be either hash reference with options or all the rest |  | ||||||
|   arguments will be considered patch options: |  | ||||||
|  |  | ||||||
|       $output = patch( $source, $diff, STYLE => "Unified", ... ); |  | ||||||
|    |  | ||||||
|       $output = patch( $source, $diff, { STYLE => "Unified", ... } ); |  | ||||||
|  |  | ||||||
|   Options are: |  | ||||||
|  |  | ||||||
|     STYLE => 'Unified' |  | ||||||
|  |  | ||||||
|   STYLE can be "Unified", "Context" or "OldStyle". |  | ||||||
|  |  | ||||||
|   The 'Unified' diff format looks like this: |  | ||||||
|  |  | ||||||
|     @@ -1,7 +1,6 @@ |  | ||||||
|     -The Way that can be told of is not the eternal Way; |  | ||||||
|     -The name that can be named is not the eternal name. |  | ||||||
|      The Nameless is the origin of Heaven and Earth; |  | ||||||
|     -The Named is the mother of all things. |  | ||||||
|     +The named is the mother of all things. |  | ||||||
|     + |  | ||||||
|      Therefore let there always be non-being, |  | ||||||
|        so we may see their subtlety, |  | ||||||
|      And let there always be being, |  | ||||||
|     @@ -9,3 +8,6 @@ |  | ||||||
|      The two are the same, |  | ||||||
|      But after they are produced, |  | ||||||
|        they have different names. |  | ||||||
|     +They both may be called deep and profound. |  | ||||||
|     +Deeper and more profound, |  | ||||||
|     +The door of all subtleties! |  | ||||||
|  |  | ||||||
| %prep | %prep | ||||||
| %setup -q -n %{cpan_name}-%{version} | %autosetup  -n %{cpan_name}-%{cpan_version} -p1 | ||||||
|  |  | ||||||
| %build | %build | ||||||
| %{__perl} Makefile.PL INSTALLDIRS=vendor | perl Makefile.PL INSTALLDIRS=vendor | ||||||
| %{__make} %{?_smp_mflags} | %make_build | ||||||
|  |  | ||||||
| %check | %check | ||||||
| %{__make} test | make test | ||||||
|  |  | ||||||
| %install | %install | ||||||
| %perl_make_install | %perl_make_install | ||||||
| @@ -90,7 +61,7 @@ diff, see -u option). | |||||||
| %perl_gen_filelist | %perl_gen_filelist | ||||||
|  |  | ||||||
| %files -f %{name}.files | %files -f %{name}.files | ||||||
| %defattr(-,root,root,755) | %doc ChangeLog README | ||||||
| %doc ChangeLog COPYING README | %license COPYING | ||||||
|  |  | ||||||
| %changelog | %changelog | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user