[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-extras-commits
Subject:    dcallagh pushed to python-unidiff (f23). "use %license and %python_provide, wrap %description"
From:       notifications () fedoraproject ! org
Date:       2016-06-30 23:11:04
Message-ID: 20160630231104.142C1601D723 () bastion01 ! phx2 ! fedoraproject ! org
[Download RAW message or body]

From 80c310b85e1e6df82340883ed892e504ff680004 Mon Sep 17 00:00:00 2001
From: Dan Callaghan <dcallagh@redhat.com>
Date: Wed, 29 Jun 2016 12:09:02 +1000
Subject: use %license and %python_provide, wrap %description

---
 python-unidiff.spec | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)

diff --git a/python-unidiff.spec b/python-unidiff.spec
index 58298fb..63d56a8 100644
--- a/python-unidiff.spec
+++ b/python-unidiff.spec
@@ -2,7 +2,7 @@
 
 Name:           python-%{modname}
 Version:        0.5.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Python library to parse and interact with unified diffs (patches)
 License:        MIT
 URL:            http://github.com/matiasb/python-unidiff
@@ -16,19 +16,24 @@ Patch1:         \
0001-don-t-install-tests-as-a-top-level-package.patch  Patch2:         \
0002-use-setuptools-console_scripts-for-usr-bin-unidiff.patch  
 %description
-%{name} is a %{summary}.
+python-unidiff is a Python library to parse and interact with unified diffs 
+(patches).
 
 %package -n python2-%{modname}
+%{?python_provide:%python_provide python2-%{modname}}
 Summary:        %{summary}
 
 %description -n python2-%{modname}
-%{name} is a %{summary}.
+python-unidiff is a Python library to parse and interact with unified diffs 
+(patches).
 
 %package -n python3-%{modname}
+%{?python_provide:%python_provide python3-%{modname}}
 Summary:        %{summary}
 
 %description -n python3-%{modname}
-%{name} is a %{summary}.
+python-unidiff is a Python library to parse and interact with unified diffs 
+(patches).
 
 %prep
 %setup -q -n %{modname}-%{version}
@@ -51,16 +56,21 @@ rm -r unidiff.egg-info
 #%%{__python3} setup.py test
 
 %files -n python2-%{modname}
-%doc README.md LICENSE
+%license LICENSE
+%doc README.md
 %{python2_sitelib}/%{modname}
 %{python2_sitelib}/%{modname}*.egg-info
 
 %files -n python3-%{modname}
-%doc README.md LICENSE
+%license LICENSE
+%doc README.md
 %{_bindir}/%{modname}
 %{python3_sitelib}/%{modname}
 %{python3_sitelib}/%{modname}*.egg-info
 
 %changelog
+* Wed Jun 29 2016 Dan Callaghan <dcallagh@redhat.com> - 0.5.2-2
+- use %%license and %%python_provide, wrap %%description
+
 * Fri Jun 17 2016 Dan Callaghan <dcallagh@redhat.com> - 0.5.2-1
 - initial version
-- 
cgit v0.12


	http://pkgs.fedoraproject.org/cgit/python-unidiff.git/commit/?h=f23&id=80c310b85e1e6df82340883ed892e504ff680004
                
--
scm-commits mailing list
scm-commits@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/scm-commits@lists.fedoraproject.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic