[PyXB] Update to official upstream version 1.2.4

Michal Srb msrb at fedoraproject.org
Mon Oct 20 11:39:32 UTC 2014


commit 13601a2c746e8efbb6ff88244bb0ca3efe6702d2
Author: Michal Srb <msrb at redhat.com>
Date:   Mon Oct 20 10:28:29 2014 +0200

    Update to official upstream version 1.2.4

 .gitignore |    1 +
 PyXB.spec  |   15 ++++++---------
 sources    |    2 +-
 3 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 806f6c3..e4aa830 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /PyXB-full-1.1.2.tar.gz
 /PyXB-1.2.3.tar.gz
 /PyXB-1.2.4.tar.xz
+/PyXB-1.2.4.tar.gz
diff --git a/PyXB.spec b/PyXB.spec
index 0a7228b..6f4d83b 100644
--- a/PyXB.spec
+++ b/PyXB.spec
@@ -8,14 +8,11 @@
 
 Name:           PyXB
 Version:        1.2.4
-Release:        0.2.gitc494ba3%{?dist}
+Release:        1%{?dist}
 Summary:        Python XML Schema Bindings
 License:        Apache
 URL:            http://pyxb.sourceforge.net/
-# https://github.com/pabigot/pyxb
-# git checkout next
-# git reset --hard c494ba3
-Source0:        %{name}-%{version}.tar.xz
+Source0:        https://github.com/pabigot/pyxb/archive/%{name}-%{version}.tar.gz
 BuildArch:      noarch
 
 BuildArch:      noarch
@@ -53,10 +50,7 @@ This package contains documentation and examples for PyXB.
 
 
 %prep
-%setup -q
-
-# remove "-DEV" from version
-sed -i 's|\(%{version}\)-DEV|\1|' setup.py doc/conf.py pyxb/__init__.py
+%setup -q -n pyxb-%{name}-%{version}
 
 %if 0%{?with_python3}
 rm -rf %{py3dir}
@@ -122,6 +116,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Oct 20 2014 Michal Srb <msrb at redhat.com> - 1.2.4-1
+- Update to official upstream version 1.2.4
+
 * Mon Sep 22 2014 Michal Srb <msrb at redhat.com> - 1.2.4-0.2.gitc494ba3
 - Move documentation and examples to subpackage (Resolves: rhbz#1144488)
 
diff --git a/sources b/sources
index 09bbb5c..e0853a0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0f90fba3110ce1d3c4f35a46ab5fbfac  PyXB-1.2.4.tar.xz
+1ccdfe7043eb6c6c6be98b2727b77ed5  PyXB-1.2.4.tar.gz


More information about the scm-commits mailing list