Update spec file

master
Daniel Berteaud 6 years ago
parent 692ff802b4
commit d69f1626eb
  1. 9
      wpkg-fwsupdates.spec

@ -1,6 +1,6 @@
%define package fwsupdates %define package fwsupdates
%define version 0.1.0 %define version 0.1.0
%define release 0.beta1 %define release 0.beta23
Name: wpkg-fwsupdates Name: wpkg-fwsupdates
Version: %{version} Version: %{version}
@ -39,6 +39,7 @@ done
%install %install
/bin/rm -rf %{buildroot} /bin/rm -rf %{buildroot}
cp -a root %{buildroot}/ cp -a root %{buildroot}/
mkdir -p %{buildroot}/home/e-smith/files/shares/tools/files/scripts/fwsupdates/
mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/packages mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/packages
mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/%{package} mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/%{package}
mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/settings/%{package} mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/settings/%{package}
@ -46,15 +47,15 @@ cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/%{
cp -r packages/* %{buildroot}/home/e-smith/files/shares/wpkg/files/packages/ cp -r packages/* %{buildroot}/home/e-smith/files/shares/wpkg/files/packages/
cp -r settings/* %{buildroot}/home/e-smith/files/shares/wpkg/files/settings/%{package}/ cp -r settings/* %{buildroot}/home/e-smith/files/shares/wpkg/files/settings/%{package}/
%clean
/bin/rm -rf %{buildroot}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc CHANGELOG.git %doc CHANGELOG.git
/home/e-smith/files/shares/ /home/e-smith/files/shares/
/etc /etc
%clean
/bin/rm -rf %{buildroot}
%changelog %changelog
* Wed Dec 9 2015 Daniel Berteaud <daniel@firewall-services.com> 0.1.0-1 * Wed Dec 9 2015 Daniel Berteaud <daniel@firewall-services.com> 0.1.0-1
- First package - First package

Loading…
Cancel
Save