tito/test/functional/specs/extsrc-2.spec
Jakub Kadlcik 998f7fb067 Make tests working on systems without non-versioned python macros
See RHBZ 1784688

We are using unversioned python macros, such as `%__python` and
`%python_sitelib` which are not supported in Fedora rawhide
anymore. Instead, we should use `%__python3` and `%python3_sitelib`.
2020-10-12 11:39:27 +02:00

26 lines
502 B
RPMSpec

%{!?python2_sitelib: %define python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: extsrc
Version: 0.0.1
Release: 1%{?dist}
Summary: tito test package for the external source builder
URL: https://example.com
License: GPLv2
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
%description
Nobody cares.
%prep
%build
%install
%clean
%files
%defattr(-,root,root)
%changelog