1 |
%define name madsonic |
%define name madsonic |
2 |
%define version 6.2.9092 |
%define version 6.2.9092 |
3 |
%define release 2 |
%define release 3 |
4 |
%define __os_install_post \ |
%define __os_install_post \ |
5 |
/usr/lib/rpm/brp-compress \ |
/usr/lib/rpm/brp-compress \ |
6 |
/usr/lib/rpm/brp-strip \ |
/usr/lib/rpm/brp-strip \ |
15 |
Source1: madsonic.service |
Source1: madsonic.service |
16 |
Patch0: madsonic-6.2.9084-test.patch |
Patch0: madsonic-6.2.9084-test.patch |
17 |
Patch1: madsonic-6.2.9084-sysconfig.patch |
Patch1: madsonic-6.2.9084-sysconfig.patch |
18 |
|
Patch2: madsonic-6.2.9092-bz12305-failing.patch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
20 |
BuildArch: noarch |
BuildArch: noarch |
21 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
25 |
URL: http://madsonic.org |
URL: http://madsonic.org |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
|
* Sat Jan 21 2023 Jean-Philippe Pialasse <tests@pialasse.com> 6.2.9092-3.sme |
29 |
|
- fix failing service on update and few occasions [SME: 12305] |
30 |
|
|
31 |
* Fri Dec 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 6.2.9092-2.sme |
* Fri Dec 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 6.2.9092-2.sme |
32 |
- fix madsonic fails as starting before network |
- fix madsonic fails as starting before network |
33 |
|
|
63 |
%setup |
%setup |
64 |
%patch0 -p1 |
%patch0 -p1 |
65 |
%patch1 -p1 |
%patch1 -p1 |
66 |
|
%patch2 -p1 |
67 |
mkdir -p root/usr/lib/systemd/system |
mkdir -p root/usr/lib/systemd/system |
68 |
cp %{SOURCE1} root/usr/lib/systemd/system |
cp %{SOURCE1} root/usr/lib/systemd/system |
69 |
mkdir -p root/run/madsonic |
mkdir -p root/run/madsonic |