forked from pool/perl-String-ShellQuote
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user