[wmdrawer] Moved the dos2unix command to %%prep (bug #843661)

Mario Blättermann mariobl at fedoraproject.org
Sat Jul 28 15:56:45 UTC 2012


commit 358d2fcd68426bd062e4cf85dfe3317ff33aeacd
Author: Mario Blättermann <mario.blaettermann at gmail.com>
Date:   Sat Jul 28 17:57:26 2012 +0200

    Moved the dos2unix command to %%prep (bug #843661)

 wmdrawer.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/wmdrawer.spec b/wmdrawer.spec
index 0d02e5d..5e101fe 100644
--- a/wmdrawer.spec
+++ b/wmdrawer.spec
@@ -1,6 +1,6 @@
 Name:		wmdrawer
 Version:	0.10.5
-Release:	13%{?dist}
+Release:	14%{?dist}
 
 Summary:	Retractable button bar launcher dockapp
 Summary(de):	Dockapp mit ausklappbaren Programmstartern
@@ -35,6 +35,9 @@ nach ~/.wmdrawerrc und bearbeiten Sie sie nach Ihren Wünschen.
 %setup -q
 %patch0 -p0
 
+dos2unix -k AUTHORS	\
+ 		ChangeLog	\
+ 		doc/*.sgml
 
 %build
 make -L CFLAGS='%{optflags}' %{?_smp_mflags}
@@ -47,9 +50,6 @@ mkdir -p %{buildroot}%{_mandir}/man1
 install -p -m 755 %{name} %{buildroot}%{_bindir}/%{name}
 install -p -m 644 doc/%{name}.1x.* %{buildroot}%{_mandir}/man1
 
-dos2unix -k %{buildroot}%{_docdir}/AUTHORS	\
-		%{buildroot}%{_docdir}/ChangeLog	\
-		%{buildroot}%{_docdir}/%{name}-it.sgml
 
 %files
 %defattr(-,root,root,-)
@@ -58,6 +58,9 @@ dos2unix -k %{buildroot}%{_docdir}/AUTHORS	\
 %{_mandir}/man1/%{name}.1x.*
 
 %changelog
+* Tue Jul 26 2011 Mario Blättermann <mariobl at fedoraproject.org> 0.10.5-10
+- Moved the dos2unix command to %%prep (bug #843661)
+
 * Sun Jul 22 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.10.5-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list