From 48f5d6acf0093881c52c769023c7167a3a888d42 Mon Sep 17 00:00:00 2001
From: tinita <>
Date: Feb 09 2025 19:06:51 +0000
Subject: Update perl-Class-Factory-Util to version 1.700.0 / rev 10 via SR 1244025


https://build.opensuse.org/request/show/1244025
by user tinita + dimstar_suse
- Normalize CPAN version
  See https://github.com/openSUSE/cpanspec/issues/47 for details

---

diff --git a/.files b/.files
index e8eb35d..1952085 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 0d0b088..4009c5a 100644
--- a/.rev
+++ b/.rev
@@ -64,4 +64,14 @@
     <user>adrianSuSE</user>
     <comment>Split 13.2 from Factory</comment>
   </revision>
+  <revision rev="10" vrev="1">
+    <srcmd5>e9c89d7a6126ab996588bf9764a62aa9</srcmd5>
+    <version>1.700.0</version>
+    <time>1739127636</time>
+    <user>dimstar_suse</user>
+    <comment>- Normalize CPAN version
+  See https://github.com/openSUSE/cpanspec/issues/47 for details
+</comment>
+    <requestid>1244025</requestid>
+  </revision>
 </revisionlist>
diff --git a/.servicemark b/.servicemark
deleted file mode 100644
index 67927d9..0000000
--- a/.servicemark
+++ /dev/null
@@ -1 +0,0 @@
-e9f46c61a305d74d8e82cd9ffbb42e2a
diff --git a/perl-Class-Factory-Util.changes b/perl-Class-Factory-Util.changes
index 0be3320..84a8da1 100644
--- a/perl-Class-Factory-Util.changes
+++ b/perl-Class-Factory-Util.changes
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Thu Feb  6 22:17:37 UTC 2025 - Tina Müller <tina.mueller@suse.com>
+
+- Normalize CPAN version
+  See https://github.com/openSUSE/cpanspec/issues/47 for details
+
+-------------------------------------------------------------------
 Fri Nov 18 11:10:45 UTC 2011 - coolo@suse.com
 
 - use original .tar.gz
diff --git a/perl-Class-Factory-Util.spec b/perl-Class-Factory-Util.spec
index 95728f6..969ca89 100644
--- a/perl-Class-Factory-Util.spec
+++ b/perl-Class-Factory-Util.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Class-Factory-Util
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,51 +12,47 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-# norootforbuild
 
-
-Name:           perl-Class-Factory-Util
 %define cpan_name Class-Factory-Util
+Name:           perl-Class-Factory-Util
+Version:        1.700.0
+Release:        0
+# 1.7 -> normalize -> 1.700.0
+%define cpan_version 1.7
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Summary:        Provide utility methods for factory classes
-Version:        1.7
-Release:        1
-License:        GPL-1.0+ or Artistic-1.0
-Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Class-Factory-Util/
-#Source:         http://www.cpan.org/modules/by-module/Class/Class-Factory-Util-%{version}.tar.bz2
-Source:         %{cpan_name}-%{version}.tar.gz
+URL:            https://metacpan.org/release/%{cpan_name}
+Source0:        https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{cpan_version}.tar.gz
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
 BuildRequires:  perl
-BuildRequires:  perl(Module::Build)
 BuildRequires:  perl-macros
+BuildRequires:  perl(Module::Build)
+Provides:       perl(Class::Factory::Util) = %{version}
+%undefine       __perllib_provides
+%{perl_requires}
 
 %description
 This module exports a method that is useful for factory classes.
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup  -n %{cpan_name}-%{cpan_version} -p1
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build build flags=%{?_smp_mflags}
+perl Build.PL --installdirs=vendor
+./Build build --flags=%{?_smp_mflags}
 
 %check
 ./Build test
 
 %install
-./Build install destdir=%{buildroot} create_packlist=0
+./Build install --destdir=%{buildroot} --create_packlist=0
 %perl_gen_filelist
 
-%clean
-%{__rm} -rf %{buildroot}
-
 %files -f %{name}.files
-%defattr(-,root,root,-)
-%doc Changes LICENSE README
+%doc Changes README
+%license LICENSE
 
 %changelog