$ git show --format=fuller --patch-with-stat --summary 82f20104b7220dac431517c7af5c306fdf47ba7a
commit 82f20104b7220dac431517c7af5c306fdf47ba7a
Author: Bernhard Rosenkränzer <bero@lindev.ch>
AuthorDate: Mon Sep 26 04:42:09 2022 +0200
Commit: Bernhard Rosenkränzer <bero@lindev.ch>
CommitDate: Mon Sep 26 04:42:09 2022 +0200
1.9, fix auto-updating
---
.abf.yml | 4 +--
python-mygpoclient.spec | 73 ++++++-------------------------------------------
2 files changed, 9 insertions(+), 68 deletions(-)
diff --git a/.abf.yml b/.abf.yml
index ab5519e..7999452 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,4 +1,2 @@
-removed_sources:
- mygpoclient-1.6.tar.gz: 14eac26757fe8b857e2e5ffc14c31ff9b2a0db4d
sources:
- mygpoclient-1.7.tar.gz: 9efb1d07b75b13bfa1ea7c644505ebef14fabb26
+ mygpoclient-1.9.tar.gz: bbf50b5c80b1ab3c4b7871dcd6c7b96a9404a3c5
diff --git a/python-mygpoclient.spec b/python-mygpoclient.spec
index 49d4be6..939df77 100644
--- a/python-mygpoclient.spec
+++ b/python-mygpoclient.spec
@@ -1,16 +1,12 @@
%define oname mygpoclient
-%define name python-%oname
-%define version 1.6
-%define release 2
Summary: Library for accessing my.gpodder.org web services
-Name: %{name}
-Version: 1.7
-Release: 2
+Name: python-%oname
+Version: 1.9
+Release: 1
Source0: http://thpinfo.com/2010/mygpoclient/mygpoclient-%{version}.tar.gz
License: GPLv3
Group: Development/Python
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: noarch
BuildRequires: python-devel
Url: http://thpinfo.com/2010/mygpoclient/
@@ -22,70 +18,17 @@ subscriptions. This page provides the public place for downloading
source releases of the library.
%prep
-%setup -q -n %oname-%version
-%autopatch -p1
+%autosetup -p1 -n %oname-%version
%build
-python setup.py build
+%py_build
%install
-rm -rf $RPM_BUILD_ROOT
-python setup.py install --root=$RPM_BUILD_ROOT
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%py_install
%files
%defattr(-,root,root)
-%doc AUTHORS README
-%_bindir/bpsync
+%_bindir/mygpo*
%py_puresitedir/%oname
%py_puresitedir/*.egg-info
-
-
-%changelog
-* Fri Aug 05 2011 Götz Waschk <waschk@mandriva.org> 1.6-1mdv2012.0
-+ Revision: 693273
-- update to new version 1.6
-
-* Tue Nov 02 2010 Funda Wang <fwang@mandriva.org> 1.5-2mdv2011.0
-+ Revision: 591742
-- rebuild for py 2.7
-
-* Sun Oct 10 2010 Götz Waschk <waschk@mandriva.org> 1.5-1mdv2011.0
-+ Revision: 584541
-- new version
-- drop patch
-
-* Mon Sep 27 2010 Götz Waschk <waschk@mandriva.org> 1.4-2mdv2011.0
-+ Revision: 581208
-- fix server response checking (bug #1131)
-
-* Mon Apr 26 2010 Götz Waschk <waschk@mandriva.org> 1.4-1mdv2010.1
-+ Revision: 538917
-- update to new version 1.4
-
-* Mon Apr 26 2010 Götz Waschk <waschk@mandriva.org> 1.3-1mdv2010.1
-+ Revision: 538815
-- new version
-- add bpsync tool
-
-* Mon Mar 15 2010 Götz Waschk <waschk@mandriva.org> 1.2-1mdv2010.1
-+ Revision: 519818
-- update to new version 1.2
-- remove dep on simplejson
-
-* Fri Feb 19 2010 Götz Waschk <waschk@mandriva.org> 1.1-1mdv2010.1
-+ Revision: 508386
-- update to new version 1.1
-
-* Thu Feb 04 2010 Götz Waschk <waschk@mandriva.org> 1.0-2mdv2010.1
-+ Revision: 500722
-- add dep on simplejson
-
-* Thu Feb 04 2010 Götz Waschk <waschk@mandriva.org> 1.0-1mdv2010.1
-+ Revision: 500715
-- import python-mygpoclient
-
-
-
+%{_mandir}/man1/*.1*