Accepting request 436960 from home:jengelh:branches:utilities
- Remove redundant sections OBS-URL: https://build.opensuse.org/request/show/436960 OBS-URL: https://build.opensuse.org/package/show/utilities/etckeeper?expand=0&rev=13
This commit is contained in:
parent
53bc8c5530
commit
224c4dbdab
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 22 17:39:27 UTC 2016 - jengelh@inai.de
|
||||
|
||||
- Remove redundant sections
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 09:34:41 UTC 2016 - ecsos@opensuse.org
|
||||
|
||||
|
@ -108,7 +108,7 @@ The etckeeper-zypp-plugin calls etckeeper from YUM.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%__perl -pi -e '
|
||||
@ -118,7 +118,7 @@ s|^(\s*)(VCS)=.+|$1$2=git|;
|
||||
' ./etckeeper.conf
|
||||
|
||||
# rpmlint
|
||||
find -type f -name ".gitignore" -exec rm {} \;
|
||||
find -type f -name ".gitignore" -delete
|
||||
|
||||
# use %%{_unitdir} for rpm-based distros
|
||||
sed -i 's:systemddir=/lib/systemd/system:systemddir=%{_unitdir}:g' Makefile
|
||||
@ -137,9 +137,6 @@ mkdir %{buildroot}%{_sbindir}
|
||||
ln -s ../bin/%{name} %{buildroot}%{_sbindir}/%{name}
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%pre
|
||||
%service_add_pre etckeeper.service
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user