Mailinglist Archive: opensuse-packaging (127 mails)

< Previous Next >
Re: [opensuse-packaging] Re: Creating meta-packages for python2/3 from a single spec
On 08/21/2017 03:46 PM, John Paul Adrian Glaubitz wrote:
(you might get interesting results with the commented out %files section as

hope this helps

Definitely. Thanks a lot for the quick help!

Hmm. So, I have followed your advice and properly commented out %python_build
so on. While it now builds fine, it actually just generates the source RPM.

I thoroughly checked whether I missed something obvious but I couldn't find
anything. With the changes in the diff, I just get the source RPM.

Any ideas?

Index: python-azure-sdk.spec
--- python-azure-sdk.spec (revision 194700736005f345eb14da771d463ebd)
+++ python-azure-sdk.spec (working copy)
@@ -24,8 +24,8 @@
License: MIT
Group: Development/Languages/Python
-Source1: LICENSE.txt
+#Source1: LICENSE.txt
Patch1: a_drop-compatible-releases-operator.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
@@ -64,19 +64,19 @@
All packages in this bundle have been tested with Python 2.7, 3.3, 3.4, 3.5
and 3.6.

-%setup -q -n azure-2.0.0
-%patch1 -p1
+#%%setup -q -n azure-2.0.0
+#%%patch1 -p1

-install -m 644 %{SOURCE1} %{_builddir}/azure-2.0.0
+#install -m 644 %{SOURCE1} %{_builddir}/azure-2.0.0


-%files %{python_files}
-%doc LICENSE.txt README.rst
+#%%files %{python_files}
+#%%doc LICENSE.txt README.rst


< Previous Next >
Follow Ups