Projects
Eulaceura:Factory
perl-Test-mysqld
_service:obs_scm:perl-Test-mysqld.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-Test-mysqld.spec of Package perl-Test-mysqld
%global _empty_manifest_terminate_build 0 Name: perl-Test-mysqld Version: 1.0013 Release: 1 Summary: mysqld runner for tests License: GPL-1.0-only or Artistic-1.0-Perl Group: Development/Libraries URL: https://metacpan.org/dist/Test-mysqld Source0: https://www.cpan.org/modules/by-module/Test/Test-mysqld-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators BuildRequires: perl(strict) BuildRequires: perl(Class::Accessor::Lite) BuildRequires: perl(DBI) BuildRequires: perl(File::Copy::Recursive) BuildRequires: perl(Test::SharedFork) BuildRequires: perl(Module::Build::Tiny) => 0.035 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description automatically setups a mysqld instance in a temporary directory, and destroys it when the perl script exits. %package help Summary : mysqld runner for tests Provides: perl-Test-mysqld %description help automatically setups a mysqld instance in a temporary directory, and destroys it when the perl script exits. %prep %setup -q -n Test-mysqld-%{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.md %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Mon Feb 19 2024 woody2918 <wudi1@uniontech.com> - 1.0013-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