mock build

This commit is contained in:
alexey
2025-03-15 00:01:18 +03:00
parent 9cf2aabc65
commit 998f87cee3
61 changed files with 3581 additions and 37 deletions

View File

@@ -0,0 +1,49 @@
Name: a
Version: 1.0
Release: 0
License: GPLv2
Summary: Minimal package example
Url: http://www.a.com
Group: Development
Source: a-1.0.tar.gz
BuildRequires: c d
Provides: something
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Description
%package devel
Summary: Development part
%description devel
Development headers
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%post
%postun
%files
%defattr(-,root,root)
%doc ChangeLog README COPYING
%{_datadir}/a/README
%files devel
%{_includedir}/a.h
%changelog