Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 976526 Details for
Bug 1178939
enet-devel is missing pkgconfig file
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
[PATCH] Ship *.pc file, cleanup spec file
0001-Ship-.pc-file-cleanup-spec-file.patch (text/plain), 2.47 KB, created by
Michal Schmidt
on 2015-01-05 17:13:53 UTC
(
hide
)
Description:
[PATCH] Ship *.pc file, cleanup spec file
Filename:
MIME Type:
Creator:
Michal Schmidt
Created:
2015-01-05 17:13:53 UTC
Size:
2.47 KB
patch
obsolete
>From 388e8403a68d34daae8b82b2ccb615fd0b91fedf Mon Sep 17 00:00:00 2001 >From: Michal Schmidt <mschmidt@redhat.com> >Date: Mon, 5 Jan 2015 18:02:36 +0100 >Subject: [PATCH] Ship *.pc file, cleanup spec file > >BuildRoot tag, buildroot cleaning, and %defattr are no longer necessary >in spec files. > >Current upstream tarball no longer has *dox files as executable. > >Simply rely on %make_install instead of manual install sequence. >Just make sure to remove the *.la file afterwards. > >Ship the pkgconfig (*.pc) file in enet-devel. >--- > enet.spec | 26 +++++++++----------------- > 1 file changed, 9 insertions(+), 17 deletions(-) > >diff --git a/enet.spec b/enet.spec >index 277884709a..6d4bd1e477 100644 >--- a/enet.spec >+++ b/enet.spec >@@ -2,13 +2,12 @@ > > Name: enet > Version: 1.3.12 >-Release: 3%{?dist} >+Release: 4%{?dist} > Summary: Thin, simple and robust network layer on top of UDP > Group: System Environment/Libraries > License: MIT > URL: http://enet.bespin.org/ > Source0: http://enet.bespin.org/download/%{name}-%{version}.tar.gz >-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > > %description > ENet is a relatively thin, simple and robust network communication layer on >@@ -30,41 +29,34 @@ developing applications that use %{name}. > > %prep > %setup -q >-find docs -name *dox -exec chmod -x '{}' \; > > %build >-%configure >+%configure --disable-static > make %{?_smp_mflags} > > %install >-rm -rf $RPM_BUILD_ROOT >-mkdir -p $RPM_BUILD_ROOT%{_libdir} >-mkdir -p $RPM_BUILD_ROOT%{_includedir}/enet >-install -p -m 644 include/enet/*.h $RPM_BUILD_ROOT%{_includedir}/enet >-find . -name lib%{name}.so* -type f -exec \ >- install -m 755 '{}' $RPM_BUILD_ROOT%{_libdir} \; >-find . -name lib%{name}.so* -type l -exec \ >- mv '{}' $RPM_BUILD_ROOT%{_libdir} \; >- >-%clean >-rm -rf $RPM_BUILD_ROOT >+%make_install >+rm %{buildroot}%{_libdir}/libenet.la > > %post -p /sbin/ldconfig > > %postun -p /sbin/ldconfig > > %files >-%defattr(-,root,root,-) > %doc ChangeLog LICENSE README > %{_libdir}/libenet.so.* > > %files devel >-%defattr(-,root,root,-) > %doc docs/*.dox > %{_includedir}/%{name} > %{_libdir}/libenet.so >+%{_libdir}/pkgconfig/libenet.pc > > %changelog >+* Mon Jan 05 2015 Michal Schmidt <mschmidt@redhat.com> - 1.3.12-4 >+- Ship pkgconfig file. >+- Spec file cleanup and modernization. >+ > * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.12-3 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild > >-- >2.1.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1178939
: 976526