Accepting request 310884 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/310884
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Apache-ConfigParser?expand=0&rev=9
This commit is contained in:
Stephan Kulow
2015-06-09 08:13:09 +00:00
committed by Git OBS Bridge
parent fe93fc42c6
commit 1ca7d9b61b
5 changed files with 73 additions and 42 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d4d8c74911480a1ac62857a70d7bebb78106a8d5930067ce3e9c82f59493cac
size 201739

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63af31eaefda27e1520b9ba53edb1697a45ce5ba5533fa581b858a4e8f592214
size 203342

23
cpanspec.yml Normal file
View File

@@ -0,0 +1,23 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jun 7 08:11:02 UTC 2015 - coolo@suse.com
- updated to 1.02
see /usr/share/doc/packages/perl-Apache-ConfigParser/Changes
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 1 06:55:30 UTC 2010 - coolo@novell.com Wed Dec 1 06:55:30 UTC 2010 - coolo@novell.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Apache-ConfigParser # spec file for package perl-Apache-ConfigParser
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 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
@@ -15,63 +15,65 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: perl-Apache-ConfigParser Name: perl-Apache-ConfigParser
Version: 1.01 Version: 1.02
Release: 0 Release: 0
Summary: Apache configuration parser module for Perl %define cpan_name Apache-ConfigParser
# http://search.cpan.org/CPAN/authors/id/B/BZ/BZAJAC/Apache-ConfigParser-%{version}.tar.gz Summary: Load Apache configuration files
Source: Apache-ConfigParser-%{version}.tar.gz License: GPL-1.0+ or Artistic-1.0
Url: http://search.cpan.org/dist/Apache-ConfigParser
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
License: Perl License Url: http://search.cpan.org/dist/Apache-ConfigParser/
Source0: http://www.cpan.org/authors/id/B/BZ/BZAJAC/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
Requires: perl(Tree::DAG_Node)
Requires: perl(File::FnMatch)
Requires: perl(File::Spec)
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Tree::DAG_Node) BuildRequires: perl(File::FnMatch) >= 0.01
BuildRequires: perl(File::FnMatch) BuildRequires: perl(Tree::DAG_Node) >= 1.04
BuildRequires: perl(File::Spec) Requires: perl(File::FnMatch) >= 0.01
BuildRequires: perl(Test::More) Requires: perl(Tree::DAG_Node) >= 1.04
%{perl_requires}
%description %description
The "Apache::ConfigParser" module is used to load an Apache configuration The 'Apache::ConfigParser' module is used to load an Apache configuration
file to allow programs to determine Apache's configuration directives and file to allow programs to determine Apache's configuration directives and
contexts. contexts. The resulting object contains a tree based structure using the
'Apache::ConfigParser::Directive' class, which is a subclass of
'Tree::DAG_node', so all of the methods that enable tree based searches and
modifications from 'Tree::DAG_Node' are also available. The tree structure
is used to represent the ability to nest sections, such as <VirtualHost>,
<Directory>, etc.
Apache does a great job of checking Apache configuration files for errors
and this modules leaves most of that to Apache. This module does minimal
configuration file checking. The module currently checks for:
* Start and end context names match
The module checks if the start and end context names match. If the end
context name does not match the start context name, then it is ignored.
The module does not even check if the configuration contexts have valid
names.
%prep %prep
%setup -q -n "Apache-ConfigParser-%{version}" %setup -q -n %{cpan_name}-%{version}
%__sed -i '/^auto_install/d' Makefile.PL
%build %build
%__perl Makefile.PL PREFIX="%{_prefix}" %{__perl} Makefile.PL INSTALLDIRS=vendor
%__make %{?jobs:-j%{jobs}} %{__make} %{?_smp_mflags}
%check
%{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%check %files -f %{name}.files
%__make test %defattr(-,root,root,755)
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc Changes README %doc Changes README
%dir %{perl_vendorlib}/Apache
%{perl_vendorlib}/Apache/ConfigParser
%{perl_vendorlib}/Apache/ConfigParser.pm
%doc %{perl_vendorlib}/Apache/ConfigParser.pod
%dir %{perl_vendorarch}/auto/Apache
%{perl_vendorarch}/auto/Apache/ConfigParser
%doc %{perl_man3dir}/Apache::ConfigParser.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Apache::ConfigParser::*.%{perl_man3ext}%{ext_man}
%changelog %changelog