diff --git a/perl-String-ShellQuote.changes b/perl-String-ShellQuote.changes index c614af5..744fa99 100644 --- a/perl-String-ShellQuote.changes +++ b/perl-String-ShellQuote.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +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 + +- 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..436ab50 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 @@ -17,19 +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 @@ -39,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