Skip to content

Commit

Permalink
Removes /etc/default/freelan and uses macro for some directories.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-vincent committed Aug 15, 2017
1 parent 9775b1e commit 2999934
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packaging/rpm/freelan.spec
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,8 @@ cp -a build/release/bin/freelan $RPM_BUILD_ROOT/%{_bindir}/
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/freelan
cp -a apps/freelan/config/freelan.cfg $RPM_BUILD_ROOT/%{_sysconfdir}/freelan/
# manpage
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
cp packaging/rpm/freelan.1 $RPM_BUILD_ROOT/usr/share/man/man1/freelan.1
# default script
mkdir -p $RPM_BUILD_ROOT/etc/default
cp packaging/rpm/freelan.default $RPM_BUILD_ROOT/etc/default/freelan
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
cp packaging/rpm/freelan.1 $RPM_BUILD_ROOT/%{_mandir}/man1/freelan.1
# systemd unit
mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
cp -p packaging/rpm/[email protected] $RPM_BUILD_ROOT/%{_unitdir}/
Expand Down

0 comments on commit 2999934

Please sign in to comment.