remove requirement for cross pkg-config package (missing since switching to pkgconf) [release 0.4-15mamba;Tue May 03 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 21:34:12 +01:00
parent 1a18d9e17a
commit cdbc13f847

View File

@ -7,13 +7,13 @@
Name: cross-environment Name: cross-environment
Version: 0.4 Version: 0.4
Release: 14mamba Release: 15mamba
Summary: Environment files for cross-platform development Summary: Environment files for cross-platform development
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.openmamba.org URL: https://openmamba.org/en/
Source0: %{name}-0.4.tar.bz2 Source0: %{name}-0.4.tar.bz2
Source1: %{name}-arm-macros Source1: %{name}-arm-macros
Source2: %{name}-x86_64-macros Source2: %{name}-x86_64-macros
@ -26,7 +26,6 @@ BuildRequires: cross-%{_target_platform}-binutils
BuildRequires: cross-%{_target_platform}-gcc BuildRequires: cross-%{_target_platform}-gcc
BuildRequires: cross-%{_target_platform}-glibc BuildRequires: cross-%{_target_platform}-glibc
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Environment files for cross-platform development. Environment files for cross-platform development.
@ -39,7 +38,7 @@ Requires: qemu
Requires: cross-%{_target_platform}-binutils Requires: cross-%{_target_platform}-binutils
Requires: cross-%{_target_platform}-gcc Requires: cross-%{_target_platform}-gcc
Requires: cross-%{_target_platform}-glibc Requires: cross-%{_target_platform}-glibc
Requires: cross-%{_target_platform}-pkg-config #Requires: cross-%{_target_platform}-pkg-config
%description -n cross-%{_target_platform}-environment %description -n cross-%{_target_platform}-environment
Environment files for cross-platform development. Environment files for cross-platform development.
@ -78,6 +77,7 @@ ln -s ../include $CROSSDIR/usr/include
ln -s ../%{_lib} $CROSSDIR%{_libdir} ln -s ../%{_lib} $CROSSDIR%{_libdir}
rpm -r $CROSSDIR --initdb rpm -r $CROSSDIR --initdb
rm -f $CROSSDIR/var/lib/rpm/__db.00* rm -f $CROSSDIR/var/lib/rpm/__db.00*
rm -f $CROSSDIR/var/lib/rpm/.{dbenv,rpm}.lock
# qemu symlink in /usr/gnemul # qemu symlink in /usr/gnemul
install -d -m0755 %{buildroot}%{_prefix}/gnemul install -d -m0755 %{buildroot}%{_prefix}/gnemul
@ -107,7 +107,7 @@ exit 0
%{_prefix}/%{_target_platform}/sys-include %{_prefix}/%{_target_platform}/sys-include
%{_prefix}/%{_target_platform}/usr/include %{_prefix}/%{_target_platform}/usr/include
%{_prefix}/%{_target_platform}%{_libdir} %{_prefix}/%{_target_platform}%{_libdir}
%config(noreplace) %{_prefix}/%{_target_platform}/var/lib/rpm/Packages %config(noreplace) %{_prefix}/%{_target_platform}/var/lib/rpm/*
%dir %{_prefix}/%{_target_platform}/usr/src/RPM %dir %{_prefix}/%{_target_platform}/usr/src/RPM
#%{_prefix}/gnemul/qemu-%{target_cpu} #%{_prefix}/gnemul/qemu-%{target_cpu}
%{_datadir}/cross-environment-%{version}/fakedeps-%{fakedeps_ver}.%{target_cpu}.rpm %{_datadir}/cross-environment-%{version}/fakedeps-%{fakedeps_ver}.%{target_cpu}.rpm
@ -119,6 +119,9 @@ exit 0
%attr(775,root,packager) %{_prefix}/%{_target_platform}/usr/src/RPM/RPMS/* %attr(775,root,packager) %{_prefix}/%{_target_platform}/usr/src/RPM/RPMS/*
%changelog %changelog
* Tue May 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-15mamba
- remove requirement for cross pkg-config package (missing since switching to pkgconf)
* Fri Apr 20 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-14mamba * Fri Apr 20 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-14mamba
- i586: rebuilt after removing x86_64 cross target - i586: rebuilt after removing x86_64 cross target