Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-File-lchown
perl-File-lchown.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-File-lchown.spec of Package perl-File-lchown
# # spec file for package perl-File-lchown # # Copyright (c) 2011 SUSE LINUX Products 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 http://bugs.opensuse.org/ # # norootforbuild %bcond_with test Name: perl-File-lchown %define cpan_name File-lchown Summary: Modify attributes of symlinks without dereferencing them Version: 0.02 Release: 1 License: GPL+ or Artistic Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/File-lchown/ #Source: http://www.cpan.org/modules/by-module/File/File-lchown-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl BuildRequires: perl(Module::Build) BuildRequires: perl-macros BuildRequires: perl(ExtUtils::CChecker) >= 0.03 %if %{with test} BuildRequires: perl(Test::Pod) >= 1.00 %endif %description The regular chown system call will dereference a symlink and apply ownership changes to the file at which it points. Some OSes provide system calls that do not dereference a symlink but instead apply their changes directly to the named path, even if that path is a symlink (in much the same way that lstat will return attributes of a symlink rather than the file at which it points). Author: ------- Paul Evans <leonerd@leonerd.org.uk> %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" ./Build %check ./Build test %install ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 %perl_gen_filelist %clean %{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files %defattr(-,root,root,-) %doc Changes LICENSE README %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