diff options
-rw-r--r-- | packaging/hal-rootstrap.spec | 49 |
1 files changed, 1 insertions, 48 deletions
diff --git a/packaging/hal-rootstrap.spec b/packaging/hal-rootstrap.spec index 4becef8..dc3ddc8 100644 --- a/packaging/hal-rootstrap.spec +++ b/packaging/hal-rootstrap.spec @@ -1,10 +1,5 @@ %define name hal-rootstrap %define devel_name hal-rootstrap-devel -%define hal_rootstrap_install_path /opt/data/hal-rootstrap/common - -%define headed_name hal-rootstrap-headed -%define headed_devel_name hal-rootstrap-headed-devel -%define hal_rootstrap_headed_install_path /opt/data/hal-rootstrap/headed Name: hal-rootstrap Summary: Package for rootstrap of hal @@ -19,7 +14,7 @@ BuildRequires: cmake BuildRequires: xmlstarlet BuildRequires: python3 -BuildRequires: hal-rootstrap-data-common +#BuildRequires: hal-rootstrap-data-common ### hal-rootstrap %description @@ -34,23 +29,6 @@ Requires: %{name} = %{version}-%{release} %description -n %{devel_name} %{name} Interface for product vendor developer -### hal-rootstrap-headed -%package -n %{headed_name} -Summary: Package for rootstrap of hal, for headed image -AutoReqProv: no - -%description -n %{headed_name} -Package for rootstrap of hal, for headed image - -### hal-rootstrap-headed-devel -%package -n %{headed_devel_name} -Summary: %{headed_name} interface -Group: Development/Libraries -Requires: %{headed_name} = %{version}-%{release} - -%description -n %{headed_devel_name} -${headed_name} Interface for product vendor developer - %prep %setup -q %cmake . -DCMAKE_LIBDIR_PREFIX=%{_libdir} @@ -62,33 +40,8 @@ make %{?jobs:-j%jobs} rm -rf %{buildroot} mkdir %{buildroot} mkdir -p %{buildroot}%{_libdir}/pkgconfig/ - -# hal-rootstrap -./generate_rootstrap.sh "%{_arch}" "common" "%{buildroot}%{hal_rootstrap_install_path}" cp packaging/hal-rootstrap.pc %{buildroot}%{_libdir}/pkgconfig/ -./modify_pc.py "%{buildroot}%{_libdir}/pkgconfig/hal-rootstrap.pc" "%{buildroot}%{hal_rootstrap_install_path}/%{_libdir}/pkgconfig" -rm -f "%{buildroot}%{hal_rootstrap_install_path}/%{_libdir}/pkgconfig/*.pc" - -# hal-rootstrap-headed -./generate_rootstrap.sh "%{_arch}" "headed" "%{buildroot}%{hal_rootstrap_headed_install_path}" -cp packaging/hal-rootstrap-headed.pc %{buildroot}%{_libdir}/pkgconfig/ -./modify_pc.py "%{buildroot}%{_libdir}/pkgconfig/hal-rootstrap-headed.pc" "%{buildroot}%{hal_rootstrap_headed_install_path}/%{_libdir}/pkgconfig" -rm -f "%{buildroot}%{hal_rootstrap_headed_install_path}/%{_libdir}/pkgconfig/*.pc" - -%files -%{hal_rootstrap_install_path} -%exclude %dir %{hal_rootstrap_install_path}/%{_includedir} %files -n %{devel_name} %defattr(-,root,root,-) -%{hal_rootstrap_install_path}/%{_includedir} %{_libdir}/pkgconfig/hal-rootstrap.pc - -%files -n %{headed_name} -%{hal_rootstrap_headed_install_path} -%exclude %dir %{hal_rootstrap_headed_install_path}/%{_includedir} - -%files -n %{headed_devel_name} -%defattr(-,root,root,-) -%{hal_rootstrap_headed_install_path}/%{_includedir} -%{_libdir}/pkgconfig/hal-rootstrap-headed.pc |