Skip to content

Commit

Permalink
[ssu-sysinfo] Remove garbage on %postun rule. Fixes JB#40395
Browse files Browse the repository at this point in the history
  • Loading branch information
pvuorela committed Nov 15, 2017
1 parent 1ccdab5 commit 07e6729
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions rpm/ssu-sysinfo.spec
@@ -1,4 +1,3 @@
# ----------------------------------------------------------- -*- mode: sh -*-
Name: ssu-sysinfo

Summary: Tools and libraries for getting ssu information without D-Bus IPC
Expand All @@ -16,8 +15,6 @@ This package contains command line tools and libraries for
obtaining static ssu information without requiring D-Bus IPC /
SSU daemon.

# ----------------------------------------------------------------------------

%package devel
Summary: Development files for ssu-sysinfo
Requires: %{name} = %{version}-%{release}
Expand All @@ -27,8 +24,6 @@ This package contains headers and pkg-config files required for
building applications that need to access static ssu related
information without using D-Bus IPC.

# ----------------------------------------------------------------------------

%prep
%setup -q -n %{name}-%{version}

Expand All @@ -45,16 +40,12 @@ make install DESTDIR=%{buildroot}

%postun -p /sbin/ldconfig

# ----------------------------------------------------------------------------

%files
%defattr(-,root,root,-)
%{_libdir}/libssusysinfo.so.*
%{_bindir}/ssu-sysinfo
%doc COPYING

# ----------------------------------------------------------------------------

%files devel
%defattr(-,root,root,-)
%dir %{_includedir}/ssusysinfo
Expand All @@ -63,4 +54,3 @@ make install DESTDIR=%{buildroot}
%dir %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/*.pc

# ----------------------------------------------------------------------------

0 comments on commit 07e6729

Please sign in to comment.