Projects
Eulaceura:Factory
perl-Perl-Tidy-Sweetened
_service:obs_scm:perl-Perl-Tidy-Sweetened.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-Perl-Tidy-Sweetened.spec of Package perl-Perl-Tidy-Sweetened
%global _empty_manifest_terminate_build 0 Name: perl-Perl-Tidy-Sweetened Version: 1.20 Release: 1 Summary: Tweaks to Perl::Tidy to support some syntactic sugar License: GPL-1.0-only or Artistic-1.0-Perl Group: Development/Libraries URL: https://metacpan.org/dist/Perl-Tidy-Sweetened Source0: https://www.cpan.org/modules/by-module/Perl/Perl-Tidy-Sweetened-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators BuildRequires: perl(Test::Most) BuildRequires: perl(Perl::Tidy) BuildRequires: perl(Module::Build::Tiny) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description There are a number of modules on CPAN that allow users to write their classes with a more "modern" syntax. These tools eliminate the need to shift off $self, can support type checking and offer other improvements. Unfortunately, they can break the support tools that the Perl community has come to rely on. This module attempts to work around those issues. %package help Summary : Tweaks to Perl::Tidy to support some syntactic sugar Provides: perl-Perl-Tidy-Sweetened %description help There are a number of modules on CPAN that allow users to write their classes with a more "modern" syntax. These tools eliminate the need to shift off $self, can support type checking and offer other improvements. Unfortunately, they can break the support tools that the Perl community has come to rely on. This module attempts to work around those issues. %prep %setup -q -n Perl-Tidy-Sweetened-%{version} %build export PERL_MM_OPT="" %{__perl} Build.PL --installdirs=vendor ./Build %install export PERL_MM_OPT="" rm -rf $RPM_BUILD_ROOT ./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* pushd %{buildroot} touch filelist.lst if [ -d usr/bin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ];then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib ];then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi popd mv %{buildroot}/filelist.lst . %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files -f filelist.lst %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Wed Mar 6 2024 woody2918 <wudi1@uniontech.com> - 1.20-1 - Package init
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