Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ecsos
symlinks
symlinks.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File symlinks.spec of Package symlinks
# # spec file for package # # Copyright (c) 2014 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/ # Name: symlinks Version: 1.4 Release: 0 License: SUSE-Permissive Summary: A commmand line tool to manipulate symbolic links Url: http://www.ibiblio.org/pub/Linux/utils/file/ Group: System/Filesystems Source: symlinks-%{version}.tar.bz2 # Source1, Patch1 and Patch2 taken from http://pkgs.fedoraproject.org/cgit/symlinks.git/tree/ Source1: symlinks-LICENSE.txt Patch1: symlinks-coverity-readlink.patch Patch2: symlinks-coverity-overrun-dynamic.patch # Patch for correct version string (1.4 instead 1.3) Patch3: symlinks-version_string.patch BuildRequires: gcc BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Symlinks is a nice tool to convert absolute or relative symbolic links. %prep %setup -q cp %{SOURCE1} . # Fix off-by-one error in call to readlink - from from Jiri Popelka %patch1 -p1 -b .coverity-readlink # Fix possible buffer overrun found by coverity - from from Jiri Popelka %patch2 -p1 -b .coverity-overrun-dynamic # Patch for correct version string (1.4 instead 1.3) %patch3 %build make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8 install -m 755 symlinks $RPM_BUILD_ROOT%{_bindir} install -m 644 symlinks.8 $RPM_BUILD_ROOT%{_mandir}/man8 %files %defattr(-,root,root) %doc symlinks-LICENSE.txt %{_bindir}/symlinks %{_mandir}/man8/symlinks.8%{ext_man} %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