File project.diff of Package perl-XML-Structured

--- perl-XML-Structured.changes.orig
+++ perl-XML-Structured.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Wed Nov 27 14:20:35 CET 2019 - ro@suse.de
+
+- fix build on fedora 
+
+-------------------------------------------------------------------
 Wed Jul 24 13:30:09 CEST 2019 - mls@suse.de
 
 - update to version 1.3
--- perl-XML-Structured.spec.orig
+++ perl-XML-Structured.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-XML-Structured
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -24,13 +24,15 @@ Release:        0
 Summary:        Simple conversion API from XML to perl structures and back
 License:        Artistic-1.0
 Group:          Development/Libraries/Perl
-Url:            https://github.com/openSUSE/perl-XML-Structured
+URL:            https://github.com/openSUSE/perl-XML-Structured
 Source:         %{cpan_name}-%{version}.tar.gz
 BuildRequires:  perl-XML-Parser
 BuildRequires:  perl-XML-SAX
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl(Test::More)
+%if 0%{?suse_version}
 %{perl_requires}
+%endif
 
 %description
 Provides a way to convert XML data into a predefined perl data structure and
@@ -43,7 +45,11 @@ from the DTD when converting back to xml
 %setup -q -n %{cpan_name}-%{version}
 
 %build
+%if 0%{?suse_version}
 perl Makefile.PL OPTIMIZE="%{optflags} -Wall"
+%else
+perl Makefile.PL OPTIMIZE="%{optflags} -Wall" INSTALLDIRS=vendor
+%endif
 make %{?_smp_mflags}
 
 %check
@@ -51,9 +57,16 @@ PREFERRED_PARSER=XML::Parser make %{?_sm
 PREFERRED_PARSER=XML::SAX make %{?_smp_mflags} test || exit 1
 
 %install
+%if 0%{?suse_version}
 %perl_make_install
 %perl_process_packlist
 %perl_gen_filelist
+%else
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+echo "%{perl_vendorarch}/auto/XML" > %{name}.files
+echo "%{perl_vendorarch}/XML" >> %{name}.files
+echo "%{_mandir}/man3/XML::Structured.*" >> %{name}.files
+%endif
 
 %files -f %{name}.files
 %defattr(-,root,root)
openSUSE Build Service is sponsored by