forked from pool/perl-String-ShellQuote
Accepting request 567656 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/567656 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-String-ShellQuote?expand=0&rev=4
This commit is contained in:
@@ -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
|
Mon Jun 24 10:20:54 UTC 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-String-ShellQuote
|
# 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
|
# 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
|
||||||
@@ -17,19 +17,17 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-String-ShellQuote
|
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
|
Version: 1.04
|
||||||
Release: 0
|
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/
|
Url: http://search.cpan.org/dist/String-ShellQuote/
|
||||||
Source: http://www.cpan.org/authors/id/R/RO/ROSCH/String-ShellQuote-%{version}.tar.gz
|
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
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module contains some functions which are useful for quoting strings
|
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}
|
%setup -q -n String-ShellQuote-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make %{?_smp_mflags} test
|
||||||
|
|
||||||
%install
|
%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} -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
|
find %{buildroot} -depth -type d -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user