From 5c08e9c4c6b6d4b83fe77b633564ad89a0631e97 Mon Sep 17 00:00:00 2001 From: smileknife Date: Tue, 23 Jun 2020 22:30:34 +0800 Subject: [PATCH] Init package Signed-off-by: smileknife --- python-backcall.spec | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/python-backcall.spec b/python-backcall.spec index dc7d910..48c2e09 100644 --- a/python-backcall.spec +++ b/python-backcall.spec @@ -9,28 +9,24 @@ Source0: https://files.pythonhosted.org/packages/a2/40/764a663805d84deee23043e14 BuildArch: noarch -%description -If your code lets other people supply callback functions, it's important to -specify the function signature you expect, and check that functions support that. +%global _description\ +Specifications for callback functions passed in to an API\ +If your code lets other people supply callback functions, it's important to\ +specify the function signature you expect, and check that functions support that.\ Adding extra parameters later would break other peoples code unless you're careful. +%description %_description %package -n python3-backcall Summary: Specifications for callback functions passed in to an API Provides: python-backcall BuildRequires: python3-devel BuildRequires: python3-setuptools -%description -n python3-backcall -If your code lets other people supply callback functions, it's important to -specify the function signature you expect, and check that functions support that. -Adding extra parameters later would break other peoples code unless you're careful. +%description -n python3-backcall %_description %package help Summary: Development documents and examples for backcall Provides: python3-backcall-doc -%description help -If your code lets other people supply callback functions, it's important to -specify the function signature you expect, and check that functions support that. -Adding extra parameters later would break other peoples code unless you're careful. +%description help %_description %prep %autosetup -n backcall-0.2.0