Projects
Eulaceura:Factory
perl-enum
_service:obs_scm:perl-enum.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-enum.spec of Package perl-enum
%global _empty_manifest_terminate_build 0 Name: perl-enum Version: 1.12 Release: 1 Summary: C style enumerated types and bitmask flags in Perl License: GPL-1.0-only or Artistic-1.0-Perl Group: Development/Libraries URL: http://search.cpan.org/dist/enum/ Source0: http://www.cpan.org/authors/id/N/NE/NEILB/enum-%{version}.tar.gz BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl-generators BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) BuildRequires: perl(warnings) Requires: perl(Carp) Requires: perl(strict) Requires: perl(warnings) %description This module is used to define a set of constants with ordered numeric values, similar to the enum type in the C programming language. You can also define bitmask constants, where the value assigned to each constant has exactly one bit set (eg 1, 2, 4, 8, etc). %package help Summary : C style enumerated types and bitmask flags in Perl Provides: perl-enum-doc %description help This module is used to define a set of constants with ordered numeric values, similar to the enum type in the C programming language. You can also define bitmask constants, where the value assigned to each constant has exactly one bit set (eg 1, 2, 4, 8, etc). %prep %setup -q -n enum-%{version} %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install export PERL_MM_OPT="" rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check || : make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes META.json README %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Tue Jul 18 2023 leeffo <liweiganga@uniontech.com> - 1.12-1 - upgrade to version 1.12 * Sun May 23 2021 Perl_Bot <Perl_Bot@openeuler.org> 1.11-1 - Specfile autogenerated by Perl_Bot
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2