SPECS: gengetopt.spec - better dir for examples - adapterized
pawelz
pawelz at pld-linux.org
Wed Oct 1 21:42:41 CEST 2008
Author: pawelz Date: Wed Oct 1 19:42:41 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- better dir for examples
- adapterized
---- Files affected:
SPECS:
gengetopt.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/gengetopt.spec
diff -u SPECS/gengetopt.spec:1.3 SPECS/gengetopt.spec:1.4
--- SPECS/gengetopt.spec:1.3 Tue Sep 16 16:07:38 2008
+++ SPECS/gengetopt.spec Wed Oct 1 21:42:35 2008
@@ -53,14 +53,14 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name},%{_datadir}/%{name},%{_infodir},%{_mandir}/man1}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}-%{version}/%{name},%{_datadir}/%{name},%{_infodir},%{_mandir}/man1}
-install src/gengetopt $RPM_BUILD_ROOT%{_bindir}/gengetopt
-install doc/*.{c,cc,ggo,h} $RPM_BUILD_ROOT%{_examplesdir}/gengetopt
-install doc/README.example $RPM_BUILD_ROOT%{_examplesdir}/gengetopt
-install src/gnugetopt.h $RPM_BUILD_ROOT%{_datadir}/gengetopt/gnugetopt.h
-install src/getopt.c $RPM_BUILD_ROOT%{_datadir}/gengetopt/getopt.c
-install src/getopt1.c $RPM_BUILD_ROOT%{_datadir}/gengetopt/getopt1.c
+install src/%{name} $RPM_BUILD_ROOT%{_bindir}/gengetopt
+install doc/*.{c,cc,ggo,h} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install doc/README.example $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install src/gnugetopt.h $RPM_BUILD_ROOT%{_datadir}/%{name}/gnugetopt.h
+install src/getopt.c $RPM_BUILD_ROOT%{_datadir}/%{name}/getopt.c
+install src/getopt1.c $RPM_BUILD_ROOT%{_datadir}/%{name}/getopt1.c
install doc/gengetopt.info $RPM_BUILD_ROOT%{_infodir}/gengetopt.info
install doc/gengetopt.1 $RPM_BUILD_ROOT%{_mandir}/man1/gengetopt.1
@@ -77,7 +77,7 @@
%files examples
%defattr(644,root,root,755)
-%{_examplesdir}/%{name}
+%{_examplesdir}/%{name}-%{version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -85,6 +85,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2008/10/01 19:42:35 pawelz
+- better dir for examples
+- adapterized
+
Revision 1.3 2008/09/16 14:07:38 pawelz
- %{__libtoolize} contains --force
- adapterized
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gengetopt.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list