Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Dist-Zilla-Plugin-OurPkgVersion
perl-Dist-Zilla-Plugin-OurPkgVersion.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Dist-Zilla-Plugin-OurPkgVersion.spec of Package perl-Dist-Zilla-Plugin-OurPkgVersion
# # spec file for package perl-Dist-Zilla-Plugin-OurPkgVersion # # Copyright (c) 2019 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-Dist-Zilla-Plugin-OurPkgVersion Version: 0.21 Release: 0 %define cpan_name Dist-Zilla-Plugin-OurPkgVersion Summary: No line insertion and does Package version with our License: Artistic-2.0 Group: Development/Libraries/Perl Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Dist::Zilla) >= 6.00 BuildRequires: perl(Dist::Zilla::Role::FileFinderUser) BuildRequires: perl(Dist::Zilla::Role::FileMunger) BuildRequires: perl(Dist::Zilla::Role::PPI) BuildRequires: perl(Dist::Zilla::Role::VersionProvider) BuildRequires: perl(Moose) BuildRequires: perl(MooseX::Types::Perl) BuildRequires: perl(PPI) BuildRequires: perl(Path::Tiny) BuildRequires: perl(Test::DZil) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::Version) >= 0.04 BuildRequires: perl(namespace::autoclean) Requires: perl(Dist::Zilla) >= 6.00 Requires: perl(Dist::Zilla::Role::FileFinderUser) Requires: perl(Dist::Zilla::Role::FileMunger) Requires: perl(Dist::Zilla::Role::PPI) Requires: perl(Moose) Requires: perl(MooseX::Types::Perl) Requires: perl(PPI) Requires: perl(namespace::autoclean) %{perl_requires} %description This module was created as an alternative to Dist::Zilla::Plugin::PkgVersion and uses some code from that module. This module is designed to use a the more readable format 'our $VERSION = $version;' as well as not change then number of lines of code in your files, which will keep your repository more in sync with your CPAN release. It also allows you slightly more freedom in how you specify your version. %prep %setup -q -n %{cpan_name}-%{version} find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor