pungi/tests/data/specs/dummy-glibc.spec
Lubomír Sedlář ff526d1dd2 Regenerate test fixture repo
Make dummy-bash -> dummy-glibc dependency require archful. This avoids
potential race condition where order of dependency processing can result in
different packages being pulled in. The tests where this could happen are
updated.

Make dummy-glibc-debuginfo depend on dummy-glibc-debuginfo-common.

The filenames for the repo no longer include hash, and sqlite databases are not
generated.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2019-10-03 10:46:21 +02:00

80 lines
1.4 KiB
RPMSpec

Name: dummy-glibc
Version: 2.14
Release: 5
License: LGPLv2
Summary: A dummy glibc package
Requires: %{name}-common = %{version}-%{release}
Requires: dummy-basesystem
%if %__isa_bits == 32
Provides: libc.so.6()
Provides: libpthread.so.0(GLIBC_2.0)
%else
Provides: libc.so.6()(64bit)
Provides: libpthread.so.0(GLIBC_2.3)(64bit)
%endif
%description
A dummy glibc package
%package common
Summary: A dummy glibc-common package
%description common
A dummy glibc-common package
%package -n dummy-nscd
Summary: A dummy nscd package
%description -n dummy-nscd
A dummy nscd package
%package debuginfo
Summary: A dummy glibc-debuginfo package
Group: Development/Debug
Requires: %{name}-debuginfo-common%{?_isa} = %{version}-%{release}
%description debuginfo
A dummy glibc-debuginfo package
%package debuginfo-common
Summary: A dummy glibc-debuginfo-common package
Group: Development/Debug
%description debuginfo-common
A dummy glibc-debuginfo-common package
#%prep
#%setup -q
%build
echo OK
%install
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%if %__isa_bits == 32
%ghost /lib/libc.so.6
%else
%ghost /lib64/libc.so.6
%endif
%files common
%files -n dummy-nscd
%files debuginfo
%files debuginfo-common
%changelog
* Tue Oct 18 2011 Daniel Mach <dmach@redhat.com> - 2.14-5
- First release