Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[packaging] Remove requires of qt #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions nemo-ssu-repos.pro

This file was deleted.

15 changes: 8 additions & 7 deletions rpm/nemo-ssu-repos.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ Group: System/Base
BuildArch: noarch
License: GPLv2
Source0: %{name}-%{version}.tar.gz
BuildRequires: pkgconfig(QtCore)
BuildRequires: oneshot

%description
%{summary}.
Expand All @@ -17,7 +15,10 @@ BuildRequires: oneshot
Summary: Sample vendor configuration data
Group: System/Base
Requires: ssu >= 0.31
Requires: oneshot

Provides: ssu-vendor-data

Obsoletes: nemo-ssu-repos-release
Obsoletes: nemo-ssu-repos-mer-tools-release
Obsoletes: nemo-ssu-repos-adaptation-release
Expand All @@ -26,8 +27,6 @@ Obsoletes: nemo-ssu-repos-rnd
Obsoletes: nemo-ssu-repos-mer-tools-rnd
Obsoletes: nemo-ssu-repos-adaptation-rnd
Obsoletes: nemo-ssu-repos-adaptation-common-rnd
Requires: oneshot
%{_oneshot_requires_post}

%description -n ssu-vendor-data-nemo
%{summary}. A vendor (including Nemo) is supposed to put those configuration on device.
Expand All @@ -44,9 +43,11 @@ Requires: oneshot
%setup -q -n %{name}-%{version}

%build
qmake DEFINES+='TARGET_ARCH=\\\"\"%{_target_cpu}\"\\\"' -recursive
make %{?_smp_mflags}
mkdir -p $RPM_BUILD_ROOT

%install
make INSTALL_ROOT=%{buildroot} install
install -D -m 644 ssu/ssu.ini $RPM_BUILD_ROOT%{_sysconfdir}/ssu/ssu.ini
install -D -m 644 ssu/repos.ini $RPM_BUILD_ROOT%{_datadir}/ssu/repos.ini
install -D -m 644 ssu/ssu-defaults.ini $RPM_BUILD_ROOT%{_datadir}/ssu/ssu-defaults.ini
install -D -m 644 ssu/board-mappings.ini $RPM_BUILD_ROOT%{_datadir}/ssu/board-mappings.ini

9 changes: 0 additions & 9 deletions ssu/ssu.pro

This file was deleted.