From 690e3c7292d3d95ebd4864caa0699f1978ad7ed38a55a9b8b183aadacfa94fab Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Fri, 19 Jan 2018 10:52:11 +0000 Subject: [PATCH 1/2] Accepting request 567496 from home:dimstar:Factory - Remove duplicate BuildArch: noarch. OBS-URL: https://build.opensuse.org/request/show/567496 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-ShellQuote?expand=0&rev=10 --- perl-String-ShellQuote.changes | 5 +++++ perl-String-ShellQuote.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/perl-String-ShellQuote.changes b/perl-String-ShellQuote.changes index c614af5..6eef308 100644 --- a/perl-String-ShellQuote.changes +++ b/perl-String-ShellQuote.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 18 17:30:06 UTC 2018 - dimstar@opensuse.org + +- Remove duplicate BuildArch: noarch. + ------------------------------------------------------------------- Mon Jun 24 10:20:54 UTC 2013 - dmueller@suse.com diff --git a/perl-String-ShellQuote.spec b/perl-String-ShellQuote.spec index d5de327..3e934bb 100644 --- a/perl-String-ShellQuote.spec +++ b/perl-String-ShellQuote.spec @@ -1,7 +1,7 @@ # # spec file for package perl-String-ShellQuote # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,7 +29,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl BuildRequires: perl-macros -BuildArch: noarch %description This module contains some functions which are useful for quoting strings From 5bc52b3fb9300322af87be78df1bfa861d634a0ac38748e4eccfa1fcd0bdbe0a Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Fri, 19 Jan 2018 11:43:15 +0000 Subject: [PATCH 2/2] Accepting request 567655 from home:pmonrealgonzalez:branches:devel:languages:perl - Cleaned spec file with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/567655 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-ShellQuote?expand=0&rev=11 --- perl-String-ShellQuote.changes | 5 +++++ perl-String-ShellQuote.spec | 23 +++++++++-------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/perl-String-ShellQuote.changes b/perl-String-ShellQuote.changes index 6eef308..744fa99 100644 --- a/perl-String-ShellQuote.changes +++ b/perl-String-ShellQuote.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 19 11:35:41 UTC 2018 - pmonrealgonzalez@suse.com + +- Cleaned spec file with spec-cleaner + ------------------------------------------------------------------- Thu Jan 18 17:30:06 UTC 2018 - dimstar@opensuse.org diff --git a/perl-String-ShellQuote.spec b/perl-String-ShellQuote.spec index 3e934bb..436ab50 100644 --- a/perl-String-ShellQuote.spec +++ b/perl-String-ShellQuote.spec @@ -17,18 +17,17 @@ Name: perl-String-ShellQuote -Summary: Quote strings for passing through the shell -License: Artistic-1.0 or GPL-2.0+ -Group: Development/Libraries/Perl Version: 1.04 Release: 0 +Summary: Quote strings for passing through the shell +License: Artistic-1.0 OR GPL-2.0+ +Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/String-ShellQuote/ Source: http://www.cpan.org/authors/id/R/RO/ROSCH/String-ShellQuote-%{version}.tar.gz -BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros +BuildArch: noarch +%{perl_requires} %description This module contains some functions which are useful for quoting strings @@ -38,23 +37,19 @@ which are going to pass through the shell or a shell-like object. %setup -q -n String-ShellQuote-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make %{?_smp_mflags} test %install -make pure_install DESTDIR="%{buildroot}" +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -print0 | xargs -0 --no-run-if-empty rm -f find %{buildroot} -depth -type d -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true %perl_gen_filelist -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(-,root,root,-) %doc Changes README %changelog