This commit is contained in:
committed by
Git OBS Bridge
parent
f763b61adf
commit
90463fbe49
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package dos2unix (Version 3.1)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2009 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
|
||||
@@ -20,13 +20,14 @@
|
||||
Name: dos2unix
|
||||
Summary: A DOS to UNIX Text Converter
|
||||
Version: 3.1
|
||||
Release: 438
|
||||
Release: 439
|
||||
Group: Productivity/Text/Convertors
|
||||
License: BSD 3-Clause
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch0: %{name}-%{version}.patch
|
||||
Patch1: dos2unix-3.1-segfault.patch
|
||||
Patch2: dos2unix-3.1-preserve-file-modes.patch
|
||||
Patch3: dos2unix-bnc#488261-dont_destroy_original.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -44,6 +45,7 @@ Authors:
|
||||
%patch0 -p1 -b .orig
|
||||
%patch1 -p1 -b .segf
|
||||
%patch2 -b .fmode
|
||||
%patch3
|
||||
perl -pi -e 's,(#endif|#else)[^ ]*(.*),$1 /* $2 */,g' *.[ch]
|
||||
|
||||
%build
|
||||
@@ -69,6 +71,9 @@ ln -s dos2unix.1 $RPM_BUILD_ROOT%{_mandir}/man1/mac2unix.1
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Mon Apr 20 2009 pth@suse.de
|
||||
- Don't destroy original file if the output is on a different file
|
||||
system (bnc#488261).
|
||||
* Tue Dec 09 2008 schwab@suse.de
|
||||
- Fix last change.
|
||||
* Mon Sep 15 2008 ro@suse.de
|
||||
|
Reference in New Issue
Block a user