mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 20:22:46 +00:00

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`.
26 lines
502 B
RPMSpec
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
|