packages: ppp-plugin-ifcfg-password/ppp-plugin-ifcfg-password.spec - use un...

glen glen at pld-linux.org
Mon Apr 2 12:22:14 CEST 2012


Author: glen                         Date: Mon Apr  2 10:22:14 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use unversioned ppp plugins dir

---- Files affected:
packages/ppp-plugin-ifcfg-password:
   ppp-plugin-ifcfg-password.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: packages/ppp-plugin-ifcfg-password/ppp-plugin-ifcfg-password.spec
diff -u packages/ppp-plugin-ifcfg-password/ppp-plugin-ifcfg-password.spec:1.16 packages/ppp-plugin-ifcfg-password/ppp-plugin-ifcfg-password.spec:1.17
--- packages/ppp-plugin-ifcfg-password/ppp-plugin-ifcfg-password.spec:1.16	Mon May 31 17:46:03 2010
+++ packages/ppp-plugin-ifcfg-password/ppp-plugin-ifcfg-password.spec	Mon Apr  2 12:22:09 2012
@@ -3,14 +3,14 @@
 Summary(pl.UTF-8):	Wtyczka ppp czytająca hasła z ifcfg
 Name:		ppp-plugin-ifcfg-password
 Version:	0.1
-Release:	7
+Release:	8
 License:	distributable
 Group:		Networking/Daemons
 Source0:	ftp://dev.null.pl/pub/%{name}-%{version}.tar.gz
 # Source0-md5:	926c7fc7bd73fcec8769dfcda66247d7
 BuildRequires:	ppp-plugin-devel >= 2.4.1
 BuildRequires:	rpmbuild(macros) >= 1.145
-%{requires_eq_to ppp ppp-plugin-devel}
+Requires:	ppp
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,9 +33,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-%{__make} install \
-	LIBDIR=$RPM_BUILD_ROOT%{_libdir}/pppd
+install -d $RPM_BUILD_ROOT%{_libdir}/pppd/plugins
+install -p ifcfg-password.so $RPM_BUILD_ROOT%{_libdir}/pppd/plugins
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -43,7 +42,7 @@
 %files
 %defattr(644,root,root,755)
 %doc README
-%attr(755,root,root) %{_libdir}/pppd/*/*.so
+%attr(755,root,root) %{_libdir}/pppd/plugins/ifcfg-password.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -51,6 +50,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2012/04/02 10:22:09  glen
+- use unversioned ppp plugins dir
+
 Revision 1.16  2010/05/31 15:46:03  sparky
 - typo
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/ppp-plugin-ifcfg-password/ppp-plugin-ifcfg-password.spec?r1=1.16&r2=1.17



More information about the pld-cvs-commit mailing list