From 65d07d99270f5fd4615b2ee2ca8927bcbb718320 Mon Sep 17 00:00:00 2001 From: Dennis Chen Date: Nov 24 2015 20:48:31 +0000 Subject: Updated to latest version --- diff --git a/.gitignore b/.gitignore index c3a867b..a18343b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ rubber-1.1.tar.gz +/rubber-1.3.tar.gz diff --git a/rubber-python26.patch b/rubber-python26.patch deleted file mode 100644 index ec88e62..0000000 --- a/rubber-python26.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -ur rubber-1.1/src/util.py rubber-1.1.new/src/util.py ---- rubber-1.1/src/util.py 2006-03-17 14:52:45.000000000 +0100 -+++ rubber-1.1.new/src/util.py 2009-06-15 16:05:57.000000000 +0200 -@@ -5,7 +5,7 @@ - by the modules for various tasks. - """ - --import md5 -+import hashlib - import os, stat, time - import imp - import re, string -@@ -19,7 +19,7 @@ - """ - Compute the MD5 sum of a given file. - """ -- m = md5.new() -+ m = hashlib.md5() - file = open(fname) - for line in file.readlines(): - m.update(line) diff --git a/rubber.spec b/rubber.spec index c40eb2f..469e10c 100644 --- a/rubber.spec +++ b/rubber.spec @@ -1,18 +1,16 @@ # sitelib for noarch packages, sitearch for others (remove the unneeded one) -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: rubber -Version: 1.1 -Release: 18%{?dist} +Version: 1.3 +Release: 1%{?dist} Summary: An automated system for building LaTeX documents Group: Applications/Publishing License: GPL+ -URL: https://launchpad.net/rubber -Source0: https://launchpad.net/rubber/trunk/1.1/+download/%{name}-%{version}.tar.gz -Patch0: rubber-python26.patch -Patch1: rubber-1.1-spaces.patch +URL: https://launchpad.net/%{name} +Source0: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python-devel texinfo Requires: tex(latex) @@ -32,8 +30,6 @@ Metapost compilation). %prep %setup -q -%patch0 -p1 -%patch1 -p1 for file in doc/man-fr/*; do iconv -f ISO88591 -t utf8 $file -o $file done @@ -43,14 +39,12 @@ done make %{?_smp_mflags} %install -rm -rf %{buildroot} %{__python} setup.py install --root %{buildroot} -rm %{buildroot}/usr/share/rubber/modules/etex.rub -%post +%post /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : -%preun +%preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi @@ -65,6 +59,9 @@ fi %{_mandir}/fr/man1/*.gz %changelog +* Tue Nov 24 2015 Dennis Chen - 1.3-1 +- Updated to latest version + * Thu Jun 18 2015 Fedora Release Engineering - 1.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index c25a55f..8279594 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8087cdb498f51f91c2427c7d0b253189 rubber-1.1.tar.gz +f0e0ca57cb0f84f234f49c7b044669dc rubber-1.3.tar.gz