View | Details | Raw Unified | Return to bug 149945
Collapse All | Expand All

(-)acl.spec.orig (-9 / +12 lines)
Lines 81-89 aclocal --acdir=m4 Link Here
81
autoconf
81
autoconf
82
CFLAGS="$RPM_OPT_FLAGS"
82
CFLAGS="$RPM_OPT_FLAGS"
83
./configure \
83
./configure \
84
	--prefix=/usr \
84
	--prefix=/ \
85
	--exec-prefix=/ \
86
	--sbindir=/bin \
87
	--bindir=%{_bindir} \
85
	--mandir=%{_mandir} \
88
	--mandir=%{_mandir} \
86
	--libdir=%{_libdir} \
89
	--includedir=%{_includedir} \
90
	--libdir=/%{_lib} \
91
	--datadir=/usr/share \
87
	--libexecdir=%{_libdir}
92
	--libexecdir=%{_libdir}
88
make
93
make
89
94
Lines 96-105 export DIST_ROOT DIST_INSTALL DIST_INSTA Link Here
96
/usr/bin/make install DIST_MANIFEST="$DIST_INSTALL"
101
/usr/bin/make install DIST_MANIFEST="$DIST_INSTALL"
97
/usr/bin/make install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
102
/usr/bin/make install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
98
/usr/bin/make install-lib DIST_MANIFEST="$DIST_INSTALL_LIB"
103
/usr/bin/make install-lib DIST_MANIFEST="$DIST_INSTALL_LIB"
99
mkdir $RPM_BUILD_ROOT/%{_lib}
100
LIBNAME=`/bin/ls $RPM_BUILD_ROOT/%{_libdir}/libacl.so.*.*.*`
101
mv  $RPM_BUILD_ROOT/%{_libdir}/libacl.so.*  $RPM_BUILD_ROOT/%{_lib}
102
ln -sf ../../%{_lib}/`basename $LIBNAME` $RPM_BUILD_ROOT/%{_libdir}/libacl.so
103
%find_lang %name
104
%find_lang %name
104
105
105
%clean
106
%clean
Lines 169-183 ln -sf ../../%{_lib}/`basename $LIBNAME` Link Here
169
%doc %attr(644,root,root) %{_mandir}/man3/acl_to_any_text.3.gz
170
%doc %attr(644,root,root) %{_mandir}/man3/acl_to_any_text.3.gz
170
%doc %attr(644,root,root) %{_mandir}/man3/acl_to_text.3.gz
171
%doc %attr(644,root,root) %{_mandir}/man3/acl_to_text.3.gz
171
%doc %attr(644,root,root) %{_mandir}/man3/acl_valid.3.gz
172
%doc %attr(644,root,root) %{_mandir}/man3/acl_valid.3.gz
172
%attr(0777,root,root) %{_libdir}/libacl.a
173
%attr(0777,root,root) /%{_lib}/libacl.a
173
%attr(0777,root,root) %{_libdir}/libacl.la
174
%attr(0777,root,root) /%{_lib}/libacl.la
174
%attr(0777,root,root) %{_libdir}/libacl.so
175
%attr(0777,root,root) /%{_lib}/libacl.so
175
176
176
%files -n libacl
177
%files -n libacl
177
%defattr(755,root,root,755)
178
%defattr(755,root,root,755)
178
/%{_lib}/libacl.so.1*
179
/%{_lib}/libacl.so.1*
179
180
180
%changelog -n acl
181
%changelog -n acl
182
* Mon Feb 27 2006 - nathans@sgi.com
183
- Fix symlinks in the -devel package by simplifying configure step.
181
* Wed Jan 25 2006 - mls@suse.de
184
* Wed Jan 25 2006 - mls@suse.de
182
- converted neededforbuild to BuildRequires
185
- converted neededforbuild to BuildRequires
183
* Fri Jan 13 2006 - mjancar@suse.cz
186
* Fri Jan 13 2006 - mjancar@suse.cz

Return to bug 149945