[autoarchive] Avoid UTF-8 in setup.cfg, distutils doesn't seem to like it.

Ville Skyttä scop at fedoraproject.org
Wed Aug 1 16:12:18 UTC 2012


commit 0e7183e56ba7f36f87e4438e9c4cc82baa41efa2
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Wed Aug 1 19:12:12 2012 +0300

    Avoid UTF-8 in setup.cfg, distutils doesn't seem to like it.
    
    - Drop example config from docs, it's now installed in %{_sysconfdir}/aa.

 autoarchive-0.5.2-coding.patch |   14 ++++++++++++++
 autoarchive.spec               |   13 ++++++++++---
 2 files changed, 24 insertions(+), 3 deletions(-)
---
diff --git a/autoarchive-0.5.2-coding.patch b/autoarchive-0.5.2-coding.patch
new file mode 100644
index 0000000..731afe3
--- /dev/null
+++ b/autoarchive-0.5.2-coding.patch
@@ -0,0 +1,14 @@
+distutils doesn't seem to like the UTF-8 in this file.
+
+diff -up autoarchive-0.5.2/setup.cfg~ autoarchive-0.5.2/setup.cfg
+--- autoarchive-0.5.2/setup.cfg~	2011-06-18 12:15:54.000000000 +0300
++++ autoarchive-0.5.2/setup.cfg	2012-08-01 19:00:16.400346357 +0300
+@@ -3,7 +3,7 @@
+ # Project: AutoArchive
+ # License: GNU GPLv3
+ #
+-# Copyright (C) 2003 - 2011 Róbert Čerňanský
++# Copyright (C) 2003 - 2011 Robert Cernansky
+ 
+ # Configuration file for distutils.
+ 
diff --git a/autoarchive.spec b/autoarchive.spec
index beb3b8c..96da75d 100644
--- a/autoarchive.spec
+++ b/autoarchive.spec
@@ -1,12 +1,13 @@
 Name:           autoarchive
 Version:        0.5.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A simple backup tool that uses tar
 
 Group:          Applications/System
 License:        GPLv3
 URL:            http://autoarchive.sourceforge.net/
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+Patch0:         %{name}-0.5.2-coding.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
@@ -24,11 +25,12 @@ AutoArchive is a simple utility for making backups more easily. It
 uses tar for creating archives. The idea of the program is that every 
 information needed for making a backup is in one file - the archive 
 spec file. Path to this file is passed as a parameter to 'aa' command 
-which reads informations from it and creates desired backup.
+which reads information from it and creates desired backup.
 
 
 %prep
 %setup -q
+%patch0 -p1
 
 
 %build
@@ -46,7 +48,8 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING NEWS README README.sk data/configuration/
+%doc COPYING NEWS README README.sk
+%config(noreplace) %{_sysconfdir}/aa/
 %{_mandir}/man?/*.*
 %{_bindir}/autoarchive
 %{_bindir}/aa
@@ -55,6 +58,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Aug  1 2012 Ville Skyttä <ville.skytta at iki.fi> - 0.5.2-3
+- Avoid UTF-8 in setup.cfg, distutils doesn't seem to like it.
+- Drop example config from docs, it's now installed in %%{_sysconfdir}/aa.
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list