Skip to content

Commit

Permalink
[ppp] Clean up spec file.
Browse files Browse the repository at this point in the history
Signed-off-by: Matti Kosola <matti.kosola@jolla.com>
  • Loading branch information
mkosola committed Jun 5, 2020
1 parent b08ed97 commit 379651a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions rpm/ppp.spec
Expand Up @@ -2,10 +2,9 @@ Name: ppp
Summary: Point-to-Point
Version: 2.4.8
Release: 1
Group: Applications/Internet
License: BSD and GPLv2+ and LGPLv2+ and Public Domain
URL: https://ppp.samba.org/
Source0: https://download.samba.org/pub/%{name}/%{name}-%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
Patch0: ppp-destdir.patch
Requires: openssl-libs
BuildRequires: coreutils
Expand All @@ -18,15 +17,13 @@ PPP point-to-point tunnelling daemon.

%package devel
Summary: PPP devel files
Group: Development/Libraries
Requires: ppp-libs = %{version}-%{release}

%description devel
PPP devel files.

%package libs
Summary: PPP libraries
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Expand All @@ -36,12 +33,11 @@ PPP libraries.


%prep
%setup -q -n %{name}-%{version}/%{name}
%patch0 -p1
%autosetup -p1 -n %{name}-%{version}/%{name}

%build
%configure --prefix=/usr
make %{?jobs:-j%jobs}
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
Expand Down

0 comments on commit 379651a

Please sign in to comment.